تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1761 أدوات العرض

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
مارس 23
1653
1
يناير 23
2588
0
يوليو 22
2572
0
سبتمبر 20
2308
1
فبراير 20
3216