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

after adding note in the delivery slip, it does not show while printing 

Ảnh đại diện
Huỷ bỏ

The note is only printed on the Picking operation but not on the delivery slip.
Did you find a solution to print on the Delivery slip?

Câu trả lời hay nhất

Hi Adamu,

I had the same request from our client and answer from Cybrosys  was not working - here is my code modified (working on v15):

< template id="report_delivery_document_inherit_custom_module" inherit_id="stock.report_delivery_document">
< xpath expr="//div[@name='signature']" position="after">
< p t-esc="o.sale_id.note"/>
< /xpath>
< /template>


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

Hi,
You can add note in delivery slip by inheriting the delivery slip template like below.

< template id="report_delivery_document_inherit_custom_module" inherit_id="stock.report_delivery_document">
< xpath expr="//div[@name='signature']" position="after">
< p t-field="o.note"/>
< /xpath>
< /template>

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 24
3115
2
thg 9 15
4574
4
thg 12 23
3669
2
thg 10 23
1499
0
thg 3 15
4787