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
39 lines
1.4 KiB
XML
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 string="Purchase Line" cursor="product">
|
|
<label name="purchase"/>
|
|
<field name="purchase" colspan="3"/>
|
|
<label name="type"/>
|
|
<field name="type"/>
|
|
<label name="sequence"/>
|
|
<field name="sequence"/>
|
|
<notebook colspan="4">
|
|
<page string="General" id="general">
|
|
<label name="product"/>
|
|
<field name="product"
|
|
view_ids="purchase.product_view_list_purchase_line"/>
|
|
<newline/>
|
|
<label name="description"/>
|
|
<field name="description" colspan="3" yexpand="0"/>
|
|
<label name="quantity"/>
|
|
<field name="quantity"/>
|
|
<label name="unit"/>
|
|
<field name="unit"/>
|
|
<label name="unit_price"/>
|
|
<field name="unit_price"/>
|
|
<label name="amount"/>
|
|
<field name="amount"/>
|
|
<label name="delivery_date"/>
|
|
<field name="delivery_date"/>
|
|
</page>
|
|
<page string="Taxes" id="taxes">
|
|
<field name="taxes" colspan="4"/>
|
|
</page>
|
|
<page string="Notes" id="notes">
|
|
<separator name="note" colspan="4"/>
|
|
<field name="note" colspan="4"/>
|
|
</page>
|
|
</notebook>
|
|
</form>
|