lims_sale: Remove price from entry sale.line views
This commit is contained in:
parent
55f67d74ac
commit
9523e2a580
|
@ -162,5 +162,16 @@
|
|||
<field name="name">sale_line_form2</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="lims_sale_line_view_form">
|
||||
<field name="model">sale.line</field>
|
||||
<field name="type">form</field>
|
||||
<field name="name">lims_sale_line_form</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="lims_sale_line_view_tree">
|
||||
<field name="model">sale.line</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="name">lims_sale_line_tree</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</tryton>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@id='general']/group[@id='trace_report']"
|
||||
position="after">
|
||||
<field name="sale_lines" colspan="4"/>
|
||||
<field name="sale_lines" colspan="4" mode="tree,form"
|
||||
view_ids="lims_sale.lims_sale_line_view_tree,lims_sale.lims_sale_line_view_form"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form cursor="product">
|
||||
<label name="sale"/>
|
||||
<field name="sale" colspan="3"/>
|
||||
<label name="type"/>
|
||||
<field name="type"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<notebook colspan="4">
|
||||
<page string="General" id="general">
|
||||
<label name="product_type"/>
|
||||
<field name="product_type"/>
|
||||
<label name="matrix"/>
|
||||
<field name="matrix"/>
|
||||
<label name="analysis"/>
|
||||
<field name="analysis"/>
|
||||
<label name="method"/>
|
||||
<field name="method"/>
|
||||
<label name="product"/>
|
||||
<field name="product"
|
||||
view_ids="sale.product_view_list_sale_line"/>
|
||||
<newline/>
|
||||
<newline/>
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
<label name="shipping_date"/>
|
||||
<field name="shipping_date"/>
|
||||
<label name="expiration_date"/>
|
||||
<field name="expiration_date"/>
|
||||
<label name="purchase_order"/>
|
||||
<field name="purchase_order"/>
|
||||
<label name="unlimited_quantity"/>
|
||||
<field name="unlimited_quantity"/>
|
||||
<group col="2" colspan="2" id="print_price">
|
||||
<label name="print_price"/>
|
||||
<field name="print_price"/>
|
||||
</group>
|
||||
<group col="2" colspan="2" id="print_service_detail">
|
||||
<label name="print_service_detail"/>
|
||||
<field name="print_service_detail"/>
|
||||
</group>
|
||||
|
||||
<separator name="description" colspan="4"/>
|
||||
<field name="description" colspan="4"/>
|
||||
</page>
|
||||
<page string="Notes" id="notes">
|
||||
<separator name="note" colspan="4"/>
|
||||
<field name="note" colspan="4"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="sale" expand="1"/>
|
||||
<field name="type"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="summary" expand="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
</tree>
|
|
@ -34,5 +34,8 @@
|
|||
<page name="services">
|
||||
<field name="services" colspan="4" mode="tree"/>
|
||||
</page>
|
||||
<page name="services">
|
||||
<field name="services" colspan="4" mode="tree"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue