Files
tradon/modules/product/view/template_form.xml
2026-03-14 09:42:12 +00:00

39 lines
1.4 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,product.product_view_tree_simple_sequence"/>
<group id="categories" colspan="2" col="2" yexpand="1" yfill="1">
<field name="categories" colspan="2" yexpand="1" yfill="1" view_ids="product.category_view_list"/>
</group>
</page>
</notebook>
</form>