跳至內容
選單
此問題已被標幟
1 回覆
1756 瀏覽次數

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.

頭像
捨棄
最佳答案

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

頭像
捨棄
作者

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

相關帖文 回覆 瀏覽次數 活動
2
3月 23
1652
1
1月 23
2587
0
7月 22
2572
0
9月 20
2307
1
2月 20
3213