first commit
This commit is contained in:
9
modules/sale_shipment_cost/view/configuration_form.xml
Normal file
9
modules/sale_shipment_cost/view/configuration_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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/field[@name='sale_shipment_method']" position="after">
|
||||
<label name="sale_shipment_cost_method"/>
|
||||
<field name="sale_shipment_cost_method"/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/sale_shipment_cost/view/party_form.xml
Normal file
9
modules/sale_shipment_cost/view/party_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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='sale']" position="inside">
|
||||
<label name="sale_shipment_cost_method"/>
|
||||
<field name="sale_shipment_cost_method"/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/sale_shipment_cost/view/promotion_form.xml
Normal file
9
modules/sale_shipment_cost/view/promotion_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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="//group[@id='amount']" position="inside">
|
||||
<label name="amount_shipment_cost_included" string="Shipment Cost Included"/>
|
||||
<field name="amount_shipment_cost_included"/>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/sale_shipment_cost/view/sale_form.xml
Normal file
15
modules/sale_shipment_cost/view/sale_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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="//field[@name='shipping_date']" position="after">
|
||||
<label name="carrier"/>
|
||||
<field name="carrier"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/notebook/page[@id='other']/field[@name='shipment_method']"
|
||||
position="after">
|
||||
<label name="shipment_cost_method"/>
|
||||
<field name="shipment_cost_method"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?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="/tree" position="inside">
|
||||
<field name="shipment_cost" tree_invisible="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
12
modules/sale_shipment_cost/view/shipment_out_form.xml
Normal file
12
modules/sale_shipment_cost/view/shipment_out_form.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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="//group[@id='cost_used']" position="after">
|
||||
<label name="cost_sale_used"/>
|
||||
<group id="cost_sale_used" col="-1" colspan="3">
|
||||
<field name="cost_sale_used" xexpand="0"/>
|
||||
<field name="cost_sale_currency_used"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user