4
我设法改变POS收据模板上/addons/point_of_sale/static/src/xml/pos.xml它位于内:如何将POS餐厅备注添加到POS Restaurant reciept中?
<t t-name="PosTicket">
但如何在PosTicket改变的细节?
<t t-name="PosTicket">
.....
<t t-esc="orderline.get_product().display_name"/>
???
我需要在orderline.get_product()。display_name下添加注释。我应该写什么才能显示注释?
我尝试添加
<t t-esc="orderline.get_note()" />
但似乎不工作... Anybodyknow如何解决这一问题?
PS: 我已阅读:
https://www.odoo.com/forum/help-1/question/how-to-alter-the-pos-receipt-37199
Odoo Point of Sale + Posbox : How to modify receipt
Odoo Point of Sale + Posbox : How to modify receipt
Adding notes to order items in restaurant POS