first commit
This commit is contained in:
18
modules/stock_package_shipping_ups/view/carrier_form.xml
Normal file
18
modules/stock_package_shipping_ups/view/carrier_form.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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='shipping_service']" position="after">
|
||||
<separator string="UPS" colspan="4" id="ups"/>
|
||||
<label name="ups_service_type"/>
|
||||
<field name="ups_service_type"/>
|
||||
<newline/>
|
||||
<label name="ups_label_image_format"/>
|
||||
<field name="ups_label_image_format"/>
|
||||
<label name="ups_label_height"/>
|
||||
<field name="ups_label_height"/>
|
||||
|
||||
<label name="ups_notifications"/>
|
||||
<field name="ups_notifications" colspan="3"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?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='tax_identifier']" position="after">
|
||||
<label name="ups_account_number"/>
|
||||
<field name="ups_account_number"/>
|
||||
<newline/>
|
||||
</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="//field[@name='tax_identifier']" position="after">
|
||||
<field name="ups_account_number" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?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" position="inside">
|
||||
<page id="ups" string="UPS">
|
||||
<label name="ups_code"/>
|
||||
<field name="ups_code"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/stock_package_shipping_ups/view/product_uom_form.xml
Normal file
10
modules/stock_package_shipping_ups/view/product_uom_form.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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='digits']" position="after">
|
||||
<label name="ups_code"/>
|
||||
<field name="ups_code"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?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 cursor="server">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
|
||||
<label name="account_number"/>
|
||||
<field name="account_number"/>
|
||||
<label name="server"/>
|
||||
<field name="server"/>
|
||||
|
||||
<label name="use_metric"/>
|
||||
<field name="use_metric"/>
|
||||
<label name="use_international_forms"/>
|
||||
<field name="use_international_forms"/>
|
||||
|
||||
<separator string="Credential Information" colspan="4" id="credential_info"/>
|
||||
<label name="client_id"/>
|
||||
<field name="client_id" widget="password"/>
|
||||
<label name="client_secret"/>
|
||||
<field name="client_secret" widget="password"/>
|
||||
</form>
|
||||
@@ -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. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="company" expand="1"/>
|
||||
<field name="account_number" expand="2"/>
|
||||
<field name="server"/>
|
||||
</tree>
|
||||
Reference in New Issue
Block a user