mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-26 07:52:07 +02:00
Initial commit: Odoomates Odoo packages (12 packages)
This commit is contained in:
commit
3b38c49bf0
526 changed files with 34983 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_account_chart_template_form" model="ir.ui.view">
|
||||
<field name="name">account.chart.template.form</field>
|
||||
<field name="model">account.chart.template</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Chart of Accounts Template">
|
||||
<group col="4">
|
||||
<field name="name"/>
|
||||
<field name="parent_id"/>
|
||||
<field name="bank_account_code_prefix"/>
|
||||
<field name="cash_account_code_prefix"/>
|
||||
<field name="transfer_account_code_prefix"/>
|
||||
<field name="code_digits"/>
|
||||
<field name="visible"/>
|
||||
<field name="use_anglo_saxon" />
|
||||
<!-- <field name="complete_tax_set"/>-->
|
||||
</group>
|
||||
<separator string="Default Taxes" colspan="4"/>
|
||||
<field name="tax_template_ids" colspan="4" nolabel="1"/>
|
||||
<separator string="Properties" colspan="4"/>
|
||||
<group col="4">
|
||||
<field name="property_account_receivable_id"/>
|
||||
<field name="property_account_payable_id"/>
|
||||
<field name="property_account_expense_categ_id"/>
|
||||
<field name="property_account_income_categ_id"/>
|
||||
<field name="property_account_expense_id"/>
|
||||
<field name="property_account_income_id"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_chart_template_seacrh" model="ir.ui.view">
|
||||
<field name="name">account.chart.template.search</field>
|
||||
<field name="model">account.chart.template</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Search Chart of Account Templates">
|
||||
<field name="name" string="Account Template"/>
|
||||
<field name="bank_account_code_prefix"/>
|
||||
<field name="cash_account_code_prefix"/>
|
||||
<field name="transfer_account_code_prefix"/>
|
||||
<group expand="0" string="Group By">
|
||||
<filter string="Receivable Account" name="receivalbeacc" domain="[]"
|
||||
context="{'group_by':'property_account_receivable_id'}"/>
|
||||
<filter string="Payable Account" name="payableacc" domain="[]"
|
||||
context="{'group_by':'property_account_payable_id'}"/>
|
||||
<filter string="Income Account" name="incomeacc" domain="[]"
|
||||
context="{'group_by':'property_account_income_categ_id'}"/>
|
||||
<filter string="Expense Account" name="expenseacc" domain="[]"
|
||||
context="{'group_by':'property_account_expense_categ_id'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_chart_template_tree" model="ir.ui.view">
|
||||
<field name="name">account.chart.template.tree</field>
|
||||
<field name="model">account.chart.template</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Chart of Accounts Template">
|
||||
<field name="name"/>
|
||||
<field name="property_account_receivable_id" invisible="1"/>
|
||||
<field name="property_account_payable_id" invisible="1"/>
|
||||
<field name="property_account_expense_categ_id" invisible="1"/>
|
||||
<field name="property_account_income_categ_id" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!--
|
||||
<record id="action_account_chart_template_form" model="ir.actions.act_window">
|
||||
<field name="name">Chart of Accounts Templates</field>
|
||||
<field name="res_model">account.chart.template</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
-->
|
||||
|
||||
<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">tree,form</field>
|
||||
</record>
|
||||
<!--
|
||||
<menuitem id="menu_account_coa_template"
|
||||
action="om_account_accountant.action_account_chart_template_form"
|
||||
parent="menu_account_templates"
|
||||
sequence="10"/>
|
||||
-->
|
||||
|
||||
</odoo>
|
||||
|
|
@ -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">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_group"
|
||||
action="action_account_group_action"
|
||||
sequence="50"
|
||||
parent="account.account_account_menu"/>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
<?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']/tree/field[@name='payment_account_id']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='outbound_payment_method_line_ids']/tree/field[@name='payment_account_id']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!--
|
||||
<record id="view_account_move_line_filter" model="ir.ui.view">
|
||||
<field name="name">account.move.line.search</field>
|
||||
<field name="model">account.move.line</field>
|
||||
|
||||
... misc_filter ...
|
||||
<filter string="Miscellaneous" domain="[('journal_id.type', '=', 'general')]" name="misc_filter" context="{'default_journal_type': 'general'}"/>
|
||||
...
|
||||
-->
|
||||
|
||||
<!-- equiment.request : views -->
|
||||
<record id="account_view_account_move_line_filter_inherit" model="ir.ui.view">
|
||||
<field name="name">account.move.line.search</field>
|
||||
<field name="model">account.move.line</field>
|
||||
<field name="inherit_id" ref="account.view_account_move_line_filter"/>
|
||||
<field name="arch" type="xml">
|
||||
|
||||
<xpath expr="//filter[@name='misc_filter']" position="after">
|
||||
<filter string="PST" name="pst_filter" domain="[('journal_id.code', '=', 'PST')]"/>
|
||||
</xpath>
|
||||
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_account_moves_journal_pst" model="ir.actions.act_window">
|
||||
<field name="context">{'search_default_group_by_move': 1, 'search_default_posted':1, 'search_default_pst_filter':1, 'expand': 1}</field>
|
||||
<field name="name">Početna stanja</field>
|
||||
<field name="res_model">account.move.line</field>
|
||||
<field name="domain">[('display_type', 'not in', ('line_section', 'line_note'))]</field>
|
||||
<field name="view_id" ref="account.view_move_line_tree_grouped_misc"/>
|
||||
<field name="view_mode">tree,pivot,graph,kanban</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -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">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_tag"
|
||||
action="action_account_account_tag"
|
||||
sequence="40"
|
||||
parent="account.account_account_menu"/>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<!--
|
||||
<record id="action_account_fiscal_position_template" model="ir.actions.act_window">
|
||||
<field name="name">Fiscal Position Templates</field>
|
||||
<field name="res_model">account.fiscal.position.template</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_fiscal_position_template"
|
||||
action="action_account_fiscal_position_template"
|
||||
parent="menu_account_templates"
|
||||
sequence="20"/>
|
||||
-->
|
||||
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?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="groups_id" eval="[(5,0,0)]" />
|
||||
</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 id="menu_action_account_moves_journal_pst" action="om_account_accountant.action_account_moves_journal_pst" groups="account.group_account_readonly" sequence="5"/>
|
||||
|
||||
</menuitem>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -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">
|
||||
<tree string="Payment Methods" create="0" edit="0" delete="0">
|
||||
<field name="name"/>
|
||||
<field name="payment_type"/>
|
||||
</tree>
|
||||
</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 expand="0" string="Group By">
|
||||
<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">tree,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>
|
||||
|
|
@ -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="groups_id" eval="[(4, ref('account.group_account_user'))]" />
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -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>
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
<?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="//div[@data-key='account']" position="attributes">
|
||||
<attribute name="data-string">Accounting</attribute>
|
||||
<attribute name="string">Accounting</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='group_show_sale_receipts']" position="attributes">
|
||||
<attribute name="widget"></attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='group_show_purchase_receipts']" position="attributes">
|
||||
<attribute name="widget"></attribute>
|
||||
</xpath>
|
||||
<div data-key="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>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
-->
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue