Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
11411 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,

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


Thanks & Regards

Ankit Vaghela

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 24
1385
2
thg 12 20
3267
0
thg 3 15
4008
0
thg 3 15
5685
1
thg 3 15
4385