Use separate XML files for views

This commit is contained in:
Cédric Krier
2013-03-02 14:09:44 +01:00
parent 8c10638b6d
commit 5dcabe9a7f
95 changed files with 1304 additions and 1301 deletions
+1
View File
@@ -6,6 +6,7 @@ include CHANGELOG
include LICENSE
include tryton.cfg
include *.xml
include view/*.xml
include *.odt
include locale/*.po
include doc/*
+30 -396
View File
@@ -65,52 +65,20 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="account_type_template_view_form">
<field name="model">account.account.type.template</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Account Type Template">
<label name="name"/>
<field name="name"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="parent"/>
<field name="parent"/>
<newline/>
<label name="display_balance"/>
<field name="display_balance"/>
<newline/>
<label name="balance_sheet"/>
<field name="balance_sheet"/>
<newline/>
<label name="income_statement"/>
<field name="income_statement"/>
</form>
]]>
</field>
<field name="name">account_type_template_form</field>
</record>
<record model="ir.ui.view" id="account_type_template_view_list">
<field name="model">account.account.type.template</field>
<field name="type">tree</field>
<field name="priority" eval="10"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Types Templates">
<field name="name"/>
</tree>
]]>
</field>
<field name="name">account_type_template_list</field>
</record>
<record model="ir.ui.view" id="account_type_template_view_tree">
<field name="model">account.account.type.template</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Types Templates">
<field name="name"/>
</tree>
]]>
</field>
<field name="name">account_type_template_tree</field>
</record>
<record model="ir.action.act_window" id="act_account_type_template_tree">
<field name="name">Account Type Templates</field>
@@ -239,55 +207,20 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="account_type_view_form">
<field name="model">account.account.type</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Account Type">
<label name="name"/>
<field name="name"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="company"/>
<field name="company"/>
<label name="parent"/>
<field name="parent"/>
<label name="display_balance"/>
<field name="display_balance"/>
<newline/>
<label name="balance_sheet"/>
<field name="balance_sheet"/>
<newline/>
<label name="income_statement"/>
<field name="income_statement"/>
</form>
]]>
</field>
<field name="name">account_type_form</field>
</record>
<record model="ir.ui.view" id="account_type_view_tree">
<field name="model">account.account.type</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Types">
<field name="name"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
]]>
</field>
<field name="name">account_type_tree</field>
</record>
<record model="ir.ui.view" id="account_type_view_list">
<field name="model">account.account.type</field>
<field name="type">tree</field>
<field name="priority" eval="10"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Types">
<field name="name"/>
</tree>
]]>
</field>
<field name="name">account_type_list</field>
</record>
<record model="ir.action.act_window" id="act_account_type_tree">
@@ -345,55 +278,20 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="account_template_view_form">
<field name="model">account.account.template</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Account Template" col="6">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="parent"/>
<field name="parent"/>
<label name="kind"/>
<field name="kind"/>
<label name="type"/>
<field name="type"/>
<newline/>
<label name="deferral"/>
<field name="deferral"/>
<label name="reconcile"/>
<field name="reconcile"/>
<field name="taxes" colspan="6"/>
</form>
]]>
</field>
<field name="name">account_template_form</field>
</record>
<record model="ir.ui.view" id="account_template_view_list">
<field name="model">account.account.template</field>
<field name="type">tree</field>
<field name="priority" eval="10"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Templates">
<field name="rec_name"/>
<field name="type"/>
</tree>
]]>
</field>
<field name="name">account_template_list</field>
</record>
<record model="ir.ui.view" id="account_template_view_tree">
<field name="model">account.account.template</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Templates">
<field name="rec_name"/>
<field name="type"/>
</tree>
]]>
</field>
<field name="name">account_template_tree</field>
</record>
<record model="ir.action.act_window" id="act_account_template_tree">
<field name="name">Account Templates</field>
@@ -471,82 +369,30 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="account_deferral_view_form">
<field name="model">account.account.deferral</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Account Deferral">
<label name="account"/>
<field name="account"/>
<newline/>
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<newline/>
<label name="debit"/>
<field name="debit"/>
<label name="credit"/>
<field name="credit"/>
</form>
]]>
</field>
<field name="name">account_deferral_form</field>
</record>
<record model="ir.ui.view" id="account_deferral_view_tree">
<field name="model">account.account.deferral</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Deferrals">
<field name="account"/>
<field name="fiscalyear"/>
<field name="debit"/>
<field name="credit"/>
</tree>
]]>
</field>
<field name="name">account_deferral_tree</field>
</record>
<record model="ir.ui.view" id="create_chart_start_view_form">
<field name="model">account.create_chart.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Create Chart of Accounts" col="2">
<image name="tryton-dialog-information" xexpand="0"
xfill="0"/>
<label string="You can now create a chart of account for your company by selecting a chart of account template."
id="create"
yalign="0.0" xalign="0.0" xexpand="1"/>
</form>
]]>
</field>
<field name="name">create_chart_start_form</field>
</record>
<record model="ir.ui.view" id="create_chart_account_view_form">
<field name="model">account.create_chart.account</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Create Chart of Accounts" col="2">
<label name="company"/>
<field name="company" widget="selection"/>
<label name="account_template"/>
<field name="account_template" widget="selection"/>
</form>
]]>
</field>
<field name="name">create_chart_account_form</field>
</record>
<record model="ir.ui.view" id="create_chart_properties_view_form">
<field name="model">account.create_chart.properties</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Create Default Properties" col="2">
<label name="account_receivable"/>
<field name="account_receivable"/>
<label name="account_payable"/>
<field name="account_payable"/>
</form>
]]>
</field>
<field name="name">create_chart_properties_form</field>
</record>
<record model="ir.action.wizard" id="wizard_create_chart">
@@ -563,28 +409,13 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="update_chart_start_view_form">
<field name="model">account.update_chart.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Update Chart of Accounts" col="2">
<label name="account"/>
<field name="account"/>
</form>
]]>
</field>
<field name="name">update_chart_start_form</field>
</record>
<record model="ir.ui.view" id="update_chart_succeed_view_form">
<field name="model">account.update_chart.succeed</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Update Chart of Accounts">
<image name="tryton-dialog-information" xexpand="0" xfill="0"/>
<label string="Update Chart of Accounts Succeed!" id="succeed"
yalign="0.0" xalign="0.0" xexpand="1"/>
</form>
]]>
</field>
<field name="name">update_chart_succeed_form</field>
</record>
<record model="ir.action.wizard" id="wizard_update_chart">
@@ -597,76 +428,20 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="account_view_form">
<field name="model">account.account</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Account" col="6">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="active"/>
<field name="active" xexpand="0" width="100"/>
<notebook colspan="6">
<page string="General Information" id="general">
<label name="company"/>
<field name="company"/>
<label name="parent"/>
<field name="parent"/>
<label name="kind"/>
<field name="kind"/>
<label name="type"/>
<field name="type"/>
<label name="deferral"/>
<field name="deferral"/>
<label name="reconcile"/>
<field name="reconcile"/>
<label name="currency"/>
<field name="currency"/>
<label name="second_currency"/>
<field name="second_currency"/>
<field name="taxes" colspan="4"/>
</page>
<page string="Deferrals" id="deferrals">
<field name="deferrals"/>
</page>
<page string="Notes" id="notes">
<field name="note"/>
</page>
</notebook>
</form>
]]>
</field>
<field name="name">account_form</field>
</record>
<record model="ir.ui.view" id="account_view_tree">
<field name="model">account.account</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Accounts">
<field name="rec_name"/>
<field name="company"/>
<field name="type"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
]]>
</field>
<field name="name">account_tree</field>
</record>
<record model="ir.ui.view" id="account_view_list">
<field name="model">account.account</field>
<field name="type">tree</field>
<field name="priority" eval="10"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Accounts">
<field name="rec_name"/>
<field name="company"/>
<field name="type"/>
</tree>
]]>
</field>
<field name="name">account_list</field>
</record>
<record model="ir.action.act_window" id="act_account_tree">
@@ -709,18 +484,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="model">account.account</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Accounts" keyword_open="1">
<field name="name"/>
<field name="code"/>
<field name="debit"/>
<field name="credit"/>
<field name="balance"/>
<field name="currency"/>
</tree>
]]>
</field>
<field name="name">account_list2</field>
</record>
<record model="ir.action.act_window" id="act_account_list2">
<field name="name">Accounts</field>
@@ -748,18 +512,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="type">tree</field>
<field name="field_childs">childs</field>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Accounts" keyword_open="1">
<field name="name"/>
<field name="code"/>
<field name="debit"/>
<field name="credit"/>
<field name="balance"/>
<field name="currency"/>
</tree>
]]>
</field>
<field name="name">account_tree2</field>
</record>
<record model="ir.action.act_window" id="act_account_tree2">
<field name="name">Accounts</field>
@@ -807,39 +560,13 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="open_chart_start_view_form">
<field name="model">account.open_chart.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Open Chart of Accounts" col="2">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<label name="posted"/>
<field name="posted"/>
</form>
]]>
</field>
<field name="name">open_chart_start_form</field>
</record>
<record model="ir.ui.view" id="print_general_ledger_start_view_form">
<field name="model">account.print_general_ledger.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Print General Ledger">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<label name="empty_account"/>
<field name="empty_account"/>
<label name="start_period"/>
<field name="start_period"/>
<label name="end_period"/>
<field name="end_period"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
]]>
</field>
<field name="name">print_general_legder_start_form</field>
</record>
<record model="ir.action.wizard" id="wizard_print_general_ledger">
@@ -859,24 +586,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="print_trial_balance_start_view_form">
<field name="model">account.print_trial_balance.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Print Trial Balance">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<label name="empty_account"/>
<field name="empty_account"/>
<label name="start_period"/>
<field name="start_period"/>
<label name="end_period"/>
<field name="end_period"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
]]>
</field>
<field name="name">print_trial_balance_start_form</field>
</record>
<record model="ir.action.wizard" id="wizard_print_trial_balance">
@@ -896,32 +606,14 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="open_balance_sheet_start_view_form">
<field name="model">account.open_balance_sheet.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Open Balance Sheet" col="2">
<label name="date"/>
<field name="date"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
]]>
</field>
<field name="name">open_balance_sheet_start_form</field>
</record>
<record model="ir.ui.view" id="account_balance_sheet_view_tree">
<field name="model">account.account.type</field>
<field name="type">tree</field>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Balance Sheet" keyword_open="1">
<field name="name"/>
<field name="amount"/>
</tree>
]]>
</field>
<field name="name">account_balance_sheet_tree</field>
</record>
<record model="ir.action.act_window" id="act_account_balance_sheet_tree">
<field name="name">Balance Sheet</field>
@@ -945,37 +637,14 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="open_income_statement_start_view_form">
<field name="model">account.open_income_statement.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Open Income Statement">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<newline/>
<label name="start_period"/>
<field name="start_period"/>
<label name="end_period"/>
<field name="end_period"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
]]>
</field>
<field name="name">open_income_statement_start_form</field>
</record>
<record model="ir.ui.view" id="account_income_statement_view_tree">
<field name="model">account.account.type</field>
<field name="type">tree</field>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Income Statement">
<field name="name"/>
<field name="amount"/>
</tree>
]]>
</field>
<field name="name">account_income_statement_tree</field>
</record>
<record model="ir.action.act_window" id="act_account_income_statement_tree">
<field name="name">Income Statement</field>
@@ -999,19 +668,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="open_third_party_balance_start_view_form">
<field name="model">account.open_third_party_balance.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Open Third Party Balance" col="4">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<newline/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
]]>
</field>
<field name="name">open_third_party_balance_start_form</field>
</record>
<record model="ir.action.report" id="report_third_party_balance">
<field name="name">Third Party Balance</field>
@@ -1030,30 +687,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="open_aged_balance_start_view_form">
<field name="model">account.open_aged_balance.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Open Aged Balance" col="4">
<label name="balance_type"/>
<field name="balance_type"/>
<newline/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
<separator string="Terms" colspan="4" id="terms"/>
<label name="term1"/>
<field name="term1"/>
<label name="unit"/>
<field name="unit"/>
<newline/>
<label name="term2"/>
<field name="term2"/>
<newline/>
<label name="term3"/>
<field name="term3"/>
</form>
]]>
</field>
<field name="name">open_aged_balance_start_form</field>
</record>
<record model="ir.action.report" id="report_aged_balance">
<field name="name">Aged Balance</field>
+3 -12
View File
@@ -6,19 +6,10 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="configuration_view_form">
<field name="model">account.configuration</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Account Configuration">
<label name="default_account_receivable"/>
<field name="default_account_receivable"/>
<label name="default_account_payable"/>
<field name="default_account_payable"/>
</form>
]]>
</field>
<field name="name">configuration_form</field>
</record>
<record model="ir.action.act_window"
id="act_configuration_form">
<record model="ir.action.act_window"
id="act_configuration_form">
<field name="name">Account Configuration</field>
<field name="res_model">account.configuration</field>
</record>
+2 -50
View File
@@ -8,60 +8,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="fiscalyear_view_form">
<field name="model">account.fiscalyear</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Fiscal Year">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="start_date"/>
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
<label name="company"/>
<field name="company"/>
<label name="state"/>
<field name="state"/>
<notebook colspan="4">
<page string="Periods" id="periods">
<field name="periods" colspan="4"/>
<group col="2" colspan="4" id="buttons">
<button name="create_period"
string="Create Monthly Periods"/>
<button name="create_period_3"
string="Create 3 Months Periods"/>
</group>
</page>
<page string="Sequences" id="sequences">
<label name="post_move_sequence"/>
<field name="post_move_sequence"/>
</page>
</notebook>
<label string="" colspan="2" id="empty"/>
<group col="1" colspan="2" id="buttons">
<button name="close" string="Close Fiscal Year"
icon="tryton-readonly"
confirm="Are you sure to close fiscal year?"/>
<button name="reopen" string="Re-Open Fiscal Year"
icon="tryton-clear"/>
</group>
</form>
]]>
</field>
<field name="name">fiscalyear_form</field>
</record>
<record model="ir.ui.view" id="fiscalyear_view_tree">
<field name="model">account.fiscalyear</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Fiscal Years">
<field name="name"/>
<field name="code"/>
<field name="state"/>
</tree>
]]>
</field>
<field name="name">fiscalyear_tree</field>
</record>
<record model="ir.action.act_window" id="act_fiscalyear_form">
<field name="name">Fiscal Years</field>
+11 -143
View File
@@ -8,28 +8,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="journal_type_form">
<field name="model">account.journal.type</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Journal Type">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
</form>
]]>
</field>
<field name="name">journal_type_form</field>
</record>
<record model="ir.ui.view" id="journal_type_tree">
<field name="model">account.journal.type</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Journal Types">
<field name="name"/>
<field name="code"/>
</tree>
]]>
</field>
<field name="name">journal_type_tree</field>
</record>
<record model="ir.action.act_window" id="act_journal_type_form">
<field name="name">Journal Types</field>
@@ -87,28 +71,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="journal_view_view_form">
<field name="model">account.journal.view</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Journal View" col="2">
<label name="name"/>
<field name="name"/>
<field name="columns" colspan="2"
view_ids="account.journal_view_column_view_list_sequence">
</field>
</form>
]]>
</field>
<field name="name">journal_view_form</field>
</record>
<record model="ir.ui.view" id="journal_view_view_tree">
<field name="model">account.journal.view</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Journal Views">
<field name="name"/>
</tree>
]]>
</field>
<field name="name">journal_view_tree</field>
</record>
<record model="ir.action.act_window" id="act_journal_view_form">
<field name="name">Journal Views</field>
@@ -147,56 +115,20 @@ this repository contains the full copyright notices and license terms. -->
<field name="model">account.journal.view.column</field>
<field name="type">tree</field>
<field name="priority" eval="10"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="View Columns">
<field name="view"/>
<field name="name"/>
<field name="field"/>
<field name="required"/>
<field name="readonly"/>
</tree>
]]>
</field>
<field name="name">journal_view_column_list</field>
</record>
<record model="ir.ui.view" id="journal_view_column_view_list_sequence">
<field name="model">account.journal.view.column</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="View Columns" sequence="sequence" editable="bottom">
<field name="name"/>
<field name="field"/>
<field name="required"/>
<field name="readonly"/>
</tree>
]]>
</field>
<field name="name">journal_view_column_list_sequence</field>
</record>
<record model="ir.ui.view" id="journal_view_column_view_form">
<field name="model">account.journal.view.column</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="View Column">
<label name="name"/>
<field name="name"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="field"/>
<field name="field"/>
<label name="view"/>
<field name="view"/>
<label name="required"/>
<field name="required"/>
<label name="readonly"/>
<field name="readonly"/>
</form>
]]>
</field>
<field name="name">journal_view_column_form</field>
</record>
<record model="ir.model.access" id="access_journal_view_column">
@@ -218,52 +150,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="journal_view_form">
<field name="model">account.journal</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Journal" col="6">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="active"/>
<field name="active" xexpand="0" width="100"/>
<notebook colspan="6">
<page string="General Information" id="general">
<label name="type"/>
<field name="type"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="view"/>
<field name="view"/>
<newline/>
<label name="debit_account"/>
<field name="debit_account"/>
<label name="credit_account"/>
<field name="credit_account"/>
<label name="centralised"/>
<field name="centralised"/>
<newline/>
<label name="update_posted"/>
<field name="update_posted"/>
<newline/>
</page>
</notebook>
</form>
]]>
</field>
<field name="name">journal_form</field>
</record>
<record model="ir.ui.view" id="journal_view_tree">
<field name="model">account.journal</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Journals">
<field name="name"/>
<field name="code"/>
<field name="type"/>
</tree>
]]>
</field>
<field name="name">journal_tree</field>
</record>
<record model="ir.action.act_window" id="act_journal_form">
<field name="name">Journals</field>
@@ -320,36 +212,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="journal_period_view_form">
<field name="model">account.journal.period</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Journal - Period">
<label name="name"/>
<field name="name"/>
<label name="active"/>
<field name="active"/>
<label name="journal"/>
<field name="journal"/>
<label name="period"/>
<field name="period"/>
<label name="state"/>
<field name="state" colspan="3"/>
</form>
]]>
</field>
<field name="name">journal_period_form</field>
</record>
<record model="ir.ui.view" id="journal_period_view_tree">
<field name="model">account.journal.period</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Journals - Periods" keyword_open="1">
<field name="name" icon="icon"/>
<field name="journal"/>
<field name="period"/>
<field name="state"/>
</tree>
]]>
</field>
<field name="name">journal_period_tree</field>
</record>
<record model="ir.action.act_window" id="act_journal_period_tree">
<field name="name">Journals - Periods</field>
+12 -221
View File
@@ -6,56 +6,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="move_view_form">
<field name="model">account.move</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Account Move">
<label name="number"/>
<field name="number"/>
<label name="post_number"/>
<field name="post_number"/>
<label name="journal"/>
<field name="journal"/>
<label name="period"/>
<field name="period"/>
<label name="date"/>
<field name="date"/>
<label name="post_date"/>
<field name="post_date"/>
<label name="origin"/>
<field name="origin" colspan="3"/>
<label name="description"/>
<field name="description" colspan="3"/>
<field name="lines" colspan="4"
view_ids="account.move_line_view_tree_move,account.move_line_view_form_move"/>
<label name="state"/>
<field name="state"/>
<group col="2" colspan="2" id="buttons">
<button string="Post" name="post" icon="tryton-ok"/>
<button string="Draft" name="draft"
icon="tryton-clear"/>
</group>
</form>
]]>
</field>
<field name="name">move_form</field>
</record>
<record model="ir.ui.view" id="move_view_tree">
<field name="model">account.move</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Moves">
<field name="number"/>
<field name="post_number"/>
<field name="journal"/>
<field name="period"/>
<field name="date"/>
<field name="post_date"/>
<field name="origin"/>
<field name="state"/>
<field name="create_date" tree_invisible="1"/>
</tree>
]]>
</field>
<field name="name">move_tree</field>
</record>
<record model="ir.action.act_window" id="act_move_form">
<field name="name">Account Moves</field>
@@ -117,26 +73,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="move_reconciliation_view_form">
<field name="model">account.move.reconciliation</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Reconciliation" col="2">
<label name="name"/>
<field name="name"/>
<field name="lines" colspan="2"/>
</form>
]]>
</field>
<field name="name">move_reconciliation_form</field>
</record>
<record model="ir.ui.view" id="move_reconciliation_view_tree">
<field name="model">account.move.reconciliation</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Reconciliations">
<field name="name"/>
</tree>
]]>
</field>
<field name="name">move_reconciliation_tree</field>
</record>
<record model="ir.model.access" id="access_move_reconciliation">
<field name="model" search="[('model', '=', 'account.move.reconciliation')]"/>
@@ -185,139 +127,28 @@ this repository contains the full copyright notices and license terms. -->
<field name="model">account.move.line</field>
<field name="type">form</field>
<field name="priority" eval="10"/>
<field name="arch" type="xml">
<![CDATA[
<form string="Account Move Line">
<label name="account"/>
<field name="account"/>
<label name="move"/>
<field name="move"/>
<label name="journal"/>
<field name="journal"/>
<label name="period"/>
<field name="period"/>
<label name="debit"/>
<field name="debit"/>
<label name="credit"/>
<field name="credit"/>
<label name="origin"/>
<field name="origin" colspan="3"/>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="4">
<page string="Other Info" id="info">
<label name="date"/>
<field name="date"/>
<label name="maturity_date"/>
<field name="maturity_date"/>
<label name="party"/>
<field name="party"/>
<label name="reconciliation"/>
<field name="reconciliation"/>
<label name="amount_second_currency"/>
<field name="amount_second_currency"/>
<label name="second_currency"/>
<field name="second_currency"/>
</page>
<page name="tax_lines">
<field name="tax_lines" colspan="4"/>
</page>
</notebook>
<label name="move_state"/>
<field name="move_state"/>
<label name="state"/>
<field name="state"/>
</form>
]]>
</field>
<field name="name">move_line_form</field>
</record>
<record model="ir.ui.view" id="move_line_view_form_move">
<field name="model">account.move.line</field>
<field name="type">form</field>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<![CDATA[
<form string="Account Move Line">
<label name="account"/>
<field name="account"/>
<newline/>
<label name="debit"/>
<field name="debit"/>
<label name="credit"/>
<field name="credit"/>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="4">
<page string="Other Info" id="info">
<label id="empty" colspan="2"/>
<label name="maturity_date"/>
<field name="maturity_date"/>
<label name="party"/>
<field name="party"/>
<label name="reconciliation"/>
<field name="reconciliation"/>
<label name="amount_second_currency"/>
<field name="amount_second_currency"/>
<label name="second_currency"/>
<field name="second_currency"/>
</page>
<page name="tax_lines">
<field name="tax_lines" colspan="4"/>
</page>
</notebook>
<label id="empty" colspan="2"/>
<label name="state"/>
<field name="state"/>
</form>
]]>
</field>
<field name="name">move_line_form_move</field>
</record>
<record model="ir.ui.view" id="move_line_view_tree">
<field name="model">account.move.line</field>
<field name="type">tree</field>
<field name="priority" eval="10"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Move Lines" editable="top"
on_write="on_write"
colors="If(Equal(Eval('state'), 'draft'), 'red', 'black')">
<field name="move"/>
<field name="origin"/>
<field name="description"/>
<field name="date"/>
<field name="party"/>
<field name="account"/>
<field name="debit" sum="Debit"/>
<field name="credit" sum="Credit"/>
<field name="tax_lines"/>
<field name="reconciliation"/>
<field name="state"/>
<field name="move_state"/>
</tree>
]]>
</field>
<field name="name">move_line_tree</field>
</record>
<record model="ir.ui.view" id="move_line_view_tree_move">
<field name="model">account.move.line</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Move Lines" editable="top">
<field name="move"/>
<field name="description"/>
<field name="party"/>
<field name="account"/>
<field name="debit" sum="Debit"/>
<field name="credit" sum="Credit"/>
<field name="tax_lines"/>
<field name="reconciliation"/>
</tree>
]]>
</field>
<field name="name">move_line_tree_move</field>
</record>
<record model="ir.action.act_window" id="act_move_line_form">
@@ -380,16 +211,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="open_journal_ask_view_form">
<field name="model">account.move.open_journal.ask</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Open Journal">
<label name="journal"/>
<field name="journal"/>
<label name="period"/>
<field name="period"/>
</form>
]]>
</field>
<field name="name">open_journal_ask_form</field>
</record>
<record model="ir.action.wizard" id="act_open_journal">
@@ -422,18 +244,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="reconcile_lines_writeoff_view_form">
<field name="model">account.move.reconcile_lines.writeoff</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Write-Off">
<label name="journal"/>
<field name="journal"/>
<label name="date"/>
<field name="date"/>
<label name="account"/>
<field name="account"/>
</form>
]]>
</field>
<field name="name">reconcile_lines_writeoff_form</field>
</record>
<record model="ir.action.wizard" id="act_reconcile_lines">
<field name="name">Reconcile Lines</field>
@@ -460,14 +271,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="open_reconcile_lines_start_view_form">
<field name="model">account.move.open_reconcile_lines.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Open Reconcile Lines">
<label name="account"/>
<field name="account"/>
</form>
]]>
</field>
<field name="name">open_reconcile_lines_start_form</field>
</record>
<record model="ir.action.wizard" id="act_open_reconcile_lines">
@@ -481,20 +285,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="print_general_journal_start_view_form">
<field name="model">account.move.print_general_journal.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Print General Journal">
<label name="from_date"/>
<field name="from_date"/>
<label name="to_date"/>
<field name="to_date"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
]]>
</field>
<field name="name">print_general_journal_start_form</field>
</record>
<record model="ir.action.wizard" id="wizard_print_general_journal">
+2 -41
View File
@@ -7,51 +7,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="party_view_tree">
<field name="model">party.party</field>
<field name="inherit" ref="party.party_view_tree"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath
expr="/tree/field[@name=&quot;vat_code&quot;]"
position="after">
<field name="receivable_today"/>
<field name="payable_today"/>
</xpath>
</data>
]]>
</field>
<field name="name">party_tree</field>
</record>
<record model="ir.ui.view" id="party_view_form">
<field name="model">party.party</field>
<field name="inherit" ref="party.party_view_form"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath
expr="/form/notebook/page[@id=&quot;accounting&quot;]/field[@name=&quot;vat_number&quot;]"
position="after">
<separator string="Account" colspan="4" id="account"/>
<label name="account_receivable"/>
<field name="account_receivable"/>
<label name="account_payable"/>
<field name="account_payable"/>
<newline/>
<label name="receivable_today"/>
<field name="receivable_today"/>
<label name="payable_today"/>
<field name="payable_today"/>
<label name="receivable"/>
<field name="receivable"/>
<label name="payable"/>
<field name="payable"/>
<separator string="Taxes" colspan="4" id="taxes"/>
<label name="customer_tax_rule"/>
<field name="customer_tax_rule"/>
<label name="supplier_tax_rule"/>
<field name="supplier_tax_rule"/>
</xpath>
</data>
]]>
</field>
<field name="name">party_form</field>
</record>
</data>
+2 -35
View File
@@ -6,45 +6,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="period_view_form">
<field name="model">account.period</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Period">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<newline/>
<label name="start_date"/>
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
<label name="type"/>
<field name="type"/>
<newline/>
<label name="post_move_sequence"/>
<field name="post_move_sequence"/>
<newline/>
<label name="state"/>
<field name="state" colspan="3"/>
</form>
]]>
</field>
<field name="name">period_form</field>
</record>
<record model="ir.ui.view" id="period_view_tree">
<field name="model">account.period</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Periods">
<field name="name"/>
<field name="code"/>
<field name="type"/>
<field name="state"/>
</tree>
]]>
</field>
<field name="name">period_tree</field>
</record>
<record model="ir.action.act_window" id="act_period_form">
<field name="name">Periods</field>
+2 -1
View File
@@ -45,7 +45,8 @@ setup(name='trytond_account',
],
package_data={
'trytond.modules.account': (info.get('xml', [])
+ ['tryton.cfg', 'locale/*.po', '*.odt', 'icons/*.svg']),
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', '*.odt',
'icons/*.svg']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
+26 -402
View File
@@ -9,31 +9,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_group_view_form">
<field name="model">account.tax.group</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Tax Group">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="kind"/>
<field name="kind"/>
</form>
]]>
</field>
<field name="name">tax_group_form</field>
</record>
<record model="ir.ui.view" id="tax_group_view_tree">
<field name="model">account.tax.group</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Groups">
<field name="name"/>
<field name="code"/>
<field name="kind"/>
</tree>
]]>
</field>
<field name="name">tax_group_tree</field>
</record>
<record model="ir.action.act_window" id="act_tax_group_form">
<field name="name">Tax Groups</field>
@@ -71,42 +52,13 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_code_template_view_form">
<field name="model">account.tax.code.template</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Tax Code Template">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="account"/>
<field name="account"/>
<label name="parent"/>
<field name="parent"/>
<notebook colspan="4">
<page string="Children" id="children">
<field name="childs" colspan="4"/>
</page>
<page string="Description" id="description">
<field name="description" colspan="4"/>
</page>
</notebook>
</form>
]]>
</field>
<field name="name">tax_code_template_form</field>
</record>
<record model="ir.ui.view" id="tax_code_template_view_tree">
<field name="model">account.tax.code.template</field>
<field name="type">tree</field>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Codes Templates">
<field name="name"/>
<field name="code"/>
<field name="account"/>
</tree>
]]>
</field>
<field name="name">tax_code_template_tree</field>
</record>
<record model="ir.action.act_window" id="act_tax_code_template_tree">
<field name="name">Tax Codes Templates</field>
@@ -132,61 +84,18 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_code_view_form">
<field name="model">account.tax.code</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Tax Code" col="6">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="active"/>
<field name="active" xexpand="0" width="100"/>
<label name="company"/>
<field name="company"/>
<label name="parent"/>
<field name="parent"/>
<notebook colspan="6">
<page string="Children" id="children">
<field name="childs" colspan="6"/>
</page>
<page string="Description" id="description">
<field name="description" colspan="6"/>
</page>
</notebook>
</form>
]]>
</field>
<field name="name">tax_code_form</field>
</record>
<record model="ir.ui.view" id="tax_code_view_tree">
<field name="model">account.tax.code</field>
<field name="type">tree</field>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Codes">
<field name="name"/>
<field name="code"/>
<field name="company"/>
<field name="active"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
]]>
</field>
<field name="name">tax_code_tree</field>
</record>
<record model="ir.ui.view" id="tax_code_view_list">
<field name="model">account.tax.code</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Codes">
<field name="name"/>
<field name="code"/>
<field name="company"/>
<field name="active"/>
</tree>
]]>
</field>
<field name="name">tax_code_list</field>
</record>
<record model="ir.action.act_window" id="act_tax_code_tree">
@@ -229,15 +138,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="model">account.tax.code</field>
<field name="type">tree</field>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Codes" keyword_open="1">
<field name="name"/>
<field name="code"/>
<field name="sum"/>
</tree>
]]>
</field>
<field name="name">tax_code_tree2</field>
</record>
<record model="ir.action.act_window" id="act_tax_code_tree2">
<field name="name">Tax Codes</field>
@@ -252,17 +153,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_code_open_chart_start_view_form">
<field name="model">account.tax.code.open_chart.start</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Open Chart of Tax Codes" col="2">
<label name="method"/>
<field name="method"/>
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<field name="periods" colspan="2"/>
</form>
]]>
</field>
<field name="name">tax_code_open_chart_start_form</field>
</record>
<record model="ir.action.wizard" id="act_code_tax_open_chart">
<field name="name">Open Chart of Tax Codes</field>
@@ -299,80 +190,13 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_template_view_form">
<field name="model">account.tax.template</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Tax Template">
<label name="name"/>
<field name="name"/>
<label name="account"/>
<field name="account"/>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="4">
<page string="General Information" id="general">
<label name="group"/>
<field name="group"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="type"/>
<field name="type"/>
<group col="1" id="label_amount_percentage">
<label name="amount" yfill="1" xexpand="1" yexpand="1"/>
<label name="percentage" yfill="1" xexpand="1" yexpand="1"/>
</group>
<group col="1" id="amount_percentage">
<field name="amount"/>
<field name="percentage"/>
</group>
<newline/>
<label name="invoice_account"/>
<field name="invoice_account"/>
<newline/>
<label name="credit_note_account"/>
<field name="credit_note_account"/>
<newline/>
<field name="childs" colspan="4"
view_ids="account.tax_view_list"/>
</page>
<page string="Code" id="code">
<separator string="Invoice" colspan="4" id="invoice"/>
<label name="invoice_base_code"/>
<field name="invoice_base_code"/>
<label name="invoice_base_sign"/>
<field name="invoice_base_sign"/>
<label name="invoice_tax_code"/>
<field name="invoice_tax_code"/>
<label name="invoice_tax_sign"/>
<field name="invoice_tax_sign"/>
<separator string="Credit Note" colspan="4" id="credit_note"/>
<label name="credit_note_base_code"/>
<field name="credit_note_base_code"/>
<label name="credit_note_base_sign"/>
<field name="credit_note_base_sign"/>
<label name="credit_note_tax_code"/>
<field name="credit_note_tax_code"/>
<label name="credit_note_tax_sign"/>
<field name="credit_note_tax_sign"/>
</page>
</notebook>
</form>
]]>
</field>
<field name="name">tax_template_form</field>
</record>
<record model="ir.ui.view" id="tax_template_view_tree">
<field name="model">account.tax.template</field>
<field name="type">tree</field>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Taxes Templates" sequence="sequence">
<field name="name"/>
<field name="group"/>
<field name="type"/>
<field name="account"/>
</tree>
]]>
</field>
<field name="name">tax_template_tree</field>
</record>
<record model="ir.action.act_window" id="act_tax_template_tree">
@@ -404,100 +228,20 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_view_form">
<field name="model">account.tax</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Tax">
<label name="name"/>
<field name="name"/>
<label name="active"/>
<field name="active" xexpand="0" width="100"/>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="4">
<page string="General Information" id="general">
<label name="group"/>
<field name="group"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="type"/>
<field name="type"/>
<group col="1" id="label_amount_percentage">
<label name="amount" yfill="1" xexpand="1" yexpand="1"/>
<label name="percentage" yfill="1" xexpand="1" yexpand="1"/>
</group>
<group col="1" id="amount_percentage">
<field name="amount"/>
<field name="percentage"/>
</group>
<label name="company"/>
<field name="company"/>
<newline/>
<label name="invoice_account"/>
<field name="invoice_account"/>
<newline/>
<label name="credit_note_account"/>
<field name="credit_note_account"/>
<newline/>
<field name="childs" colspan="4"
view_ids="account.tax_view_list"/>
</page>
<page string="Code" id="code">
<separator string="Invoice" colspan="4" id="invoice"/>
<label name="invoice_base_code"/>
<field name="invoice_base_code"/>
<label name="invoice_base_sign"/>
<field name="invoice_base_sign"/>
<label name="invoice_tax_code"/>
<field name="invoice_tax_code"/>
<label name="invoice_tax_sign"/>
<field name="invoice_tax_sign"/>
<separator string="Credit Note" colspan="4" id="credit_note"/>
<label name="credit_note_base_code"/>
<field name="credit_note_base_code"/>
<label name="credit_note_base_sign"/>
<field name="credit_note_base_sign"/>
<label name="credit_note_tax_code"/>
<field name="credit_note_tax_code"/>
<label name="credit_note_tax_sign"/>
<field name="credit_note_tax_sign"/>
</page>
</notebook>
</form>
]]>
</field>
<field name="name">tax_form</field>
</record>
<record model="ir.ui.view" id="tax_view_tree">
<field name="model">account.tax</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Taxes" sequence="sequence">
<field name="name"/>
<field name="group"/>
<field name="type"/>
<field name="active"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
]]>
</field>
<field name="name">tax_tree</field>
</record>
<record model="ir.ui.view" id="tax_view_list">
<field name="model">account.tax</field>
<field name="type">tree</field>
<field name="priority" eval="10"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Taxes" sequence="sequence">
<field name="name"/>
<field name="group"/>
<field name="type"/>
<field name="active"/>
</tree>
]]>
</field>
<field name="name">tax_list</field>
</record>
<record model="ir.action.act_window" id="act_tax_tree">
@@ -565,34 +309,12 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_line_view_form">
<field name="model">account.tax.line</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Account Tax Line">
<label name="move_line"/>
<field name="move_line" colspan="3"/>
<label name="tax"/>
<field name="tax"/>
<label name="code"/>
<field name="code"/>
<label name="amount"/>
<field name="amount"/>
</form>
]]>
</field>
<field name="name">tax_line_form</field>
</record>
<record model="ir.ui.view" id="tax_line_view_tree">
<field name="model">account.tax.line</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Account Tax Lines" editable="bottom">
<field name="tax"/>
<field name="code"/>
<field name="amount"/>
<field name="move_line"/>
</tree>
]]>
</field>
<field name="name">tax_line_tree</field>
</record>
<record model="ir.action.act_window" id="act_tax_line_form">
<field name="name">Tax Lines</field>
@@ -638,33 +360,13 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_rule_template_view_form">
<field name="model">account.tax.rule.template</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Tax Rule Template">
<label name="name"/>
<field name="name"/>
<label name="account"/>
<field name="account"/>
<label name="kind"/>
<field name="kind"/>
<field name="lines" colspan="4"/>
</form>
]]>
</field>
<field name="name">tax_rule_template_form</field>
</record>
<record model="ir.ui.view" id="tax_rule_template_view_tree">
<field name="model">account.tax.rule.template</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Rules">
<field name="account"/>
<field name="name"/>
<field name="kind"/>
</tree>
]]>
</field>
<field name="name">tax_rule_template_tree</field>
</record>
<record model="ir.action.act_window" id="act_tax_rule_template_form">
@@ -695,33 +397,13 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_rule_view_form">
<field name="model">account.tax.rule</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Tax Rule">
<label name="name"/>
<field name="name"/>
<label name="company"/>
<field name="company"/>
<label name="kind"/>
<field name="kind"/>
<field name="lines" colspan="4"
view_ids="account.tax_rule_line_view_tree_sequence"/>
</form>
]]>
</field>
<field name="name">tax_rule_form</field>
</record>
<record model="ir.ui.view" id="tax_rule_view_tree">
<field name="model">account.tax.rule</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Rules">
<field name="name"/>
<field name="kind"/>
</tree>
]]>
</field>
<field name="name">tax_rule_tree</field>
</record>
<record model="ir.action.act_window" id="act_tax_rule_form">
@@ -767,41 +449,16 @@ this repository contains the full copyright notices and license terms. -->
<field name="rule_group" ref="rule_group_tax_rule"/>
</record>
<record model="ir.ui.view" id="tax_rule_line_templae_view_form">
<record model="ir.ui.view" id="tax_rule_line_template_view_form">
<field name="model">account.tax.rule.line.template</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Tax Rule Line Template">
<label name="rule"/>
<field name="rule"/>
<newline/>
<label name="group"/>
<field name="group"/>
<label name="origin_tax"/>
<field name="origin_tax"/>
<label name="tax"/>
<field name="tax"/>
<label name="sequence"/>
<field name="sequence"/>
</form>
]]>
</field>
<field name="name">tax_rule_line_template_form</field>
</record>
<record model="ir.ui.view" id="tax_rule_line_template_view_tree">
<field name="model">account.tax.rule.line.template</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Rule Line Templates">
<field name="rule"/>
<field name="group"/>
<field name="origin_tax"/>
<field name="tax"/>
</tree>
]]>
</field>
<field name="name">tax_rule_line_template_tree</field>
</record>
<record model="ir.model.access" id="access_tax_rule_line_template">
@@ -816,54 +473,21 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="tax_rule_line_view_form">
<field name="model">account.tax.rule.line</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Tax Rule Line">
<label name="rule"/>
<field name="rule"/>
<newline/>
<label name="group"/>
<field name="group"/>
<label name="origin_tax"/>
<field name="origin_tax"/>
<label name="tax"/>
<field name="tax"/>
<label name="sequence"/>
<field name="sequence"/>
</form>
]]>
</field>
<field name="name">tax_rule_line_form</field>
</record>
<record model="ir.ui.view" id="tax_rule_line_view_tree">
<field name="model">account.tax.rule.line</field>
<field name="type">tree</field>
<field name="priority" eval="10"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Rule Lines">
<field name="rule"/>
<field name="group"/>
<field name="origin_tax"/>
<field name="tax"/>
</tree>
]]>
</field>
<field name="name">tax_rule_line_tree</field>
</record>
<record model="ir.ui.view" id="tax_rule_line_view_tree_sequence">
<field name="model">account.tax.rule.line</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Tax Rule Lines" sequence="sequence">
<field name="group"/>
<field name="origin_tax"/>
<field name="tax"/>
</tree>
]]>
</field>
<field name="name">tax_rule_line_tree_sequence</field>
</record>
<record model="ir.model.access" id="access_tax_rule_line">
+7
View 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. -->
<tree string="Balance Sheet" keyword_open="1">
<field name="name"/>
<field name="amount"/>
</tree>
+15
View 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 string="Account Deferral">
<label name="account"/>
<field name="account"/>
<newline/>
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<newline/>
<label name="debit"/>
<field name="debit"/>
<label name="credit"/>
<field name="credit"/>
</form>
+9
View 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. -->
<tree string="Account Deferrals">
<field name="account"/>
<field name="fiscalyear"/>
<field name="debit"/>
<field name="credit"/>
</tree>
+38
View File
@@ -0,0 +1,38 @@
<?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="Account" col="6">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="active"/>
<field name="active" xexpand="0" width="100"/>
<notebook colspan="6">
<page string="General Information" id="general">
<label name="company"/>
<field name="company"/>
<label name="parent"/>
<field name="parent"/>
<label name="kind"/>
<field name="kind"/>
<label name="type"/>
<field name="type"/>
<label name="deferral"/>
<field name="deferral"/>
<label name="reconcile"/>
<field name="reconcile"/>
<label name="currency"/>
<field name="currency"/>
<label name="second_currency"/>
<field name="second_currency"/>
<field name="taxes" colspan="4"/>
</page>
<page string="Deferrals" id="deferrals">
<field name="deferrals"/>
</page>
<page string="Notes" id="notes">
<field name="note"/>
</page>
</notebook>
</form>
+7
View 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. -->
<tree string="Income Statement">
<field name="name"/>
<field name="amount"/>
</tree>
+8
View 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 string="Accounts">
<field name="rec_name"/>
<field name="company"/>
<field name="type"/>
</tree>
+11
View 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 string="Accounts" keyword_open="1">
<field name="name"/>
<field name="code"/>
<field name="debit"/>
<field name="credit"/>
<field name="balance"/>
<field name="currency"/>
</tree>
+21
View 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. -->
<form string="Account Template" col="6">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="parent"/>
<field name="parent"/>
<label name="kind"/>
<field name="kind"/>
<label name="type"/>
<field name="type"/>
<newline/>
<label name="deferral"/>
<field name="deferral"/>
<label name="reconcile"/>
<field name="reconcile"/>
<field name="taxes" colspan="6"/>
</form>
+7
View 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. -->
<tree string="Account Templates">
<field name="rec_name"/>
<field name="type"/>
</tree>
+7
View 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. -->
<tree string="Account Templates">
<field name="rec_name"/>
<field name="type"/>
</tree>
+10
View 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 string="Accounts">
<field name="rec_name"/>
<field name="company"/>
<field name="type"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
+11
View 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 string="Accounts" keyword_open="1">
<field name="name"/>
<field name="code"/>
<field name="debit"/>
<field name="credit"/>
<field name="balance"/>
<field name="currency"/>
</tree>
+21
View 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. -->
<form string="Account Type">
<label name="name"/>
<field name="name"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="company"/>
<field name="company"/>
<label name="parent"/>
<field name="parent"/>
<label name="display_balance"/>
<field name="display_balance"/>
<newline/>
<label name="balance_sheet"/>
<field name="balance_sheet"/>
<newline/>
<label name="income_statement"/>
<field name="income_statement"/>
</form>
+6
View 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 string="Account Types">
<field name="name"/>
</tree>
+20
View File
@@ -0,0 +1,20 @@
<?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="Account Type Template">
<label name="name"/>
<field name="name"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="parent"/>
<field name="parent"/>
<newline/>
<label name="display_balance"/>
<field name="display_balance"/>
<newline/>
<label name="balance_sheet"/>
<field name="balance_sheet"/>
<newline/>
<label name="income_statement"/>
<field name="income_statement"/>
</form>
+6
View 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 string="Account Types Templates">
<field name="name"/>
</tree>
+6
View 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 string="Account Types Templates">
<field name="name"/>
</tree>
+8
View 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 string="Account Types">
<field name="name"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
+9
View 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 string="Account Configuration">
<label name="default_account_receivable"/>
<field name="default_account_receivable"/>
<label name="default_account_payable"/>
<field name="default_account_payable"/>
</form>
+9
View 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 string="Create Chart of Accounts" col="2">
<label name="company"/>
<field name="company" widget="selection"/>
<label name="account_template"/>
<field name="account_template" widget="selection"/>
</form>
+9
View 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 string="Create Default Properties" col="2">
<label name="account_receivable"/>
<field name="account_receivable"/>
<label name="account_payable"/>
<field name="account_payable"/>
</form>
+11
View 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. -->
<form string="Create Chart of Accounts" col="2">
<image name="tryton-dialog-information" xexpand="0"
xfill="0"/>
<label
string="You can now create a chart of account for your company by selecting a chart of account template."
id="create"
yalign="0.0" xalign="0.0" xexpand="1"/>
</form>
+40
View File
@@ -0,0 +1,40 @@
<?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="Fiscal Year">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="start_date"/>
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
<label name="company"/>
<field name="company"/>
<label name="state"/>
<field name="state"/>
<notebook colspan="4">
<page string="Periods" id="periods">
<field name="periods" colspan="4"/>
<group col="2" colspan="4" id="buttons">
<button name="create_period"
string="Create Monthly Periods"/>
<button name="create_period_3"
string="Create 3 Months Periods"/>
</group>
</page>
<page string="Sequences" id="sequences">
<label name="post_move_sequence"/>
<field name="post_move_sequence"/>
</page>
</notebook>
<label string="" colspan="2" id="empty"/>
<group col="1" colspan="2" id="buttons">
<button name="close" string="Close Fiscal Year"
icon="tryton-readonly"
confirm="Are you sure to close fiscal year?"/>
<button name="reopen" string="Re-Open Fiscal Year"
icon="tryton-clear"/>
</group>
</form>
+8
View 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 string="Fiscal Years">
<field name="name"/>
<field name="code"/>
<field name="state"/>
</tree>
+32
View File
@@ -0,0 +1,32 @@
<?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="Journal" col="6">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="active"/>
<field name="active" xexpand="0" width="100"/>
<notebook colspan="6">
<page string="General Information" id="general">
<label name="type"/>
<field name="type"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="view"/>
<field name="view"/>
<newline/>
<label name="debit_account"/>
<field name="debit_account"/>
<label name="credit_account"/>
<field name="credit_account"/>
<label name="centralised"/>
<field name="centralised"/>
<newline/>
<label name="update_posted"/>
<field name="update_posted"/>
<newline/>
</page>
</notebook>
</form>
+15
View 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 string="Journal - Period">
<label name="name"/>
<field name="name"/>
<label name="active"/>
<field name="active"/>
<label name="journal"/>
<field name="journal"/>
<label name="period"/>
<field name="period"/>
<label name="state"/>
<field name="state" colspan="3"/>
</form>
+9
View 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. -->
<tree string="Journals - Periods" keyword_open="1">
<field name="name" icon="icon"/>
<field name="journal"/>
<field name="period"/>
<field name="state"/>
</tree>
+8
View 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 string="Journals">
<field name="name"/>
<field name="code"/>
<field name="type"/>
</tree>
+9
View 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 string="Journal Type">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
</form>
+7
View 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. -->
<tree string="Journal Types">
<field name="name"/>
<field name="code"/>
</tree>
+17
View 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 string="View Column">
<label name="name"/>
<field name="name"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="field"/>
<field name="field"/>
<label name="view"/>
<field name="view"/>
<label name="required"/>
<field name="required"/>
<label name="readonly"/>
<field name="readonly"/>
</form>
+10
View 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 string="View Columns">
<field name="view"/>
<field name="name"/>
<field name="field"/>
<field name="required"/>
<field name="readonly"/>
</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. -->
<tree string="View Columns" sequence="sequence" editable="bottom">
<field name="name"/>
<field name="field"/>
<field name="required"/>
<field name="readonly"/>
</tree>
+10
View 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 string="Journal View" col="2">
<label name="name"/>
<field name="name"/>
<field name="columns" colspan="2"
view_ids="account.journal_view_column_view_list_sequence">
</field>
</form>
+6
View 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 string="Journal Views">
<field name="name"/>
</tree>
+30
View File
@@ -0,0 +1,30 @@
<?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="Account Move">
<label name="number"/>
<field name="number"/>
<label name="post_number"/>
<field name="post_number"/>
<label name="journal"/>
<field name="journal"/>
<label name="period"/>
<field name="period"/>
<label name="date"/>
<field name="date"/>
<label name="post_date"/>
<field name="post_date"/>
<label name="origin"/>
<field name="origin" colspan="3"/>
<label name="description"/>
<field name="description" colspan="3"/>
<field name="lines" colspan="4"
view_ids="account.move_line_view_tree_move,account.move_line_view_form_move"/>
<label name="state"/>
<field name="state"/>
<group col="2" colspan="2" id="buttons">
<button string="Post" name="post" icon="tryton-ok"/>
<button string="Draft" name="draft"
icon="tryton-clear"/>
</group>
</form>
+44
View File
@@ -0,0 +1,44 @@
<?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="Account Move Line">
<label name="account"/>
<field name="account"/>
<label name="move"/>
<field name="move"/>
<label name="journal"/>
<field name="journal"/>
<label name="period"/>
<field name="period"/>
<label name="debit"/>
<field name="debit"/>
<label name="credit"/>
<field name="credit"/>
<label name="origin"/>
<field name="origin" colspan="3"/>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="4">
<page string="Other Info" id="info">
<label name="date"/>
<field name="date"/>
<label name="maturity_date"/>
<field name="maturity_date"/>
<label name="party"/>
<field name="party"/>
<label name="reconciliation"/>
<field name="reconciliation"/>
<label name="amount_second_currency"/>
<field name="amount_second_currency"/>
<label name="second_currency"/>
<field name="second_currency"/>
</page>
<page name="tax_lines">
<field name="tax_lines" colspan="4"/>
</page>
</notebook>
<label name="move_state"/>
<field name="move_state"/>
<label name="state"/>
<field name="state"/>
</form>
+35
View File
@@ -0,0 +1,35 @@
<?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="Account Move Line">
<label name="account"/>
<field name="account"/>
<newline/>
<label name="debit"/>
<field name="debit"/>
<label name="credit"/>
<field name="credit"/>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="4">
<page string="Other Info" id="info">
<label id="empty" colspan="2"/>
<label name="maturity_date"/>
<field name="maturity_date"/>
<label name="party"/>
<field name="party"/>
<label name="reconciliation"/>
<field name="reconciliation"/>
<label name="amount_second_currency"/>
<field name="amount_second_currency"/>
<label name="second_currency"/>
<field name="second_currency"/>
</page>
<page name="tax_lines">
<field name="tax_lines" colspan="4"/>
</page>
</notebook>
<label id="empty" colspan="2"/>
<label name="state"/>
<field name="state"/>
</form>
+19
View 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 string="Account Move Lines" editable="top"
on_write="on_write"
colors="If(Equal(Eval('state'), 'draft'), 'red', 'black')">
<field name="move"/>
<field name="origin"/>
<field name="description"/>
<field name="date"/>
<field name="party"/>
<field name="account"/>
<field name="debit" sum="Debit"/>
<field name="credit" sum="Credit"/>
<field name="tax_lines"/>
<field name="reconciliation"/>
<field name="state"/>
<field name="move_state"/>
</tree>
+13
View 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 string="Account Move Lines" editable="top">
<field name="move"/>
<field name="description"/>
<field name="party"/>
<field name="account"/>
<field name="debit" sum="Debit"/>
<field name="credit" sum="Credit"/>
<field name="tax_lines"/>
<field name="reconciliation"/>
</tree>
+8
View 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. -->
<form string="Reconciliation" col="2">
<label name="name"/>
<field name="name"/>
<field name="lines" colspan="2"/>
</form>
+6
View 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 string="Reconciliations">
<field name="name"/>
</tree>
+14
View 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 string="Account Moves">
<field name="number"/>
<field name="post_number"/>
<field name="journal"/>
<field name="period"/>
<field name="date"/>
<field name="post_date"/>
<field name="origin"/>
<field name="state"/>
<field name="create_date" tree_invisible="1"/>
</tree>
+23
View 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 string="Open Aged Balance" col="4">
<label name="balance_type"/>
<field name="balance_type"/>
<newline/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
<separator string="Terms" colspan="4" id="terms"/>
<label name="term1"/>
<field name="term1"/>
<label name="unit"/>
<field name="unit"/>
<newline/>
<label name="term2"/>
<field name="term2"/>
<newline/>
<label name="term3"/>
<field name="term3"/>
</form>
+11
View 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. -->
<form string="Open Balance Sheet" col="2">
<label name="date"/>
<field name="date"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
+9
View 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 string="Open Chart of Accounts" col="2">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<label name="posted"/>
<field name="posted"/>
</form>
+16
View 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 string="Open Income Statement">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<newline/>
<label name="start_period"/>
<field name="start_period"/>
<label name="end_period"/>
<field name="end_period"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
+9
View 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 string="Open Journal">
<label name="journal"/>
<field name="journal"/>
<label name="period"/>
<field name="period"/>
</form>
+7
View 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 string="Open Reconcile Lines">
<label name="account"/>
<field name="account"/>
</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. -->
<form string="Open Third Party Balance" col="4">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<newline/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
+28
View File
@@ -0,0 +1,28 @@
<?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='accounting']/field[@name='vat_number']"
position="after">
<separator string="Account" colspan="4" id="account"/>
<label name="account_receivable"/>
<field name="account_receivable"/>
<label name="account_payable"/>
<field name="account_payable"/>
<newline/>
<label name="receivable_today"/>
<field name="receivable_today"/>
<label name="payable_today"/>
<field name="payable_today"/>
<label name="receivable"/>
<field name="receivable"/>
<label name="payable"/>
<field name="payable"/>
<separator string="Taxes" colspan="4" id="taxes"/>
<label name="customer_tax_rule"/>
<field name="customer_tax_rule"/>
<label name="supplier_tax_rule"/>
<field name="supplier_tax_rule"/>
</xpath>
</data>
+11
View 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="/tree/field[@name=&quot;vat_code&quot;]"
position="after">
<field name="receivable_today"/>
<field name="payable_today"/>
</xpath>
</data>
+24
View File
@@ -0,0 +1,24 @@
<?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="Period">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<newline/>
<label name="start_date"/>
<field name="start_date"/>
<label name="end_date"/>
<field name="end_date"/>
<label name="type"/>
<field name="type"/>
<newline/>
<label name="post_move_sequence"/>
<field name="post_move_sequence"/>
<newline/>
<label name="state"/>
<field name="state" colspan="3"/>
</form>
+9
View 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. -->
<tree string="Periods">
<field name="name"/>
<field name="code"/>
<field name="type"/>
<field name="state"/>
</tree>
+13
View 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. -->
<form string="Print General Journal">
<label name="from_date"/>
<field name="from_date"/>
<label name="to_date"/>
<field name="to_date"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
+17
View 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 string="Print General Ledger">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<label name="empty_account"/>
<field name="empty_account"/>
<label name="start_period"/>
<field name="start_period"/>
<label name="end_period"/>
<field name="end_period"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
+17
View 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 string="Print Trial Balance">
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<label name="empty_account"/>
<field name="empty_account"/>
<label name="start_period"/>
<field name="start_period"/>
<label name="end_period"/>
<field name="end_period"/>
<label name="company"/>
<field name="company"/>
<label name="posted"/>
<field name="posted"/>
</form>
+11
View 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. -->
<form string="Write-Off">
<label name="journal"/>
<field name="journal"/>
<label name="date"/>
<field name="date"/>
<label name="account"/>
<field name="account"/>
</form>
+23
View 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 string="Tax Code" col="6">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="active"/>
<field name="active" xexpand="0" width="100"/>
<label name="company"/>
<field name="company"/>
<label name="parent"/>
<field name="parent"/>
<notebook colspan="6">
<page string="Children" id="children">
<field name="childs" colspan="6"/>
</page>
<page string="Description" id="description">
<field name="description" colspan="6"/>
</page>
</notebook>
</form>
+9
View 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. -->
<tree string="Tax Codes">
<field name="name"/>
<field name="code"/>
<field name="company"/>
<field name="active"/>
</tree>
+10
View 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 string="Open Chart of Tax Codes" col="2">
<label name="method"/>
<field name="method"/>
<label name="fiscalyear"/>
<field name="fiscalyear"/>
<field name="periods" colspan="2"/>
</form>
+21
View 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. -->
<form string="Tax Code Template">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="account"/>
<field name="account"/>
<label name="parent"/>
<field name="parent"/>
<notebook colspan="4">
<page string="Children" id="children">
<field name="childs" colspan="4"/>
</page>
<page string="Description" id="description">
<field name="description" colspan="4"/>
</page>
</notebook>
</form>
+8
View 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 string="Tax Codes Templates">
<field name="name"/>
<field name="code"/>
<field name="account"/>
</tree>
+11
View 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 string="Tax Codes">
<field name="name"/>
<field name="code"/>
<field name="company"/>
<field name="active"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
+8
View 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 string="Tax Codes" keyword_open="1">
<field name="name"/>
<field name="code"/>
<field name="sum"/>
</tree>
+60
View File
@@ -0,0 +1,60 @@
<?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="Tax">
<label name="name"/>
<field name="name"/>
<label name="active"/>
<field name="active" xexpand="0" width="100"/>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="4">
<page string="General Information" id="general">
<label name="group"/>
<field name="group"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="type"/>
<field name="type"/>
<group col="1" id="label_amount_percentage">
<label name="amount" yfill="1" xexpand="1" yexpand="1"/>
<label name="percentage" yfill="1" xexpand="1" yexpand="1"/>
</group>
<group col="1" id="amount_percentage">
<field name="amount"/>
<field name="percentage"/>
</group>
<label name="company"/>
<field name="company"/>
<newline/>
<label name="invoice_account"/>
<field name="invoice_account"/>
<newline/>
<label name="credit_note_account"/>
<field name="credit_note_account"/>
<newline/>
<field name="childs" colspan="4"
view_ids="account.tax_view_list"/>
</page>
<page string="Code" id="code">
<separator string="Invoice" colspan="4" id="invoice"/>
<label name="invoice_base_code"/>
<field name="invoice_base_code"/>
<label name="invoice_base_sign"/>
<field name="invoice_base_sign"/>
<label name="invoice_tax_code"/>
<field name="invoice_tax_code"/>
<label name="invoice_tax_sign"/>
<field name="invoice_tax_sign"/>
<separator string="Credit Note" colspan="4" id="credit_note"/>
<label name="credit_note_base_code"/>
<field name="credit_note_base_code"/>
<label name="credit_note_base_sign"/>
<field name="credit_note_base_sign"/>
<label name="credit_note_tax_code"/>
<field name="credit_note_tax_code"/>
<label name="credit_note_tax_sign"/>
<field name="credit_note_tax_sign"/>
</page>
</notebook>
</form>
+11
View 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. -->
<form string="Tax Group">
<label name="name"/>
<field name="name"/>
<label name="code"/>
<field name="code"/>
<label name="kind"/>
<field name="kind"/>
</form>
+8
View 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 string="Tax Groups">
<field name="name"/>
<field name="code"/>
<field name="kind"/>
</tree>
+13
View 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. -->
<form string="Account Tax Line">
<label name="move_line"/>
<field name="move_line" colspan="3"/>
<label name="tax"/>
<field name="tax"/>
<label name="code"/>
<field name="code"/>
<label name="amount"/>
<field name="amount"/>
</form>
+9
View 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. -->
<tree string="Account Tax Lines" editable="bottom">
<field name="tax"/>
<field name="code"/>
<field name="amount"/>
<field name="move_line"/>
</tree>
+9
View 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. -->
<tree string="Taxes" sequence="sequence">
<field name="name"/>
<field name="group"/>
<field name="type"/>
<field name="active"/>
</tree>
+13
View 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. -->
<form string="Tax Rule">
<label name="name"/>
<field name="name"/>
<label name="company"/>
<field name="company"/>
<label name="kind"/>
<field name="kind"/>
<field name="lines" colspan="4"
view_ids="account.tax_rule_line_view_tree_sequence"/>
</form>
+16
View 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 string="Tax Rule Line">
<label name="rule"/>
<field name="rule"/>
<newline/>
<label name="group"/>
<field name="group"/>
<label name="origin_tax"/>
<field name="origin_tax"/>
<label name="tax"/>
<field name="tax"/>
<label name="sequence"/>
<field name="sequence"/>
</form>
+16
View 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 string="Tax Rule Line Template">
<label name="rule"/>
<field name="rule"/>
<newline/>
<label name="group"/>
<field name="group"/>
<label name="origin_tax"/>
<field name="origin_tax"/>
<label name="tax"/>
<field name="tax"/>
<label name="sequence"/>
<field name="sequence"/>
</form>
+9
View 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. -->
<tree string="Tax Rule Line Templates">
<field name="rule"/>
<field name="group"/>
<field name="origin_tax"/>
<field name="tax"/>
</tree>
+9
View 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. -->
<tree string="Tax Rule Lines">
<field name="rule"/>
<field name="group"/>
<field name="origin_tax"/>
<field name="tax"/>
</tree>
+8
View 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 string="Tax Rule Lines" sequence="sequence">
<field name="group"/>
<field name="origin_tax"/>
<field name="tax"/>
</tree>
+12
View 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 string="Tax Rule Template">
<label name="name"/>
<field name="name"/>
<label name="account"/>
<field name="account"/>
<label name="kind"/>
<field name="kind"/>
<field name="lines" colspan="4"/>
</form>
+8
View 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 string="Tax Rules">
<field name="account"/>
<field name="name"/>
<field name="kind"/>
</tree>
+7
View 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. -->
<tree string="Tax Rules">
<field name="name"/>
<field name="kind"/>
</tree>
+58
View File
@@ -0,0 +1,58 @@
<?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="Tax Template">
<label name="name"/>
<field name="name"/>
<label name="account"/>
<field name="account"/>
<label name="description"/>
<field name="description" colspan="3"/>
<notebook colspan="4">
<page string="General Information" id="general">
<label name="group"/>
<field name="group"/>
<label name="sequence"/>
<field name="sequence"/>
<label name="type"/>
<field name="type"/>
<group col="1" id="label_amount_percentage">
<label name="amount" yfill="1" xexpand="1" yexpand="1"/>
<label name="percentage" yfill="1" xexpand="1" yexpand="1"/>
</group>
<group col="1" id="amount_percentage">
<field name="amount"/>
<field name="percentage"/>
</group>
<newline/>
<label name="invoice_account"/>
<field name="invoice_account"/>
<newline/>
<label name="credit_note_account"/>
<field name="credit_note_account"/>
<newline/>
<field name="childs" colspan="4"
view_ids="account.tax_view_list"/>
</page>
<page string="Code" id="code">
<separator string="Invoice" colspan="4" id="invoice"/>
<label name="invoice_base_code"/>
<field name="invoice_base_code"/>
<label name="invoice_base_sign"/>
<field name="invoice_base_sign"/>
<label name="invoice_tax_code"/>
<field name="invoice_tax_code"/>
<label name="invoice_tax_sign"/>
<field name="invoice_tax_sign"/>
<separator string="Credit Note" colspan="4" id="credit_note"/>
<label name="credit_note_base_code"/>
<field name="credit_note_base_code"/>
<label name="credit_note_base_sign"/>
<field name="credit_note_base_sign"/>
<label name="credit_note_tax_code"/>
<field name="credit_note_tax_code"/>
<label name="credit_note_tax_sign"/>
<field name="credit_note_tax_sign"/>
</page>
</notebook>
</form>
+9
View 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. -->
<tree string="Taxes Templates" sequence="sequence">
<field name="name"/>
<field name="group"/>
<field name="type"/>
<field name="account"/>
</tree>
+11
View 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 string="Taxes" sequence="sequence">
<field name="name"/>
<field name="group"/>
<field name="type"/>
<field name="active"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
+7
View 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 string="Update Chart of Accounts" col="2">
<label name="account"/>
<field name="account"/>
</form>
+8
View 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. -->
<form string="Update Chart of Accounts">
<image name="tryton-dialog-information" xexpand="0" xfill="0"/>
<label string="Update Chart of Accounts Succeed!" id="succeed"
yalign="0.0" xalign="0.0" xexpand="1"/>
</form>