Hello Cedk,
I think it should be possible to specify custom arguments/context in the
definition of ir.trigger itself.
For example:
The ir.trigger could have a char field for context and when the function is
called the values in context should be updated.
Suppose that the context in ir.trigger record is: '{ 'foo':'bar' }'
Then the function context in addition to the normal context values should
have {'lang':....., 'foo':'bar',.....}
[I think this is necessary if poweremail needs to do auto emailing, because
each model might have multiple templates]
Please correct me if i have missed any alternate possibility in the design.
Thanks,
On Fri, May 14, 2010 at 7:08 PM, Cédric Krier <[email protected]> wrote:
> Hi,
>
> I will start to work on trigger this W-E.
> Could you review the blueprint [1] before I start coding?
>
> Thanks.
>
> [1] http://code.google.com/p/tryton/wiki/TriggerIntegration
>
> --
> Cédric Krier
>
> B2CK SPRL
> Rue de Rotterdam, 4
> 4000 Liège
> Belgium
> Tel: +32 472 54 46 59
> Email/Jabber: [email protected]
> Website: http://www.b2ck.com/
>
--
Sharoon Thomas
Business Analyst & Open Source ERP Consultant
CEO @ http://openlabs.co.in
--
[email protected] mailing list