İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
11434 Görünümler

Odoo 13: after confirming a sale data, I want to print the delivary slip; but I want to customize the print to have all customer fields in the pdf now it only has address and customer user. what should I do? Im new to odoo by the way.

Avatar
Vazgeç
En İyi Yanıt

Hello,

you need to inherit layout template of delivery order print(qweb) and customise related to your requirements.


Thanks & Regards

Ankit Vaghela

Avatar
Vazgeç
En İyi Yanıt

Hi,
You can inherit the template report_delivery_document for customizing the delivery slip.
For eg:

<template id="report_delivery_document_inherit" inherit_id="stock.report_delivery_document">
<--xpath and add required fields-->
</template>

Regards

Avatar
Vazgeç
En İyi Yanıt

Hi,

You have to inherit the corresponding report template and make necessary changes, if you are using odoo enterprise you can do it using the studio, else, you can create a module which inherits this template and make required changes.


See: How To Inherit And Modify Existing PDF Reports in Odoo


Thanks

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ağu 24
1386
2
Ara 20
3270
0
Mar 15
4018
0
Mar 15
5694
1
Mar 15
4387