Since I was working in 5.0 I have some troubles with model data synchronization for customized report every time I run trytond-admin. But it doesn’t happens always so I’m confused …
Let me explain a case:
I have a custom module where I modify the report path for delivery note report.
<record model="ir.action.report" id="stock.report_shipment_out_delivery_note"> <field name="report">mymodule/delivery_note.fodt</field> </record>
When I run trytond-admin I give the warning:
WARNING trytond.convert Field report of firstname.lastname@example.org not updated (id: report_shipment_out_delivery_note), because it has changed since the last update
After that the ir.action.report record has the initial value on field “report” (stock/delivery_note.fodt). So I fix both ir.model.data record from Administration menu and report action record.
So I run trytond-admin again and the value is unsynched again (stock/delivery_note.fodt).
What I’m doing wrong?
May I deactivate “report_shipment_out_delivery_note” report and create a new one instead of updating from xml?