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

[17.0][MIG] account_group_menu: Migration to 17.0 #1914

Open
wants to merge 28 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
efb18db
Add account_group_menu.
Mar 15, 2018
0237a44
OCA Transbot updated translations from Transifex
oca-transbot Mar 30, 2018
3f86fc6
Translated using Weblate (Arabic)
osoul Jun 29, 2018
ac0f9fc
[MIG] account_group_menu: Migration to 12.0
rven Oct 2, 2018
e1b2f9f
Fix colliding account codes to run tests
grindtildeath Oct 2, 2018
ec49eb4
[UPD] Update account_group_menu.pot
oca-travis Apr 10, 2019
dab4cd3
Translated using Weblate (German)
rschnapka Apr 24, 2019
b2c537f
Added translation using Weblate (Italian)
eLBati May 18, 2019
9c6fd39
Translated using Weblate (Italian)
eLBati May 18, 2019
cbf117a
Update translation files
oca-transbot May 20, 2019
13fdf3d
[UPD] README.rst
OCA-git-bot Jul 29, 2019
ecb028e
Added translation using Weblate (Portuguese)
pedrocs-exo Aug 12, 2019
7b61f06
Translated using Weblate (Portuguese)
pedrocs-exo Aug 12, 2019
c0519e2
Added translation using Weblate (Croatian)
badbole Mar 5, 2020
8399ebe
Translated using Weblate (Croatian)
badbole Mar 5, 2020
bedfd2e
Translated using Weblate (German)
marylla May 6, 2020
5df7828
Update translation files
oca-transbot Nov 22, 2020
a48cbbe
Translated using Weblate (French)
pasgou Aug 3, 2021
00735a9
Translated using Weblate (French)
ypapouin Nov 29, 2021
36cf137
Added translation using Weblate (Spanish)
syci Apr 20, 2022
7cbd0c9
Translated using Weblate (Spanish)
syci Apr 20, 2022
2166f97
Added translation using Weblate (Danish)
hhgabelgaard Jun 2, 2022
8f280c2
Translated using Weblate (Danish)
hhgabelgaard Jun 2, 2022
0339958
[UPD] README.rst
OCA-git-bot Sep 3, 2023
b4b60b4
Update translation files
weblate Oct 9, 2023
5d34c6f
Translated using Weblate (Italian)
mymage Feb 12, 2024
7ee16a7
[IMP] account_group_menu: pre-commit auto fixes
josemonsalve2 Jul 14, 2024
9926f6e
[MIG] account_group_menu: Migration to 17.0
josemonsalve2 Jul 14, 2024
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
79 changes: 79 additions & 0 deletions account_group_menu/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
==================
Account Group Menu
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:262d3a8ee17a2db7b6538fb79fc28ee4e28ccb8a932558067deea63f22b081d9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/account-financial-tools-17-0-account_group_menu
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&target_branch=17.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_group_menu%0Aversion:%2017.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 <[email protected]>
- Raf Ven <[email protected]>

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/17.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": "17.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
Loading