İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1748 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Mar 23
1650
1
Oca 23
2583
0
Tem 22
2571
0
Eyl 20
2307
1
Şub 20
3210