Tower: upload om_account_accountant 19.0.1.0.3 (was 1.0.3, via marketplace)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
|
||||
<menuitem id="menu_accounting_bank_and_cash"
|
||||
name="Bank and Cash"
|
||||
parent="account.menu_finance_entries"
|
||||
sequence="15"/>
|
||||
|
||||
<menuitem id="menu_accounting_statement_bank"
|
||||
action="account.action_bank_statement_tree"
|
||||
parent="menu_accounting_bank_and_cash"
|
||||
sequence="10"/>
|
||||
|
||||
<menuitem id="menu_accounting_statement_cash"
|
||||
action="account.action_view_bank_statement_tree"
|
||||
parent="menu_accounting_bank_and_cash"
|
||||
sequence="20"/>
|
||||
|
||||
</odoo>
|
||||
16
addons/om_account_accountant/views/account_group.xml
Normal file
16
addons/om_account_accountant/views/account_group.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="action_account_group_action" model="ir.actions.act_window">
|
||||
<field name="name">Account Groups</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.group</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_group"
|
||||
action="action_account_group_action"
|
||||
sequence="50"
|
||||
parent="account.account_account_menu"/>
|
||||
|
||||
</odoo>
|
||||
18
addons/om_account_accountant/views/account_journal.xml
Normal file
18
addons/om_account_accountant/views/account_journal.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_account_journal_form" model="ir.ui.view">
|
||||
<field name="name">account.journal</field>
|
||||
<field name="model">account.journal</field>
|
||||
<field name="inherit_id" ref="account.view_account_journal_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='inbound_payment_method_line_ids']/list/field[@name='payment_account_id']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='outbound_payment_method_line_ids']/list/field[@name='payment_account_id']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
15
addons/om_account_accountant/views/account_tag.xml
Normal file
15
addons/om_account_accountant/views/account_tag.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="action_account_account_tag" model="ir.actions.act_window">
|
||||
<field name="name">Account Tags</field>
|
||||
<field name="res_model">account.account.tag</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_tag"
|
||||
action="action_account_account_tag"
|
||||
sequence="40"
|
||||
parent="account.account_account_menu"/>
|
||||
|
||||
</odoo>
|
||||
41
addons/om_account_accountant/views/menu.xml
Normal file
41
addons/om_account_accountant/views/menu.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<menuitem id="account.menu_finance" name="Accounting"/>
|
||||
|
||||
<menuitem id="menu_account_templates"
|
||||
sequence="100"
|
||||
name="Templates"
|
||||
parent="account.menu_finance_configuration"
|
||||
groups="base.group_no_one"/>
|
||||
|
||||
<record id="account.menu_action_account_moves_all" model="ir.ui.menu">
|
||||
<field name="group_ids" eval="[(5,0,0)]" />
|
||||
</record>
|
||||
|
||||
<record id="account.menu_action_account_moves_all" model="ir.ui.menu">
|
||||
<field name="sequence">2</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_finance_entries_accounting_journals" name="Journals"
|
||||
parent="account.menu_finance_entries" sequence="2">
|
||||
|
||||
<menuitem id="menu_action_account_moves_journal_sales"
|
||||
action="account.action_account_moves_journal_sales"
|
||||
groups="account.group_account_readonly" sequence="1"/>
|
||||
|
||||
<menuitem id="menu_action_account_moves_journal_purchase"
|
||||
action="account.action_account_moves_journal_purchase"
|
||||
groups="account.group_account_readonly" sequence="2"/>
|
||||
|
||||
<menuitem id="menu_action_account_moves_journal_bank_cash"
|
||||
action="account.action_account_moves_journal_bank_cash"
|
||||
groups="account.group_account_readonly" sequence="3"/>
|
||||
|
||||
<menuitem id="menu_action_account_moves_journal_misc"
|
||||
action="account.action_account_moves_journal_misc"
|
||||
groups="account.group_account_readonly" sequence="4"/>
|
||||
|
||||
</menuitem>
|
||||
|
||||
</odoo>
|
||||
62
addons/om_account_accountant/views/payment_method.xml
Normal file
62
addons/om_account_accountant/views/payment_method.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_account_payment_method_form" model="ir.ui.view">
|
||||
<field name="name">account.payment.method</field>
|
||||
<field name="model">account.payment.method</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Payment Methods" create="0" edit="0" delete="0">
|
||||
<sheet>
|
||||
<group>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
<field name="payment_type"/>
|
||||
|
||||
</group>
|
||||
<group>
|
||||
<field name="code"/>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_payment_method_tree" model="ir.ui.view">
|
||||
<field name="name">account.payment.method</field>
|
||||
<field name="model">account.payment.method</field>
|
||||
<field name="arch" type="xml">
|
||||
<list string="Payment Methods" create="0" edit="0" delete="0">
|
||||
<field name="name"/>
|
||||
<field name="payment_type"/>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_payment_method_search" model="ir.ui.view">
|
||||
<field name="name">account.payment.method</field>
|
||||
<field name="model">account.payment.method</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Payment Methods">
|
||||
<field name="name" string="Payment Method"/>
|
||||
<field name="payment_type"/>
|
||||
<group>
|
||||
<filter name="payment_type" string="Payment Type" context="{'group_by':'payment_type'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_account_payment_method" model="ir.actions.act_window">
|
||||
<field name="name">Payment Methods</field>
|
||||
<field name="res_model">account.payment.method</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_payment_method"
|
||||
action="action_account_payment_method"
|
||||
parent="account.root_payment_menu"
|
||||
sequence="30"
|
||||
groups="base.group_no_one" />
|
||||
|
||||
</odoo>
|
||||
13
addons/om_account_accountant/views/reconciliation.xml
Normal file
13
addons/om_account_accountant/views/reconciliation.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="action_account_reconciliation" model="ir.actions.server">
|
||||
<field name="name">Reconcile</field>
|
||||
<field name="model_id" ref="account.model_account_move_line"/>
|
||||
<field name="binding_model_id" ref="account.model_account_move_line"/>
|
||||
<field name="state">code</field>
|
||||
<field name="code">action = records.reconcile()</field>
|
||||
<field name="group_ids" eval="[(4, ref('account.group_account_user'))]" />
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
15
addons/om_account_accountant/views/res_partner.xml
Normal file
15
addons/om_account_accountant/views/res_partner.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_partner_property_form" model="ir.ui.view">
|
||||
<field name="name">res.partner</field>
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="account.view_partner_property_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='accounting']" position="attributes">
|
||||
<attribute name="string">Accounting</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
36
addons/om_account_accountant/views/settings.xml
Normal file
36
addons/om_account_accountant/views/settings.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.accountant</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//app[@name='account']" position="attributes">
|
||||
<attribute name="data-string">Accounting</attribute>
|
||||
<attribute name="string">Accounting</attribute>
|
||||
</xpath>
|
||||
<app name="account" position="inside">
|
||||
<h2>Anglo-Saxon Accounting</h2>
|
||||
<div class="row mt16 o_settings_container"
|
||||
name="anglo_saxon_setting_container">
|
||||
<div class="col-12 col-lg-6 o_setting_box" id="anglo_saxon">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="anglo_saxon_accounting" />
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label string="Anglo-Saxon Accounting"
|
||||
for="anglo_saxon_accounting"/>
|
||||
<div class="text-muted">
|
||||
Record the cost of a good as an expense when this good is
|
||||
invoiced to a final customer (instead of recording the cost as soon
|
||||
as the product is received in stock).
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</app>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user