first commit
This commit is contained in:
12
modules/purchase/view/configuration_form.xml
Normal file
12
modules/purchase/view/configuration_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. -->
|
||||
<form>
|
||||
<label name="purchase_sequence"/>
|
||||
<field name="purchase_sequence"/>
|
||||
<label name="purchase_invoice_method" />
|
||||
<field name="purchase_invoice_method" />
|
||||
<newline/>
|
||||
<label name="purchase_process_after"/>
|
||||
<field name="purchase_process_after"/>
|
||||
</form>
|
||||
10
modules/purchase/view/handle_invoice_exception_ask_form.xml
Normal file
10
modules/purchase/view/handle_invoice_exception_ask_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. -->
|
||||
<form>
|
||||
<image name="tryton-question" xexpand="0" xfill="0"/>
|
||||
<label string="Choose cancelled invoices to ignore or recreate:" id="choose" yalign="0.5" xalign="0.0" xexpand="1" colspan="3"/>
|
||||
|
||||
<field name="ignore_invoices" colspan="2"/>
|
||||
<field name="recreate_invoices" colspan="2"/>
|
||||
</form>
|
||||
10
modules/purchase/view/handle_shipment_exception_ask_form.xml
Normal file
10
modules/purchase/view/handle_shipment_exception_ask_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. -->
|
||||
<form>
|
||||
<image name="tryton-question" xexpand="0" xfill="0"/>
|
||||
<label string="Choose cancelled stock moves to ignore or recreate:" id="choose" yalign="0.5" xalign="0.0" xexpand="1" colspan="3"/>
|
||||
|
||||
<field name="ignore_moves" colspan="2" view_ids="stock.move_view_tree_simple"/>
|
||||
<field name="recreate_moves" colspan="2" view_ids="stock.move_view_tree_simple"/>
|
||||
</form>
|
||||
9
modules/purchase/view/location_form.xml
Normal file
9
modules/purchase/view/location_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='input_location']" position="after">
|
||||
<label name="supplier_return_location"/>
|
||||
<field name="supplier_return_location"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/purchase/view/modify_header_form.xml
Normal file
8
modules/purchase/view/modify_header_form.xml
Normal file
@@ -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='lines']" position="replace_attributes">
|
||||
<field name="lines" invisible="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
13
modules/purchase/view/move_list_shipment.xml
Normal file
13
modules/purchase/view/move_list_shipment.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="from_location" expand="1"/>
|
||||
<field name="to_location" expand="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="state"/>
|
||||
<field name="purchase_exception_state"/>
|
||||
<button name="cancel" multiple="1"/>
|
||||
<button name="draft" multiple="1"/>
|
||||
</tree>
|
||||
8
modules/purchase/view/move_list_shipment_in.xml
Normal file
8
modules/purchase/view/move_list_shipment_in.xml
Normal file
@@ -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='shipment']" position="after">
|
||||
<field name="purchase" expand="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
21
modules/purchase/view/party_form.xml
Normal file
21
modules/purchase/view/party_form.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?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='links']" position="inside">
|
||||
<link icon="tryton-purchase" name="purchase.act_purchase_relate" empty="hide"/>
|
||||
<link icon="tryton-purchase" name="purchase.act_purchase_line_relate" empty="hide"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook/page[@id='general']" position="after">
|
||||
<page string="Supplier" id="supplier">
|
||||
<label name="customer_code"/>
|
||||
<field name="customer_code"/>
|
||||
<newline/>
|
||||
|
||||
<label name="supplier_lead_time"/>
|
||||
<field name="supplier_lead_time"/>
|
||||
<label name="supplier_currency"/>
|
||||
<field name="supplier_currency"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
13
modules/purchase/view/product_list_purchase_line.xml
Normal file
13
modules/purchase/view/product_list_purchase_line.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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>
|
||||
<field name="code"/>
|
||||
<field name="name"/>
|
||||
<field name="purchase_price_uom"/>
|
||||
<field name="cost_price_uom"/>
|
||||
<field name="list_price_uom"/>
|
||||
<field name="quantity"/>
|
||||
<field name="forecast_quantity"/>
|
||||
<field name="default_uom"/>
|
||||
</tree>
|
||||
33
modules/purchase/view/product_supplier_form.xml
Normal file
33
modules/purchase/view/product_supplier_form.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?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="party">
|
||||
<label name="template"/>
|
||||
<field name="template" colspan="3"/>
|
||||
<label name="product"/>
|
||||
<field name="product" colspan="3"/>
|
||||
|
||||
<label name="company"/>
|
||||
<field name="company" colspan="3"/>
|
||||
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<group id="sequence-active" col="-1" colspan="2">
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
</group>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="code"/>
|
||||
<field name="code"/>
|
||||
<label name="lead_time"/>
|
||||
<field name="lead_time"/>
|
||||
<newline/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
<field name="prices" colspan="4"
|
||||
view_ids="purchase.product_supplier_price_view_list_sequence"/>
|
||||
<field name="unit" colspan="4" invisible="1"/>
|
||||
</form>
|
||||
14
modules/purchase/view/product_supplier_price_form.xml
Normal file
14
modules/purchase/view/product_supplier_price_form.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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>
|
||||
<label name="product_supplier"/>
|
||||
<field name="product_supplier"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
|
||||
<label name="quantity"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<label name="unit_price"/>
|
||||
<field name="unit_price"/>
|
||||
</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" editable="1">
|
||||
<field name="product_supplier" expand="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price" expand="1"/>
|
||||
</tree>
|
||||
8
modules/purchase/view/product_supplier_price_tree.xml
Normal file
8
modules/purchase/view/product_supplier_price_tree.xml
Normal file
@@ -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>
|
||||
<field name="product_supplier" expand="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price"/>
|
||||
</tree>
|
||||
11
modules/purchase/view/product_supplier_tree.xml
Normal file
11
modules/purchase/view/product_supplier_tree.xml
Normal file
@@ -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. -->
|
||||
<tree>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="template" expand="2"/>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="code" expand="1"/>
|
||||
</tree>
|
||||
11
modules/purchase/view/product_supplier_tree_sequence.xml
Normal file
11
modules/purchase/view/product_supplier_tree_sequence.xml
Normal file
@@ -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. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="template" expand="2"/>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="code" expand="1"/>
|
||||
</tree>
|
||||
92
modules/purchase/view/purchase_form.xml
Normal file
92
modules/purchase/view/purchase_form.xml
Normal file
@@ -0,0 +1,92 @@
|
||||
<?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="party"/>
|
||||
<field name="party"/>
|
||||
<label name="contact"/>
|
||||
<field name="contact"/>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
<label name="invoice_party"/>
|
||||
<field name="invoice_party"/>
|
||||
<label name="invoice_address"/>
|
||||
<field name="invoice_address" colspan="3"/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
<label name="reference"/>
|
||||
<field name="reference"/>
|
||||
<notebook colspan="6">
|
||||
<page string="Purchase" id="purchase" col="6">
|
||||
<label name="purchase_date"/>
|
||||
<field name="purchase_date"/>
|
||||
<label name="payment_term"/>
|
||||
<field name="payment_term"/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
|
||||
<label name="warehouse"/>
|
||||
<field name="warehouse"/>
|
||||
<label name="delivery_date"/>
|
||||
<field name="delivery_date"/>
|
||||
<label name="quotation_expire"/>
|
||||
<field name="quotation_expire"/>
|
||||
|
||||
<field name="lines" colspan="6" view_ids="purchase.purchase_line_view_tree_sequence"/>
|
||||
<group col="2" colspan="3" id="states" yfill="1">
|
||||
<label name="invoice_state"/>
|
||||
<field name="invoice_state"/>
|
||||
<label name="shipment_state"/>
|
||||
<field name="shipment_state"/>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
</group>
|
||||
<group col="2" colspan="3" id="amount" yfill="1">
|
||||
<label name="untaxed_amount" xalign="1.0" xexpand="1" xfill="0"/>
|
||||
<field name="untaxed_amount" xalign="1.0" xexpand="0"/>
|
||||
<label name="tax_amount" xalign="1.0" xexpand="1" xfill="0"/>
|
||||
<field name="tax_amount" xalign="1.0" xexpand="0"/>
|
||||
<label name="total_amount" xalign="1.0" xexpand="1" xfill="0"/>
|
||||
<field name="total_amount" xalign="1.0" xexpand="0"/>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Other Info" id="info">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="origin"/>
|
||||
<field name="origin"/>
|
||||
|
||||
<label name="invoice_method"/>
|
||||
<field name="invoice_method"/>
|
||||
<newline/>
|
||||
|
||||
<label name="quoted_by"/>
|
||||
<field name="quoted_by"/>
|
||||
<label name="confirmed_by"/>
|
||||
<field name="confirmed_by"/>
|
||||
<separator name="comment" colspan="4"/>
|
||||
<field name="comment" colspan="4"/>
|
||||
</page>
|
||||
<page name="invoices_ignored" col="1">
|
||||
<field name="invoices_ignored"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<group id="links" col="-1" colspan="3">
|
||||
<link icon="tryton-shipment-in" name="purchase.act_shipment_form"/>
|
||||
<link icon="tryton-account" name="purchase.act_invoice_form"/>
|
||||
<link icon="tryton-shipment-out" name="purchase.act_return_form"/>
|
||||
</group>
|
||||
<group col="-1" colspan="3" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft"/>
|
||||
<button name="modify_header" icon="tryton-launch"/>
|
||||
<button name="quote" icon="tryton-forward"/>
|
||||
<button name="handle_invoice_exception" icon="tryton-forward"/>
|
||||
<button name="handle_shipment_exception" icon="tryton-forward"/>
|
||||
<button name="confirm" icon="tryton-ok"/>
|
||||
<button name="process"/>
|
||||
<button name="manual_invoice" icon="tryton-forward"/>
|
||||
</group>
|
||||
<field name="party_lang" invisible="1" colspan="6"/>
|
||||
</form>
|
||||
49
modules/purchase/view/purchase_line_form.xml
Normal file
49
modules/purchase/view/purchase_line_form.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?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="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"/>
|
||||
<label name="product_supplier"/>
|
||||
<field name="product_supplier"/>
|
||||
<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 id="delivery_date" string="Delivery Date:"/>
|
||||
<group id="delivery_date" col="-1">
|
||||
<field name="delivery_date" xexpand="0"/>
|
||||
<field name="delivery_date_edit" xexpand="0" xalign="0"/>
|
||||
</group>
|
||||
<separator name="description" colspan="4"/>
|
||||
<field name="description" colspan="4"/>
|
||||
</page>
|
||||
<page string="Taxes" id="taxes">
|
||||
<field name="taxes" colspan="4"/>
|
||||
</page>
|
||||
<page name="moves" col="1">
|
||||
<field name="moves"/>
|
||||
<field name="moves_ignored"/>
|
||||
</page>
|
||||
<page name="invoice_lines" col="1">
|
||||
<field name="invoice_lines"/>
|
||||
</page>
|
||||
<page string="Notes" id="notes">
|
||||
<separator name="note" colspan="4"/>
|
||||
<field name="note" colspan="4"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
19
modules/purchase/view/purchase_line_tree.xml
Normal file
19
modules/purchase/view/purchase_line_tree.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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>
|
||||
<field name="purchase" expand="1"/>
|
||||
<field name="supplier" expand="1" optional="0"/>
|
||||
<field name="purchase_date" optional="1"/>
|
||||
<field name="type" optional="1"/>
|
||||
<field name="product" expand="1" optional="0"/>
|
||||
<field name="product_supplier" expand="1" optional="1"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="actual_quantity" symbol="unit" optional="0"/>
|
||||
<field name="quantity" symbol="unit" optional="0"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="amount"/>
|
||||
<field name="moves_progress" string="Shipping" widget="progressbar" optional="1"/>
|
||||
<field name="invoice_progress" string="Invoicing" widget="progressbar" optional="1"/>
|
||||
<field name="purchase_state"/>
|
||||
</tree>
|
||||
14
modules/purchase/view/purchase_line_tree_sequence.xml
Normal file
14
modules/purchase/view/purchase_line_tree_sequence.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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="purchase" expand="1"/>
|
||||
<field name="type" optional="1"/>
|
||||
<field name="product" expand="1" optional="0"/>
|
||||
<field name="product_supplier" expand="1" optional="1"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="taxes" optional="0"/>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
17
modules/purchase/view/purchase_reporting_context_form.xml
Normal file
17
modules/purchase/view/purchase_reporting_context_form.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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>
|
||||
<group id="dates" colspan="2" col="4">
|
||||
<label name="from_date"/>
|
||||
<field name="from_date"/>
|
||||
<label name="to_date"/>
|
||||
<field name="to_date"/>
|
||||
</group>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="warehouse"/>
|
||||
<field name="warehouse"/>
|
||||
</form>
|
||||
@@ -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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="id"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="expense"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="id"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="number"/>
|
||||
</y>
|
||||
</graph>
|
||||
8
modules/purchase/view/purchase_reporting_main_list.xml
Normal file
8
modules/purchase/view/purchase_reporting_main_list.xml
Normal file
@@ -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 keyword_open="1">
|
||||
<field name="number" sum="1"/>
|
||||
<field name="expense"/>
|
||||
<field name="expense_trend" expand="1"/>
|
||||
</tree>
|
||||
@@ -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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="date"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="expense"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -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. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="date"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="number"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -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>
|
||||
<field name="date"/>
|
||||
<field name="number" sum="1"/>
|
||||
<field name="expense"/>
|
||||
</tree>
|
||||
@@ -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="//x/field[@name='id']" position="replace">
|
||||
<field name="product"/>
|
||||
</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="//x/field[@name='id']" position="replace">
|
||||
<field name="product"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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="//field[@name='number']" position="before">
|
||||
<field name="product" expand="1"/>
|
||||
<field name="product_supplier" expand="1"/>
|
||||
</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="//x/field[@name='id']" position="replace">
|
||||
<field name="supplier"/>
|
||||
</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="//x/field[@name='id']" position="replace">
|
||||
<field name="supplier"/>
|
||||
</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='number']" position="before">
|
||||
<field name="supplier" expand="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
17
modules/purchase/view/purchase_tree.xml
Normal file
17
modules/purchase/view/purchase_tree.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="reference" expand="1" optional="0"/>
|
||||
<field name="quotation_expire" optional="1"/>
|
||||
<field name="purchase_date" optional="0"/>
|
||||
<field name="party" expand="2"/>
|
||||
<field name="warehouse" optional="1"/>
|
||||
<field name="untaxed_amount" optional="0"/>
|
||||
<field name="description" expand="1" optional="1"/>
|
||||
<field name="state"/>
|
||||
<field name="invoice_state"/>
|
||||
<field name="shipment_state"/>
|
||||
</tree>
|
||||
9
modules/purchase/view/return_purchase_start_form.xml
Normal file
9
modules/purchase/view/return_purchase_start_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. -->
|
||||
<form col="2">
|
||||
<image name="tryton-warning" xexpand="0" xfill="0"/>
|
||||
<label
|
||||
string="Are you sure to return these/this purchase(s)?"
|
||||
id="return" yalign="0.5" xalign="0.0" xexpand="1"/>
|
||||
</form>
|
||||
25
modules/purchase/view/template_form.xml
Normal file
25
modules/purchase/view/template_form.xml
Normal file
@@ -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. -->
|
||||
<data>
|
||||
<xpath
|
||||
expr="/form/notebook/page[@id='general']/group[@id='checkboxes']"
|
||||
position="inside">
|
||||
<label name="purchasable"/>
|
||||
<field name="purchasable" xexpand="0" width="25"/>
|
||||
</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"/>
|
||||
|
||||
<group id="suppliers_links" col="-1" colspan="4">
|
||||
<link icon="tryton-purchase" name="purchase.act_purchase_line_relate" empty="hide"/>
|
||||
</group>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/purchase/view/template_tree.xml
Normal file
8
modules/purchase/view/template_tree.xml
Normal file
@@ -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/field[@name='type']" position="after">
|
||||
<field name="purchasable" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user