Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 99 total)
  • Author
    Replies
  • in reply to: Completely remove Accounts Bundle From Crm #29090

    jakabadambalazs
    Participant

    I’ll try to be more precise:
    I’ve read here Understanding Accounts, Channels, and Customers and I suppose this is a really carefully thought out and flexible structure to be able to represent complex situations.
    However, in my case, this is over complicated.

    I am not interested in multiple channels so I just create one ‘Default’ custom type channel with entities: Customer Identity, Lead, Opportunity.

    I start off from a lead called ‘Franco’.
    If I want to open an opportunity for this lead – I must add an ‘Account’ (I call it ‘Franco Ltd’).
    But really, I end up with the opportunity related to a b2bcustomer entity called ‘Franco Ltd’ which is related to an the Account ‘Franco Ltd’.

    But to be honest I do not want to have neither the Account nor the b2bcustomer entity type.

    I’d like to have an opportunity connected to my lead directly (which is now not possible but maybe just needs custom field) and when I close my opportunity as “Won!” convert my lead to Contact and relate the new contacty to the Opportunity (workflow stuff?).

    That’s it – skip account and customer stuff all together.

    Do you think I can achieve this without dismantling the entire application?

    I have a feeling the thing is with the ‘Customer Identity’ object automatically added to my custom type channel – would the way to go be to create a different type for channels with something like B2CCustomer?

    Thanks


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Migration Dump #33495

    jakabadambalazs
    Participant

    hi @topp,

    1) well you’re right and wrong – the installer should reflect the totality of all the migrations.
    So if you make 2 migrations for your bundle
    v0.1 – add column
    v0.2 – remove column
    Then you are right – your installer in v0.2 would not have the ->addColumn() statement

    if in v0.3 you realize that the column was really cool and you add it back, you’d add the

    in both the installer and the v0.3 migration class

    The way you should look at the installer class that it should represent the current state of your scheme while the migration classes need to reflect the changes made to the scheme since the last migrations.

    This way for first installs (v.0.3) you do not add+remove+readd the column but execute the installer and add it. If you upgrade, depending on what version you are on, Oro Platform will work out which migrations are needed to get to the current state.

    2) yes there is – check here: https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/MigrationBundle/README.md
    – read on oro:migration:dump


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: User specific SMTP settings for sending mail #33867

    jakabadambalazs
    Participant

    eeehm, maybe I spoke too fast.

    If I wanted to use the “service configurator” method I’d need to:
    1) create a configurator service(@my_configurator) with a ‘configure’ method on it which would configure the DirectMail service.
    2) modify the ‘oro_email.direct_mailer’ service definition and add ‘configurator: [“@my_configurator”, configure]’

    what I don’t understand is:
    1) I’d need to change the $baseMailer protected variable inside DirectMailer which doesn’t expose a setter method for that so my configure method would not have access to that

    2) even if there was a setter method for $baseMailer, the DirectMailer class extends \SwiftMailer class and it gets constructed with the $transport type based on the $baseMailer (findRealTransport()). I guess that the configuration can take place only after the class was constructed. but \SwiftMailer, one constructed does not allow changing transport type.

    am I getting this right?
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: User specific SMTP settings for sending mail #33866

    jakabadambalazs
    Participant

    Hi @krlove,

    Thanks, I think I’ll go by the service configurator way – I didn’t know about this!
    Even the example on the symfony documentation is close to what I am trying to do ;)

    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: unable to send the email #26054

    jakabadambalazs
    Participant

    ;) – did you maybe write `mailer_encryption: SSL` instead of `mailer_encryption: ssl`??? (note case!)


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Custom entity on Calendar #35918

    jakabadambalazs
    Participant

    Full On!!!
    I have postponed this for a long time thinking that it might be something quite difficult and needed a lot of time. This afternoon I got around to do this and it took me less than an hour to have a custom event-like entity on the calendar! …and it’s not because I am too cool but because your platform is brilliant! Thanks guys!
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Datagrid show joined records #35967

    jakabadambalazs
    Participant

    I have actually managed to make this work by using the GROUP_CONCAT function:

    it works ok – I did not have time to check on performance
    a\


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Datagrid with associated tags #33544

    jakabadambalazs
    Participant

    Yes, it does work on platform 1.6.2 – just use it in your select definition something like this:


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Datagrid show joined records #35965

    jakabadambalazs
    Participant

    Hi @fehrudi,

    Thanks, that works but it returns only the first user’s full name – not all of them


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: persistent datagrid filters #35955

    jakabadambalazs
    Participant

    WOW! This is great news! Thanks!
    Approximately, when is 1.7 being released?


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Datagrid source based on entity repo? #35945

    jakabadambalazs
    Participant

    Sweet! Thanks! This is what I was looking for!


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Invalid ACL mask "(SADECV) … #35496

    jakabadambalazs
    Participant

    Hi @yurio,

    Thanks! I’ll try do do the same!


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Datagrid source based on entity repo? #35942

    jakabadambalazs
    Participant

    Hi @yurio,

    thanks I tried “order_by”, “order” .. and probably some other stuff but I didn’t think about “OrderBy”.

    Probably this will do – my use case is that I want to order Tasks by mixing two fields: priority (1-3) and Due Date to give me an indicator of “urgency” – the thing is that I cannot order by columns as you are showing above because ordering is sequential and it would not give me the same result.

    But probably I need to craft a calculated field resulting in a numeric “urgency” indicator first and then do ordering by that.

    But I am still interested – is there a way to create a “dynamic” datagrid from php without using yml?


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Crowdin – integrate translations from another project #35935

    jakabadambalazs
    Participant

    Yes, this is what I have been doing up until now but it is a temporary solution and very difficult to maintain. I think I’ll go with the proxy server solution.


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

    in reply to: Can one use parts of OroCRM in other application? #29759

    jakabadambalazs
    Participant

    Hi @Soroka,

    Thanks for the answer – would you be so kind to be a bit more specific?

    Apart from matching the OSL license in the application that will use source code from another OSL licensed application (and give credit somewhere in the application for the used code) – is there anything else I need to do to be compliant with the OSL-3.0 license?


    oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)

Viewing 15 replies - 1 through 15 (of 99 total)

You will be redirected to [title]. Would you like to continue?

Yes No