Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] account_group_menu: Migration to 16.0 #1563

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
94cb634
Add account_group_menu.
Mar 15, 2018
7066e19
OCA Transbot updated translations from Transifex
oca-transbot Mar 30, 2018
fbdb568
Translated using Weblate (Arabic)
osoul Jun 29, 2018
8cc8b71
[MIG] account_group_menu: Migration to 12.0
rven Oct 2, 2018
05fcd88
Fix colliding account codes to run tests
grindtildeath Oct 2, 2018
d1854a6
[UPD] Update account_group_menu.pot
oca-travis Apr 10, 2019
e2806d6
Translated using Weblate (German)
rschnapka Apr 24, 2019
d253064
Added translation using Weblate (Italian)
eLBati May 18, 2019
1f6ac32
Translated using Weblate (Italian)
eLBati May 18, 2019
a47cb24
[UPD] README.rst
OCA-git-bot Jul 29, 2019
fede731
Added translation using Weblate (Portuguese)
pedrocs-exo Aug 12, 2019
8c03c78
Translated using Weblate (Portuguese)
pedrocs-exo Aug 12, 2019
d711e10
Added translation using Weblate (Croatian)
badbole Mar 5, 2020
4bcdd98
Translated using Weblate (Croatian)
badbole Mar 5, 2020
a8e05e0
Translated using Weblate (German)
marylla May 6, 2020
629ee29
Translated using Weblate (French)
pasgou Aug 3, 2021
b3f0550
Translated using Weblate (French)
ypapouin Nov 29, 2021
ebd6b01
Added translation using Weblate (Spanish)
syci Apr 20, 2022
61810df
Translated using Weblate (Spanish)
syci Apr 20, 2022
9f03378
Added translation using Weblate (Danish)
hhgabelgaard Jun 2, 2022
dfc6157
Translated using Weblate (Danish)
hhgabelgaard Jun 2, 2022
9126a21
[IMP] account_group_menu: black, isort, prettier
BT-atornero Jan 23, 2023
8d8e130
[16.0][MIG] account_group_menu: Migration to 16.0
BT-atornero Jan 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions account_group_menu/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
==================
Account Group Menu
==================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-tools/tree/12.0/account_group_menu
:alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_group_menu
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/92/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds menu entries **Account Groups** and **Account Tax Groups** under *Invoicing > Configuration > Accounting*,
because this menu entry doesn't exists in the official *account* module of Odoo 12.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_group_menu%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Forest and Biomass Romania

Contributors
~~~~~~~~~~~~

