Use order_line_tree_view
This commit is contained in:
parent
80a72f0674
commit
e7fa7c61a2
2 changed files with 25 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
"depends": ["sale_management", "website_sale"],
|
"depends": ["sale_management", "website_sale"],
|
||||||
"data": [
|
"data": [
|
||||||
"views/sale_order_views.xml",
|
"views/sale_order_views.xml",
|
||||||
|
"views/sale_order_line_views.xml",
|
||||||
'views/templates.xml',
|
'views/templates.xml',
|
||||||
],
|
],
|
||||||
'assets': {
|
'assets': {
|
||||||
|
|
|
||||||
24
nfu_sale_product_min_max_qty/views/sale_order_line_views.xml
Normal file
24
nfu_sale_product_min_max_qty/views/sale_order_line_views.xml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<odoo>
|
||||||
|
<record id="view_order_line_tree" model="ir.ui.view">
|
||||||
|
<field name="name">sale.order.line.tree</field>
|
||||||
|
<field name="model">sale.order.line</field>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<tree string="Sales Order Lines" create="false">
|
||||||
|
<field name="order_id"/>
|
||||||
|
<field name="order_partner_id"/>
|
||||||
|
<field name="name"/>
|
||||||
|
<field name="salesman_id"/>
|
||||||
|
<field name="product_uom_qty" string="Qty"/>
|
||||||
|
<field name="product_uom_min_qty" optional="hide"/>
|
||||||
|
<field name="product_uom_max_qty"/>
|
||||||
|
<field name="qty_delivered"/>
|
||||||
|
<field name="qty_invoiced"/>
|
||||||
|
<field name="qty_to_invoice"/>
|
||||||
|
<field name="product_uom" string="Unit of Measure" groups="uom.group_uom"/>
|
||||||
|
<field name="price_subtotal" sum="Total" widget="monetary"/>
|
||||||
|
<field name="currency_id" invisible="1"/>
|
||||||
|
</tree>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</odoo>
|
||||||
Loading…
Reference in a new issue