Hi all,

I'm working on this custom module for generating reminders on overdue
payments of invoices.

All is fine. Just one thing bothers me. When I generate the report, I
want to store the last-sent reminder on the party.

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?

[1]
http://git.subdir.eu/paul/trytond_account_invoice_reminder/tree/report.py#n136

-- 
________________________________________________________________
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

Reply via email to