[IMP] product form
bzr revid: fp@tinyerp.com-20120831145017-xu8y4oz7t6buua3h
This commit is contained in:
parent
beb8a590e5
commit
5110f42c09
|
@ -108,29 +108,34 @@
|
|||
<field name="procure_method" groups="base.group_user" attrs="{'invisible':[('type','=', 'service')]}"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="uom_po_id"/>
|
||||
|
||||
<field name="uom_po_id" groups="product.group_uom"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<label for="description_purchase"/>
|
||||
<separator string="Notes for Suppliers"/>
|
||||
<field name="description_purchase" placeholder="This note will be displayed on requests for quotation..."/>
|
||||
</page>
|
||||
<page string="Inventory" groups="base.group_user">
|
||||
<group name="inventory">
|
||||
<group name="status" string="Status">
|
||||
<field name="state"/>
|
||||
<field name="product_manager"/>
|
||||
</group>
|
||||
<group groups="product.group_stock_packaging" string="Weights">
|
||||
<field digits="(14, 3)" name="volume" attrs="{'readonly':[('type','=','service')]}"/>
|
||||
<field name="weight" attrs="{'readonly':[('type','=','service')]}"/>
|
||||
<field name="weight_net" attrs="{'readonly':[('type','=','service')]}"/>
|
||||
</group>
|
||||
<group name="status" string="Status">
|
||||
<field name="state"/>
|
||||
<field name="product_manager"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Sales">
|
||||
<page string="Sales" attrs="{'readonly':[('sale_ok','=',0)]}">
|
||||
<group>
|
||||
<group>
|
||||
<label for="sale_delay"/>
|
||||
<div>
|
||||
<field name="sale_delay"/> days
|
||||
</div>
|
||||
<field name="warranty"/>
|
||||
</group>
|
||||
<group groups="product.group_uom">
|
||||
<field name="uos_id"/>
|
||||
<field name="uos_coeff"/>
|
||||
|
@ -159,7 +164,7 @@
|
|||
<field name="name"/>
|
||||
</form>
|
||||
</field>
|
||||
<label for="description_sale"/>
|
||||
<separator string="Notes on Quotations"/>
|
||||
<field name="description_sale" placeholder="This note will be displayed on quotations..."/>
|
||||
</page>
|
||||
</notebook>
|
||||
|
|
|
@ -563,7 +563,7 @@
|
|||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<group name="procurement" position="after">
|
||||
<label for="seller_ids"/>
|
||||
<separator string="Suppliers"/>
|
||||
<field name="seller_ids" context="{'uom_id': uom_id}"/>
|
||||
</group>
|
||||
</field>
|
||||
|
|
|
@ -58,11 +58,13 @@
|
|||
<field name="arch" type="xml">
|
||||
<group name="procurement" position="inside">
|
||||
<group name="delay" string="Delays">
|
||||
<field name="sale_delay" attrs="{'readonly':[('sale_ok','=',0)]}"/>
|
||||
<field name="active"/>
|
||||
<field name="produce_delay" attrs="{'invisible':[('type','=','service')]}"/>
|
||||
<field name="sale_delay" attrs="{'readonly':[('sale_ok','=',0)]}"/>
|
||||
<field name="warranty"/>
|
||||
</group>
|
||||
<group name="store" string="Storage Localisation">
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
<field name="loc_rack" attrs="{'readonly':[('type','=','service')]}"/>
|
||||
<field name="loc_row" attrs="{'readonly':[('type','=','service')]}"/>
|
||||
<field name="loc_case" attrs="{'readonly':[('type','=','service')]}"/>
|
||||
|
@ -72,10 +74,6 @@
|
|||
<field name="property_stock_production" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','production')]"/>
|
||||
<field name="property_stock_inventory" attrs="{'readonly':[('type','=','service')]}" domain="[('usage','=','inventory')]"/>
|
||||
</group>
|
||||
<group name="misc" string="Miscellaneous">
|
||||
<field name="active"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
</group>
|
||||
</group>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue