first commit
This commit is contained in:
11
modules/account_invoice/view/address_form.xml
Normal file
11
modules/account_invoice/view/address_form.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. -->
|
||||
<data>
|
||||
<xpath
|
||||
expr="//group[@id='checkboxes']/field[@name='active']"
|
||||
position="after">
|
||||
<label name="invoice"/>
|
||||
<field name="invoice" xexpand="0" width="25"/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/account_invoice/view/address_tree.xml
Normal file
9
modules/account_invoice/view/address_tree.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="/tree/field[@name='subdivision']" position="after">
|
||||
<field name="invoice" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/account_invoice/view/address_tree_sequence.xml
Normal file
9
modules/account_invoice/view/address_tree_sequence.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="/tree/field[@name='subdivision']" position="after">
|
||||
<field name="invoice" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
12
modules/account_invoice/view/company_form.xml
Normal file
12
modules/account_invoice/view/company_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="//page[@id='accounting']" position="inside">
|
||||
<separator string="Invoice" colspan="4" id="invoice"/>
|
||||
<label name="purchase_taxes_expense"/>
|
||||
<field name="purchase_taxes_expense"/>
|
||||
<label name="cancel_invoice_out"/>
|
||||
<field name="cancel_invoice_out"/>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/account_invoice/view/configuration_form.xml
Normal file
15
modules/account_invoice/view/configuration_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='default_account_payable']" position="after">
|
||||
<label name="default_customer_payment_term"/>
|
||||
<field name="default_customer_payment_term"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
<xpath expr="//separator[@id='invoice']" position="after">
|
||||
<label name="customer_payment_reference_number"/>
|
||||
<field name="customer_payment_reference_number"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/account_invoice/view/contact_mechanism_form.xml
Normal file
9
modules/account_invoice/view/contact_mechanism_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/group[@id='checkboxes']/field[@name='active']" position="after">
|
||||
<label name="invoice"/>
|
||||
<field name="invoice" xexpand="0" width="25"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/account_invoice/view/contact_mechanism_tree.xml
Normal file
8
modules/account_invoice/view/contact_mechanism_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='party']" position="after">
|
||||
<field name="invoice" optional="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="/tree/field[@name='party']" position="after">
|
||||
<field name="invoice" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
15
modules/account_invoice/view/credit_start_form.xml
Normal file
15
modules/account_invoice/view/credit_start_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. -->
|
||||
<form col="2">
|
||||
<image name="tryton-warning" xexpand="0" xfill="0"/>
|
||||
<group col="2" id="credit_refund" yalign="0.5">
|
||||
<label
|
||||
string="Are you sure to credit these/this invoice(s)?"
|
||||
id="credit" colspan="2"/>
|
||||
<label name="with_refund"/>
|
||||
<field name="with_refund"/>
|
||||
<label name="invoice_date"/>
|
||||
<field name="invoice_date"/>
|
||||
</group>
|
||||
</form>
|
||||
7
modules/account_invoice/view/edocument_result_form.xml
Normal file
7
modules/account_invoice/view/edocument_result_form.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?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">
|
||||
<label name="file"/>
|
||||
<field name="file"/>
|
||||
</form>
|
||||
9
modules/account_invoice/view/edocument_start_form.xml
Normal file
9
modules/account_invoice/view/edocument_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>
|
||||
<label name="format"/>
|
||||
<field name="format"/>
|
||||
<label name="template"/>
|
||||
<field name="template"/>
|
||||
</form>
|
||||
9
modules/account_invoice/view/fiscalyear_form.xml
Normal file
9
modules/account_invoice/view/fiscalyear_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='sequences']/field[@name='move_sequence']" position="after">
|
||||
<field name="invoice_sequences" colspan="4" mode="form,tree"
|
||||
view_ids="account_invoice.invoice_sequence_view_form,account_invoice.invoice_sequence_view_list_sequence"/>
|
||||
</xpath>
|
||||
</data>
|
||||
115
modules/account_invoice/view/invoice_form.xml
Normal file
115
modules/account_invoice/view/invoice_form.xml
Normal file
@@ -0,0 +1,115 @@
|
||||
<?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" cursor="party">
|
||||
<label name="type"/>
|
||||
<field name="type"/>
|
||||
<label name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<label name="invoice_address"/>
|
||||
<field name="invoice_address"/>
|
||||
<label name="party_tax_identifier" string="Tax Identifier:"/>
|
||||
<field name="party_tax_identifier"/>
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
<label name="reference"/>
|
||||
<field name="reference"/>
|
||||
<notebook colspan="6">
|
||||
<page string="Invoice" id="invoice" col="6">
|
||||
<label name="invoice_date"/>
|
||||
<field name="invoice_date"/>
|
||||
<label name="payment_term"/>
|
||||
<field name="payment_term"/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
<field name="lines" colspan="6"
|
||||
view_ids="account_invoice.invoice_line_view_tree_sequence"/>
|
||||
<group col="2" colspan="6" id="taxes_amount_state">
|
||||
<field name="taxes"
|
||||
view_ids="account_invoice.invoice_tax_view_tree_sequence"/>
|
||||
<group col="4" colspan="1" id="amount_state" yfill="1" yalign="1">
|
||||
<group col="2" colspan="2" id="reconciled_state" yfill="1" yalign="1">
|
||||
<label name="reconciled"/>
|
||||
<field name="reconciled"/>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
</group>
|
||||
<group col="2" colspan="2" id="amount" yfill="1" yalign="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>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Other Info" id="info">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="tax_identifier"/>
|
||||
<field name="tax_identifier"/>
|
||||
<label name="account"/>
|
||||
<field name="account"/>
|
||||
<label name="accounting_date"/>
|
||||
<field name="accounting_date"/>
|
||||
<label name="validated_by"/>
|
||||
<field name="validated_by"/>
|
||||
<label name="posted_by"/>
|
||||
<field name="posted_by"/>
|
||||
<field name="alternative_payees" colspan="4"/>
|
||||
<label name="move"/>
|
||||
<field name="move"/>
|
||||
<label name="cancel_move"/>
|
||||
<field name="cancel_move"/>
|
||||
<field name="additional_moves" colspan="4"/>
|
||||
<separator name="comment" colspan="4"/>
|
||||
<field name="comment" colspan="4"/>
|
||||
</page>
|
||||
<page string="Payment" id="payment">
|
||||
<label name="payment_term_date"/>
|
||||
<field name="payment_term_date"/>
|
||||
<newline/>
|
||||
|
||||
<label name="supplier_payment_reference"/>
|
||||
<field name="supplier_payment_reference"/>
|
||||
<label name="supplier_payment_reference_type"/>
|
||||
<field name="supplier_payment_reference_type"/>
|
||||
|
||||
<label name="customer_payment_reference"/>
|
||||
<field name="customer_payment_reference"/>
|
||||
<newline/>
|
||||
|
||||
<label name="amount_to_pay_today"/>
|
||||
<field name="amount_to_pay_today"/>
|
||||
<label name="amount_to_pay"/>
|
||||
<field name="amount_to_pay"/>
|
||||
<field name="lines_to_pay" colspan="4" view_ids="account_invoice.move_line_view_list_to_pay"/>
|
||||
<group id="lines_to_pay_buttons" colspan="4" col="-1">
|
||||
<button name="reschedule_lines_to_pay"/>
|
||||
<button name="delegate_lines_to_pay"/>
|
||||
</group>
|
||||
<field name="payment_lines" colspan="4"
|
||||
view_ids="account_invoice.move_line_view_list_payment"/>
|
||||
<field name="reconciliation_lines" colspan="4" view_ids="account_invoice.move_line_view_list_payment"/>
|
||||
</page>
|
||||
<page name="invoice_report_revisions">
|
||||
<field name="invoice_report_revisions" colspan="4"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<label id="empty" colspan="3"/>
|
||||
<group col="-1" colspan="3" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft" icon="tryton-back"/>
|
||||
<button name="validate_invoice" icon="tryton-forward"/>
|
||||
<button name="post" icon="tryton-ok"/>
|
||||
<button name="pay" icon="tryton-forward"/>
|
||||
<button name="process" icon="tryton-refresh"/>
|
||||
</group>
|
||||
<field name="party_lang" invisible="1" colspan="6"/>
|
||||
</form>
|
||||
47
modules/account_invoice/view/invoice_line_form.xml
Normal file
47
modules/account_invoice/view/invoice_line_form.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<?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="invoice"/>
|
||||
<field name="invoice" 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"/>
|
||||
<label name="account"/>
|
||||
<field name="account"/>
|
||||
<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="taxes_date"/>
|
||||
<field name="taxes_date"/>
|
||||
<label name="taxes_deductible_rate"/>
|
||||
<group col="2" id="taxes_deductible_rate">
|
||||
<field name="taxes_deductible_rate" factor="100" xexpand="0"/>
|
||||
<label name="taxes_deductible_rate" string="%" xalign="0.0" xexpand="1"/>
|
||||
</group>
|
||||
<field name="taxes" colspan="4"/>
|
||||
|
||||
<label name="origin"/>
|
||||
<field name="origin" colspan="3"/>
|
||||
</page>
|
||||
<page name="description">
|
||||
<separator name="description" colspan="4"/>
|
||||
<field name="description" colspan="4"/>
|
||||
</page>
|
||||
<page string="Notes" id="notes">
|
||||
<separator name="note" colspan="4"/>
|
||||
<field name="note" colspan="4"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<field name="party_lang" invisible="1" colspan="4"/>
|
||||
</form>
|
||||
16
modules/account_invoice/view/invoice_line_tree.xml
Normal file
16
modules/account_invoice/view/invoice_line_tree.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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="invoice" expand="1"/>
|
||||
<field name="invoice_party" expand="1" optional="0"/>
|
||||
<field name="type" optional="1"/>
|
||||
<field name="product" expand="1" optional="0"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="account" expand="1" optional="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price" optional="1"/>
|
||||
<field name="taxes" optional="1"/>
|
||||
<field name="amount"/>
|
||||
<field name="invoice_description" expand="1" optional="1"/>
|
||||
</tree>
|
||||
14
modules/account_invoice/view/invoice_line_tree_sequence.xml
Normal file
14
modules/account_invoice/view/invoice_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="invoice" expand="1"/>
|
||||
<field name="type" optional="1"/>
|
||||
<field name="product" expand="1" optional="0"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="account" expand="1" optional="0"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="taxes" optional="0"/>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
@@ -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>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
<label name="invoice_report_cache"/>
|
||||
<field name="invoice_report_cache"/>
|
||||
</form>
|
||||
@@ -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. -->
|
||||
<tree>
|
||||
<field name="invoice" expand="2"/>
|
||||
<field name="date" widget="date"/>
|
||||
<field name="date" widget="time" string="Time"/>
|
||||
<field name="invoice_report_cache" widget="binary" expand="1"/>
|
||||
</tree>
|
||||
23
modules/account_invoice/view/invoice_sequence_form.xml
Normal file
23
modules/account_invoice/view/invoice_sequence_form.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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="company"/>
|
||||
<field name="company"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<label name="fiscalyear"/>
|
||||
<field name="fiscalyear"/>
|
||||
<separator id="pattern" colspan="4"/>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
<separator id="sequences" colspan="4"/>
|
||||
<label name="in_invoice_sequence"/>
|
||||
<field name="in_invoice_sequence"/>
|
||||
<label name="in_credit_note_sequence"/>
|
||||
<field name="in_credit_note_sequence"/>
|
||||
<label name="out_invoice_sequence"/>
|
||||
<field name="out_invoice_sequence"/>
|
||||
<label name="out_credit_note_sequence"/>
|
||||
<field name="out_credit_note_sequence"/>
|
||||
</form>
|
||||
12
modules/account_invoice/view/invoice_sequence_list.xml
Normal file
12
modules/account_invoice/view/invoice_sequence_list.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. -->
|
||||
<tree>
|
||||
<field name="company"/>
|
||||
<field name="fiscalyear"/>
|
||||
<field name="period"/>
|
||||
<field name="in_invoice_sequence"/>
|
||||
<field name="in_credit_note_sequence"/>
|
||||
<field name="out_invoice_sequence"/>
|
||||
<field name="out_credit_note_sequence"/>
|
||||
</tree>
|
||||
@@ -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. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="company"/>
|
||||
<field name="fiscalyear"/>
|
||||
<field name="period"/>
|
||||
<field name="in_invoice_sequence"/>
|
||||
<field name="in_credit_note_sequence"/>
|
||||
<field name="out_invoice_sequence"/>
|
||||
<field name="out_credit_note_sequence"/>
|
||||
</tree>
|
||||
23
modules/account_invoice/view/invoice_tax_form.xml
Normal file
23
modules/account_invoice/view/invoice_tax_form.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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="invoice"/>
|
||||
<field name="invoice" colspan="3"/>
|
||||
<label name="tax"/>
|
||||
<field name="tax" colspan="3"/>
|
||||
<label name="description"/>
|
||||
<field name="description"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<label name="account"/>
|
||||
<field name="account"/>
|
||||
<label name="manual"/>
|
||||
<field name="manual"/>
|
||||
<label name="base"/>
|
||||
<field name="base"/>
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
<separator name="legal_notice" colspan="4"/>
|
||||
<field name="legal_notice" colspan="4"/>
|
||||
</form>
|
||||
12
modules/account_invoice/view/invoice_tax_tree.xml
Normal file
12
modules/account_invoice/view/invoice_tax_tree.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. -->
|
||||
<tree>
|
||||
<field name="invoice" expand="1"/>
|
||||
<field name="tax" expand="1"/>
|
||||
<field name="description" expand="1"/>
|
||||
<field name="account" expand="1"/>
|
||||
<field name="manual"/>
|
||||
<field name="base"/>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
13
modules/account_invoice/view/invoice_tax_tree_sequence.xml
Normal file
13
modules/account_invoice/view/invoice_tax_tree_sequence.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 sequence="sequence">
|
||||
<field name="description" expand="1"/>
|
||||
<field name="base"/>
|
||||
<field name="amount"/>
|
||||
<field name="sequence" tree_invisible="1"/>
|
||||
<field name="manual" tree_invisible="1"/>
|
||||
<field name="account" tree_invisible="1"/>
|
||||
<field name="tax" tree_invisible="1"/>
|
||||
<field name="legal_notice" tree_invisible="1"/>
|
||||
</tree>
|
||||
21
modules/account_invoice/view/invoice_tree.xml
Normal file
21
modules/account_invoice/view/invoice_tree.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. -->
|
||||
<tree>
|
||||
<field name="company" optional="1"/>
|
||||
<field name="type"/>
|
||||
<field name="number"/>
|
||||
<field name="reference"/>
|
||||
<field name="invoice_date" optional="0"/>
|
||||
<field name="party" expand="2" optional="0"/>
|
||||
<field name="untaxed_amount" optional="0"/>
|
||||
<field name="tax_amount" optional="0"/>
|
||||
<field name="total_amount" optional="0"/>
|
||||
<field name="state" optional="0"/>
|
||||
<field name="amount_to_pay_today" optional="0"/>
|
||||
<field name="description" expand="1" optional="1"/>
|
||||
<button name="cancel" tree_invisible="1"/>
|
||||
<button name="draft" tree_invisible="1"/>
|
||||
<button name="validate_invoice" tree_invisible="1"/>
|
||||
<button name="post" tree_invisible="1"/>
|
||||
</tree>
|
||||
9
modules/account_invoice/view/move_line_form.xml
Normal file
9
modules/account_invoice/view/move_line_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='info']" position="inside">
|
||||
<label name="invoice_payment"/>
|
||||
<field name="invoice_payment"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/account_invoice/view/move_line_list.xml
Normal file
8
modules/account_invoice/view/move_line_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. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='reconciliation']" position="after">
|
||||
<field name="invoice_payment" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
14
modules/account_invoice/view/move_line_list_payment.xml
Normal file
14
modules/account_invoice/view/move_line_list_payment.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>
|
||||
<field name="party" expand="1" optional="1"/>
|
||||
<field name="date"/>
|
||||
<field name="amount"/>
|
||||
<field name="move" optional="1"/>
|
||||
<field name="move_origin" optional="1"/>
|
||||
<field name="origin" optional="1"/>
|
||||
<field name="move_description_used" optional="1"/>
|
||||
<field name="description_used" optional="1"/>
|
||||
<field name="reconciliation" optional="1"/>
|
||||
</tree>
|
||||
10
modules/account_invoice/view/move_line_list_to_pay.xml
Normal file
10
modules/account_invoice/view/move_line_list_to_pay.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. -->
|
||||
<tree>
|
||||
<field name="party" expand="1" optional="1"/>
|
||||
<field name="maturity_date"/>
|
||||
<field name="amount"/>
|
||||
<field name="delegated_amount"/>
|
||||
<field name="reconciliation" optional="1"/>
|
||||
</tree>
|
||||
17
modules/account_invoice/view/party_form.xml
Normal file
17
modules/account_invoice/view/party_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. -->
|
||||
<data>
|
||||
<xpath expr="//group[@id='links']" position="inside">
|
||||
<link icon="tryton-invoice" name="account_invoice.act_invoice_relate" empty="hide"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/notebook/page[@id='accounting']/separator[@id='account']"
|
||||
position="before">
|
||||
<separator string="Payment Terms" colspan="4" id="payment_terms"/>
|
||||
<label name="customer_payment_term"/>
|
||||
<field name="customer_payment_term"/>
|
||||
<label name="supplier_payment_term"/>
|
||||
<field name="supplier_payment_term"/>
|
||||
</xpath>
|
||||
</data>
|
||||
23
modules/account_invoice/view/pay_ask_form.xml
Normal file
23
modules/account_invoice/view/pay_ask_form.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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="type"/>
|
||||
<field name="type" colspan="3"/>
|
||||
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
<newline/>
|
||||
|
||||
<label name="amount_writeoff"/>
|
||||
<field name="amount_writeoff"/>
|
||||
<label name="writeoff"/>
|
||||
<field name="writeoff" widget="selection"/>
|
||||
|
||||
<field name="lines" colspan="4"
|
||||
view_ids="account_invoice.move_line_view_list_to_pay"/>
|
||||
<field name="payment_lines" colspan="4"
|
||||
view_ids="account_invoice.move_line_view_list_payment"/>
|
||||
<field name="company" colspan="4" invisible="1"/>
|
||||
<field name="invoice" colspan="4" invisible="1"/>
|
||||
</form>
|
||||
16
modules/account_invoice/view/pay_start_form.xml
Normal file
16
modules/account_invoice/view/pay_start_form.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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="amount">
|
||||
<label name="payee"/>
|
||||
<field name="payee"/>
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
<label name="payment_method"/>
|
||||
<field name="payment_method" widget="selection"/>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
</form>
|
||||
17
modules/account_invoice/view/payment_method_form.xml
Normal file
17
modules/account_invoice/view/payment_method_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>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
<label name="journal"/>
|
||||
<field name="journal" widget="selection"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="debit_account"/>
|
||||
<field name="debit_account"/>
|
||||
<label name="credit_account"/>
|
||||
<field name="credit_account"/>
|
||||
</form>
|
||||
8
modules/account_invoice/view/payment_method_tree.xml
Normal file
8
modules/account_invoice/view/payment_method_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="company" expand="1" optional="1"/>
|
||||
<field name="name" expand="2"/>
|
||||
<field name="journal" expand="1"/>
|
||||
</tree>
|
||||
18
modules/account_invoice/view/payment_term_form.xml
Normal file
18
modules/account_invoice/view/payment_term_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. -->
|
||||
<form>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="active"/>
|
||||
<field name="active" xexpand="0" width="100"/>
|
||||
<notebook colspan="4">
|
||||
<page name="lines">
|
||||
<field name="lines" colspan="4"
|
||||
view_ids="account_invoice.payment_term_line_view_list_sequence"/>
|
||||
</page>
|
||||
<page name="description">
|
||||
<field name="description" colspan="4"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
22
modules/account_invoice/view/payment_term_line_form.xml
Normal file
22
modules/account_invoice/view/payment_term_line_form.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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="type"/>
|
||||
<field name="type"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<label name="amount"/>
|
||||
<field name="amount" symbol=""/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
<label name="ratio"/>
|
||||
<group col="2" id="ratio">
|
||||
<field name="ratio" factor="100" xexpand="0"/>
|
||||
<label name="ratio" string="%" xalign="0.0" xexpand="1"/>
|
||||
</group>
|
||||
<label name="divisor"/>
|
||||
<field name="divisor"/>
|
||||
<field name="relativedeltas" mode="form,tree" colspan="4"
|
||||
view_ids="account_invoice.payment_term_line_relativedelta_view_form,account_invoice.payment_term_line_relativedelta_view_list_sequence"/>
|
||||
</form>
|
||||
11
modules/account_invoice/view/payment_term_line_list.xml
Normal file
11
modules/account_invoice/view/payment_term_line_list.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="payment" expand="1"/>
|
||||
<field name="type"/>
|
||||
<field name="ratio" factor="100">
|
||||
<suffix string="%" name="ratio"/>
|
||||
</field>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
@@ -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. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="type"/>
|
||||
<field name="ratio" factor="100">
|
||||
<suffix string="%" name="ratio"/>
|
||||
</field>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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="line"/>
|
||||
<field name="line"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
|
||||
<label id="help" string="Operations are applied in this displayed order." colspan="4" xalign="0"/>
|
||||
|
||||
<label name="month"/>
|
||||
<field name="month" widget="selection"/>
|
||||
<label name="months"/>
|
||||
<field name="months"/>
|
||||
|
||||
<label name="weeks"/>
|
||||
<field name="weeks" colspan="3"/>
|
||||
|
||||
<label name="day"/>
|
||||
<field name="day"/>
|
||||
<label name="days"/>
|
||||
<field name="days"/>
|
||||
|
||||
<label name="weekday"/>
|
||||
<field name="weekday" widget="selection" colspan="3"/>
|
||||
</form>
|
||||
@@ -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. -->
|
||||
<tree>
|
||||
<field name="line"/>
|
||||
<field name="month" widget="selection"/>
|
||||
<field name="months"/>
|
||||
<field name="weeks"/>
|
||||
<field name="day"/>
|
||||
<field name="days"/>
|
||||
<field name="weekday" widget="selection"/>
|
||||
</tree>
|
||||
@@ -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. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="line"/>
|
||||
<field name="month" widget="selection"/>
|
||||
<field name="months"/>
|
||||
<field name="weeks"/>
|
||||
<field name="day"/>
|
||||
<field name="days"/>
|
||||
<field name="weekday" widget="selection"/>
|
||||
</tree>
|
||||
14
modules/account_invoice/view/payment_term_test_form.xml
Normal file
14
modules/account_invoice/view/payment_term_test_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 cursor="amount">
|
||||
<label name="payment_term"/>
|
||||
<field name="payment_term"/>
|
||||
<label name="date"/>
|
||||
<field name="date"/>
|
||||
<label name="amount"/>
|
||||
<field name="amount" symbol=""/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
<field name="result" mode="tree" colspan="4"/>
|
||||
</form>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?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="amount"/>
|
||||
</tree>
|
||||
6
modules/account_invoice/view/payment_term_tree.xml
Normal file
6
modules/account_invoice/view/payment_term_tree.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?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="name" expand="1"/>
|
||||
</tree>
|
||||
Reference in New Issue
Block a user