← Back to team overview

openerp-connector-community team mailing list archive

Re: Data passed to event subscribers.

 

Hi, passing a dictionary can be an interestingg feature for us too.
My team is actually working on using job for importing data from csv file
(We use the native OpenERP wizard for importing but we overwrite the load
function in order to create one job per line. So if one line is incorrect
than only one job fail). I did a first prototype yesterday and it's look
promising ;)

If possible it will be great if we can store this dictionary in a
serialized field on the job instead of keeping it in the function. Indeed
the final aim in my case will be to edit directly the contain of the line
from the job with a json widget and them to requeue the job when you have
fixed the data. What do you think?

See you




2013/9/27 Guewen Baconnier <guewen.baconnier@xxxxxxxxxxxxxx>

> On 09/27/2013 11:39 AM, Mignon, Laurent wrote:
>
>> Thanks for the answer
>> ...
>>
>>   - subscribing a consumer doing other things than creating a job
>>   - creating a job or another depending on the values
>> ...
>> These are use cases for me. To solve these use cases I've created 2 new
>> events and their producers but it would be nice if this is natively
>> supported.
>>
>>
>
> Yes, I think so. Would you have some time to propose a MP?
> We'll need to adapt the connectors using the events as well. (I can do it
> for the Magento connector if you want).
>
>
> --
> Guewen Baconnier
> Business Solutions Software Developer
>
> Camptocamp SA
> PSE A, CH-1015 Lausanne
> Phone: +41 21 619 10 39
> Office: +41 21 619 10 10
> http://www.camptocamp.com/
>
> --
> Mailing list: https://launchpad.net/~**openerp-connector-community<https://launchpad.net/~openerp-connector-community>
> Post to     : openerp-connector-community@**lists.launchpad.net<openerp-connector-community@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~**openerp-connector-community<https://launchpad.net/~openerp-connector-community>
> More help   : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>



-- 

BEAU Sébastien
MagentoERPconnect Project Manager at Akretion
twitter : seb_beau
skype : sebastien_beau
www.akretion.com
http://launchpad.net/magentoerpconnect

Follow ups

References