Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1372 Widoki

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>



Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lut 21
3062
1
sie 25
893
1
lip 25
1138
3
lip 25
3943
3
maj 25
2033