Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1751 Ansichten

I have modified my odoo report_delivery_document from the odoo interface but when the delivery stock.pick state changes to done, it start printing  the default delivery slip as if i didn't modify it.

Avatar
Verwerfen
Beste Antwort

Hi,
You can check for the usage of if conditions in the report template, you may have missed to modify some section. Like what i can say, if there is an if and else condition, you may have modified the if condition which executes in non done state and you are getting new layout when record is in draft.

Things to do:

* read full view architecture
* see if there is a usage if else and ensure you have modified in both conditions.

Thanks

Avatar
Verwerfen
Autor

Yes i have seen it, and fixed it thank you for your response, there was a condition t-if="o.state !='done'" that i have missed

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
März 23
1651
1
Jan. 23
2585
0
Juli 22
2571
0
Sept. 20
2307
1
Feb. 20
3213