Files
tryton/view/template_form.xml
T
2017-01-07 16:49:42 +01:00

36 lines
1.2 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="active"/>
<field name="active" xexpand="0" width="100"/>
<newline/>
<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>