* Fekete Mihai <feketemihai@gmail.com>
* Raf Ven <raf.ven@dynapps.be>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/12.0/account_group_menu>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions account_group_menu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions account_group_menu/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2018 Forest and Biomass Romania
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Account Group Menu",
"version": "16.0.1.0.0",
"category": "Accounting",
"license": "AGPL-3",
"summary": "Adds menu entries for Account Group and Tax Group",
"author": "Forest and Biomass Romania, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-financial-tools",
"depends": ["account"],
"data": ["views/account_group.xml", "views/account_tax_group.xml"],
"demo": ["demo/account_group.xml", "demo/account_tax_group.xml"],
"installable": True,
}
67 changes: 67 additions & 0 deletions account_group_menu/demo/account_group.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<!-- Groups -->
<record id="demo_account_group_root" model="account.group">
<field name="name">All Company</field>
</record>
<record id="demo_account_group_1" model="account.group">
<field name="name">Class 1</field>
<field name="code_prefix">T1</field>
<field name="parent_id" ref="demo_account_group_root" />
</record>
<record id="demo_account_group_11" model="account.group">
<field name="name">Class 11</field>
<field name="code_prefix">T11</field>
<field name="parent_id" ref="demo_account_group_1" />
</record>
<record id="demo_account_group_2" model="account.group">
<field name="name">Class 2</field>
<field name="code_prefix">T2</field>
<field name="parent_id" ref="demo_account_group_root" />
</record>
<!-- Accounts -->
<record id="demo_account_105" model="account.account">
<field name="name">Account 105</field>
<field name="code">T105</field>
<field name="group_id" ref="demo_account_group_1" />
<field
name="user_type_id"
ref="account.data_account_type_non_current_liabilities"
/>
</record>
<record id="demo_account_110" model="account.account">
<field name="name">Account 110</field>
<field name="code">T110</field>
<field name="group_id" ref="demo_account_group_1" />
<field
name="user_type_id"
ref="account.data_account_type_non_current_liabilities"
/>
</record>
<record id="demo_account_111" model="account.account">
<field name="name">Account 111</field>
<field name="code">T111</field>
<field name="group_id" ref="demo_account_group_1" />
<field
name="user_type_id"
ref="account.data_account_type_non_current_liabilities"
/>
</record>
<record id="demo_account_112" model="account.account">
<field name="name">Account 112</field>
<field name="code">T112</field>
<field name="group_id" ref="demo_account_group_1" />
<field
name="user_type_id"
ref="account.data_account_type_non_current_liabilities"
/>
</record>
<record id="demo_account_130" model="account.account">
<field name="name">Account 130</field>
<field name="code">T130</field>
<field
name="user_type_id"
ref="account.data_account_type_non_current_liabilities"
/>
</record>
</odoo>
94 changes: 94 additions & 0 deletions account_group_menu/demo/account_tax_group.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<!-- Groups -->
<record id="demo_account_tax_group_1" model="account.tax.group">
<field name="name">VAT 5%</field>
<field name="sequence">1</field>
</record>
<record id="demo_account_tax_group_2" model="account.tax.group">
<field name="name">VAT 9%</field>
<field name="sequence">2</field>
</record>
<record id="demo_account_tax_group_3" model="account.tax.group">
<field name="name">VAT 19%</field>
<field name="sequence">2</field>
</record>
<record id="demo_account_tax_group_4" model="account.tax.group">
<field name="name">VAT Cash Basis</field>
<field name="sequence">4</field>
</record>
<!-- VAT -->
<record id="demo_vatc_05" model="account.tax">
<field name="sequence">11</field>
<field name="name">VAT Colected 5%</field>
<field name="description">VAT Colected 5%</field>
<field name="amount">5</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">sale</field>
<field name="tax_group_id" ref="demo_account_tax_group_1" />
<field name="account_id" ref="demo_account_105" />
<field name="refund_account_id" ref="demo_account_105" />
</record>
<record id="demo_vatc_09" model="account.tax">
<field name="sequence">12</field>
<field name="name">VAT Colected 9%</field>
<field name="description">VAT Colected 9%</field>
<field name="amount">9</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">sale</field>
<field name="tax_group_id" ref="demo_account_tax_group_2" />
<field name="account_id" ref="demo_account_111" />
<field name="refund_account_id" ref="demo_account_111" />
</record>
<record id="demo_vatc_19" model="account.tax">
<field name="sequence">13</field>
<field name="name">VAT Colected 19%</field>
<field name="description">VAT Colected 19%</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">sale</field>
<field name="tax_group_id" ref="demo_account_tax_group_3" />
<field name="account_id" ref="demo_account_112" />
<field name="refund_account_id" ref="demo_account_112" />
</record>
<!-- Cash Basis VAT-->
<record id="demo_vatccb_05" model="account.tax">
<field name="sequence">21</field>
<field name="name">VAT Colected Cash-Basis 5%</field>
<field name="description">VAT Colected Cash-Basis 5%</field>
<field name="amount">5</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">sale</field>
<field name="tax_exigibility">on_payment</field>
<field name="tax_group_id" ref="demo_account_tax_group_4" />
<field name="account_id" ref="demo_account_130" />
<field name="refund_account_id" ref="demo_account_130" />
<field name="cash_basis_account_id" ref="demo_account_110" />
</record>
<record id="demo_vatccb_09" model="account.tax">
<field name="sequence">22</field>
<field name="name">VAT Colected Cash-Basis 9%</field>
<field name="description">VAT Colected Cash-Basis 9%</field>
<field name="amount">9</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">sale</field>
<field name="tax_exigibility">on_payment</field>
<field name="tax_group_id" ref="demo_account_tax_group_4" />
<field name="account_id" ref="demo_account_130" />
<field name="refund_account_id" ref="demo_account_130" />
<field name="cash_basis_account_id" ref="demo_account_111" />
</record>
<record id="demo_vatccb_19" model="account.tax">
<field name="sequence">23</field>
<field name="name">VAT Colected Cash-Basis 19%</field>
<field name="description">VAT Colected Cash-Basis 19%</field>
<field name="amount">19</field>
<field name="amount_type">percent</field>
<field name="type_tax_use">sale</field>
<field name="tax_exigibility">on_payment</field>
<field name="tax_group_id" ref="demo_account_tax_group_4" />
<field name="account_id" ref="demo_account_130" />
<field name="refund_account_id" ref="demo_account_130" />
<field name="cash_basis_account_id" ref="demo_account_112" />
</record>
</odoo>
83 changes: 83 additions & 0 deletions account_group_menu/i18n/account_group_menu.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_group_menu
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_group_menu
#: model:ir.model,name:account_group_menu.model_account_group
msgid "Account Group"
msgstr ""

#. module: account_group_menu
#: model:ir.ui.menu,name:account_group_menu.account_group_menu
msgid "Account Groups"
msgstr ""

#. module: account_group_menu
#: model_terms:ir.ui.view,arch_db:account_group_menu.view_account_tax_group_form
#: model_terms:ir.ui.view,arch_db:account_group_menu.view_account_tax_group_search
msgid "Account Tax Group"
msgstr ""

#. module: account_group_menu
#: model:ir.actions.act_window,name:account_group_menu.action_account_tax_group_tree
#: model:ir.ui.menu,name:account_group_menu.account_tax_group_menu
#: model_terms:ir.ui.view,arch_db:account_group_menu.view_account_tax_group_search
msgid "Account Tax Groups"
msgstr ""

#. module: account_group_menu
#: model:ir.model.fields,field_description:account_group_menu.field_account_group__account_ids
msgid "Accounts"
msgstr ""

#. module: account_group_menu
#: model:ir.model.fields,help:account_group_menu.field_account_group__account_ids
msgid "Assigned accounts."
msgstr ""

#. module: account_group_menu
#: model:ir.model.fields,help:account_group_menu.field_account_tax_group__tax_ids
msgid "Assigned taxes."
msgstr ""

#. module: account_group_menu
#: model:ir.model,name:account_group_menu.model_account_tax_group
msgid "Tax Group"
msgstr ""

#. module: account_group_menu
#: model:ir.model.fields,field_description:account_group_menu.field_account_tax_group__tax_ids
msgid "Taxes"
msgstr ""

#. module: account_group_menu
#: model:account.tax.group,name:account_group_menu.demo_account_tax_group_3
msgid "VAT 19%"
msgstr ""

#. module: account_group_menu
#: model:account.tax.group,name:account_group_menu.demo_account_tax_group_1
msgid "VAT 5%"
msgstr ""

#. module: account_group_menu
#: model:account.tax.group,name:account_group_menu.demo_account_tax_group_2
msgid "VAT 9%"
msgstr ""

#. module: account_group_menu
#: model:account.tax.group,name:account_group_menu.demo_account_tax_group_4
msgid "VAT Cash Basis"
msgstr ""

Loading