On 09-08-11 21:01, Cédric Krier wrote:
>> I'm using the same pattern used in account_invoice/invoice.py [1]
>> and I do see the UPDATE query going out to the database. But then, a
>> ROLLBACK is issued. So what gives? Do I need to wrap this in a
>> transaction? Can I prevent the ROLLBACK?
>
> The value if the _rpc dictionary corresponding of your call must be True.
> See
> http://doc.tryton.org/2.0/trytond/doc/ref/models/models.html#trytond.model.Model._rpc
That's it! Thanks.
--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
* Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/[email protected]/+31.85.877.99.97
________________________________________________________________
--
[email protected] mailing list