Files
tryton/view/template_form.xml
T
Cédric Krier c46798faac Add code to template as variant prefix code
The product code is stored as the concatenation of the template code and
variant suffix code each time the template or the product is modified.

issue9080
review293101002
2020-03-19 00:28:43 +01:00

38 lines
1.3 KiB
XML

<?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 col="6">
<label name="name"/>
<field name="name" xexpand="1"/>
<label name="code"/>
<field name="code"/>
<label name="active"/>
<field name="active" xexpand="0" width="100"/>
<notebook colspan="6">
<page string="General" id="general">
<label name="type"/>
<field name="type"/>
<group colspan="2" col="-1" id="checkboxes">
<label name="consumable"/>
<field name="consumable" xexpand="0" width="25"/>
</group>
<label name="default_uom"/>
<field name="default_uom" />
<newline/>
<label name="list_price"/>
<field name="list_price"/>
<newline/>
<label name="cost_price"/>
<field name="cost_price"/>
<label name="cost_price_method"/>
<field name="cost_price_method"/>
<newline/>
<field name="products" mode="form,tree" colspan="2"
view_ids="product.product_view_form_simple"/>
<field name="categories" colspan="2"
view_ids="product.category_view_list"/>
</page>
</notebook>
</form>