Skip to Content
Menu
This question has been flagged
1 Reply
1577 Views

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
Discard
Best Answer

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
Discard
Author

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

Related Posts Replies Views Activity
2
Mar 23
1505
1
Jan 23
2410
0
Jul 22
2351
0
Sep 20
2067
1
Feb 20
3044