Files
tryton/view/template_form.xml
T
Cédric Krier da83caebee Remove safe_eval
We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.

issue4416
review6971002
2015-03-09 19:42:02 +01:00

22 lines
832 B
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. -->
<data>
<xpath
expr="/form/notebook/page[@id='general']/field[@name='cost_price_method']"
position="after">
<label name="purchasable"/>
<field name="purchasable"/>
</xpath>
<xpath expr="/form/notebook/page[@id='general']" position="after">
<page string="Suppliers" id="suppliers">
<label name="purchasable"/>
<field name="purchasable"/>
<label name="purchase_uom"/>
<field name="purchase_uom"/>
<field name="product_suppliers" colspan="4"
view_ids="purchase.product_supplier_view_tree_sequence"/>
</page>
</xpath>
</data>