Skip to Content
Menu
This question has been flagged
2 Replies
1352 Views

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>



Avatar
Discard
Author Best Answer

I think you misunderstand my question, the problem is not about showing the field, but populating it with values, currently under customer_note​ i cannot see any of the values defined per product inside the point_of_sale​ module

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 21
3024
1
Aug 25
854
1
Jul 25
1090
3
Jul 25
3714
3
May 25
1957