Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
4527 Näkymät

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

Avatar
Hylkää

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?

Paras vastaus

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>


Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
syysk. 24
3212
2
syysk. 15
4640
4
jouluk. 23
3786
2
lokak. 23
1556
0
maalisk. 15
4856