Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1343 Vistas

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
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
feb 21
3008
1
ago 25
815
1
jul 25
1076
3
jul 25
3657
3
may 25
1932