Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
26
account_usability/views/menu.xml
Executable file
26
account_usability/views/menu.xml
Executable file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2019 - Today: GRAP (http://www.grap.coop)
|
||||
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
-->
|
||||
<odoo>
|
||||
<!-- Rename groups to fit with EE naming 'Billing' -> 'Accounting' -->
|
||||
<record id="account.menu_finance" model="ir.ui.menu">
|
||||
<field name="name">Accounting</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_accounting_bank_and_cash"
|
||||
name="Bank and Cash"
|
||||
parent="account.menu_finance_entries"
|
||||
sequence="15"
|
||||
/>
|
||||
<menuitem
|
||||
id="menu_account_coa_settings"
|
||||
sequence="200"
|
||||
name="Templates"
|
||||
parent="account.menu_finance_configuration"
|
||||
groups="base.group_no_one"
|
||||
/>
|
||||
</odoo>
|
||||
33
account_usability/views/res_config_settings_views.xml
Executable file
33
account_usability/views/res_config_settings_views.xml
Executable file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<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>
|
||||
20
account_usability/views/view_account_bank_statement.xml
Executable file
20
account_usability/views/view_account_bank_statement.xml
Executable file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2019 - Today: GRAP (http://www.grap.coop)
|
||||
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
-->
|
||||
<odoo>
|
||||
<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>
|
||||
33
account_usability/views/view_account_group.xml
Executable file
33
account_usability/views/view_account_group.xml
Executable file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="view_account_group_form" model="ir.ui.view">
|
||||
<field name="model">account.group</field>
|
||||
<field name="inherit_id" ref="account.view_account_group_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group" position="after">
|
||||
<group id="links" string="Accounts">
|
||||
<field
|
||||
name="account_ids"
|
||||
widget="many2many_tags"
|
||||
nolabel="1"
|
||||
options="{'no_create_edit': True}"
|
||||
colspan="2"
|
||||
/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="account_group_action" model="ir.actions.act_window">
|
||||
<field name="name">Account Groups</field>
|
||||
<field name="res_model">account.group</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="account_group_menu"
|
||||
action="account_group_action"
|
||||
sequence="50"
|
||||
parent="account.account_account_menu"
|
||||
/>
|
||||
</odoo>
|
||||
11
account_usability/views/view_account_move_line.xml
Executable file
11
account_usability/views/view_account_move_line.xml
Executable file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2023 - Creu Blanca
|
||||
@author: Enric Tobella
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
-->
|
||||
<odoo>
|
||||
<record id="account.action_account_moves_all_tree" model="ir.actions.act_window">
|
||||
<field name="binding_model_id" ref="base.model_res_partner" />
|
||||
</record>
|
||||
</odoo>
|
||||
39
account_usability/views/view_account_tag.xml
Executable file
39
account_usability/views/view_account_tag.xml
Executable file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="account_tag_view_form" model="ir.ui.view">
|
||||
<field name="model">account.account.tag</field>
|
||||
<field name="inherit_id" ref="account.account_tag_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group" position="after">
|
||||
<group>
|
||||
<group id="links">
|
||||
<label
|
||||
for="account_ids"
|
||||
invisible="applicability != 'accounts'"
|
||||
/>
|
||||
<field
|
||||
name="account_ids"
|
||||
widget="many2many_tags"
|
||||
nolabel="1"
|
||||
invisible="applicability != 'accounts'"
|
||||
options="{'no_create_edit': True}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="account_account_tag_action" 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="account_tag_menu"
|
||||
action="account_account_tag_action"
|
||||
sequence="40"
|
||||
parent="account.account_account_menu"
|
||||
/>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user