Hi, I'm looking to insert the customer_note
field that gets created per product when using the point_of_sale
module for creating invoices.
My problem right now, its that the Customer Note
field gets created but not populated, the only thing i can see is empty rows where notes should be.
I'm new to odoo, so i'm not sure how to import a field from another model, please give some advice
My code:
#model
odoo>
data>
record model="ir.ui.view" id="pos_note">
field name="name">sale.order.form.list.inherit
field name="model">sale.order
field name="inherit_id" ref="sale.view_order_form"/>
field name="arch" type="xml">
xpath expr="//form/sheet/notebook/page/field/tree/field[@name='product_uom_qty']" position="after">
field name="pos_note"/>
/xpath>
/field>
/record>
/data>
/odoo>