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

[18.0][MIG] account_analytic_required: Migration to 18.0 #708

Open
wants to merge 69 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
cef39f5
Move my module account_analytic_required from extra-addons to account…
Nov 21, 2012
f290fc2
[IMP] account_analytic_required: do not enforce policy when credit=de…
sbidoul Dec 17, 2012
f1fc919
[MIGR] Set installable = False in modules to setup the 7.0 series
jgrandguillaume Apr 3, 2013
bedb9e7
account_analytic_required: migration V7
Apr 4, 2013
7099612
[FIX] Move substitution arguments out of _() call
Apr 18, 2013
4e7a1fe
account_analytic_required: in openerp.py replace *_xml by data, leave…
Apr 23, 2013
f8ecb93
[IMP] account_analytic_required/tests
sbidoul Apr 18, 2014
54a689e
[FIX] account_analytic_required allowed policy violation to slip thro…
sbidoul Apr 18, 2014
d760ccf
Validate with flake8.
Apr 18, 2014
49a16d3
[IMP] comments in test suite + long lines __openerp__.py
sbidoul Apr 19, 2014
a3030b1
Launchpad automatic translations update.
Jun 27, 2014
8d62e61
lint the whole repo
lepistone Aug 4, 2014
cb9de2c
[MOD] Move account_analytic_required out of __unported__
adrienpeiffer Sep 3, 2014
8e6271b
[IMP] refactor account_analytic_required with constraints for robustness
sbidoul Sep 24, 2014
361b42e
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
60f606b
remove deprecated test suite declarations
gurneyalex Aug 27, 2015
8c87c8f
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
90b53a6
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
c8c3240
[9.0][PORT] account_analytic_required
yvaucher Jun 3, 2016
39fd739
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
4d4c465
Port account_analytic_required to v10
alexis-via Oct 10, 2016
488fec2
[IMP] Use new api to extend selection
cubells May 24, 2017
070d453
OCA Transbot updated translations from Transifex
oca-transbot May 1, 2017
69fadb9
[MIG] account_analytic_required: Migrate to 11.0
Dec 13, 2017
af41086
[IMP] account_analytic_required: Add 'posted moves' as analytic policy
grindtildeath Dec 22, 2017
a0161b2
OCA Transbot updated translations from Transifex
oca-transbot Feb 2, 2018
7e9fbb2
[UPD] Update account_analytic_required.pot
oca-travis Jun 23, 2018
f2acfa0
Translated using Weblate (Português (Brasil))
Jun 28, 2018
3bd4cdb
Translated using Weblate (Arabic)
osoul Jun 28, 2018
85e4bb6
Translated using Weblate (Spanish)
DarioLodeiros Sep 22, 2018
e650424
[MIG] account_analytic_required: Migration to 12.0
rven Oct 2, 2018
bf8779e
[FIX] TypeError: post() got an unexpected keyword argument 'invoice'
rven Jan 15, 2019
bf56120
Translated using Weblate (Spanish)
josepmy Jul 22, 2019
9a9ac25
[UPD] README.rst
OCA-git-bot Jul 29, 2019
d49cee5
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 2, 2019
fac43f7
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Aug 29, 2019
96b7af5
[MIG] account_analytic_required: Migration to 13.0
jimhoefnagels Oct 1, 2019
75335de
Translated using Weblate (Catalan)
eduardgm Feb 26, 2020
25c30c1
pre-commit update
OCA-git-bot Mar 14, 2020
74bb842
[IMP] company_dependent analytic_policy
ivantodorovich Mar 11, 2020
1ec73da
Translated using Weblate (German)
psc Jul 1, 2020
05f9620
[UPD] Update account_analytic_required.pot
oca-travis Jul 19, 2020
6b74816
[UPD] README.rst
OCA-git-bot Jul 19, 2020
b90e1ac
Update translation files
oca-transbot Jul 19, 2020
2528858
[MIG] account_analytic_required to v14
alexis-via Nov 13, 2020
71b4da9
Translated using Weblate (Catalan)
pere-aquarian Jan 12, 2022
c3d2274
Translated using Weblate (Spanish)
pere-aquarian Jan 12, 2022
de0abe2
Added translation using Weblate (Swedish)
simonstromb Jan 20, 2022
b66fbd1
[14.0][Fix_Improve]: account_analytic_required translation template a…
smussie Jan 27, 2022
8466f17
[IMP] account_analytic_required: black, isort, prettier
schout-it Feb 1, 2022
58da20e
[MIG] account_analytic_required: Migration to 15.0
schout-it Feb 1, 2022
99ddda4
[FIX] account_analytic_required: action_post() instead of post() meth…
Oct 5, 2022
96a904a
[16.0][MIG] account_analytic_required: Migrate to version 16.0
nguyenminhchien Feb 20, 2023
7c9ba64
Added translation using Weblate (French (France) (fr_FR))
sanrav May 15, 2023
9e8dfd9
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jun 12, 2023
96f53bf
Translated using Weblate (Spanish)
Ivorra78 Jul 11, 2023
e2e1fb8
[UPD] README.rst
OCA-git-bot Sep 3, 2023
c899fd8
Update translation files
weblate Oct 9, 2023
3298ae5
Added translation using Weblate (Italian)
mymage Feb 22, 2024
554c110
Translated using Weblate (Swedish)
jakobkrabbe Feb 27, 2024
6d7cff8
Added translation using Weblate (Croatian)
badbole Jun 17, 2024
9d4d4b1
[IMP] account_analytic_required: pre-commit auto fixes
peluko00 Jun 18, 2024
72bd143
[MIG] account_analytic_required: Migration to 17.0
peluko00 Jun 18, 2024
b6595bf
[UPD] Update account_analytic_required.pot
Jul 30, 2024
4c018fd
[BOT] post-merge updates
OCA-git-bot Jul 30, 2024
28e2df8
Update translation files
weblate Jul 30, 2024
203da95
[IMP] account_analytic_required: pre-commit auto fixes
peluko00 Nov 7, 2024
e8c80bf
[MIG] account_analytic_required: Migration to 18.0
peluko00 Nov 7, 2024
aff1e62
[DON'T MERGE] test-requirements.txt
peluko00 Nov 7, 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
123 changes: 123 additions & 0 deletions account_analytic_required/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
=========================
Account Analytic Required
=========================

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

.. |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--analytic-lightgray.png?logo=github
:target: https://github.com/OCA/account-analytic/tree/18.0/account_analytic_required
:alt: OCA/account-analytic
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-account_analytic_required
: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-analytic&target_branch=18.0
:alt: Try me on Runboat

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

This module adds an option *analytic policy* on accounts. You have the
choice between 4 policies : *always*, *never*, *posted moves* and
*optional*.

**Table of contents**

.. contents::
:local:

Configuration
=============

Example:

If you want to have an analytic account on all your *expenses*, set the
policy to *always* for the account of type *expense*. If you try to save
a journal items with an account of type *expense* without analytic
account, you will get an error message.

Usage
=====



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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-analytic/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-analytic/issues/new?body=module:%20account_analytic_required%0Aversion:%2018.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
-------

* Akretion

Contributors
------------

- Alexis de Lattre <[email protected]>

- Stéphane Bidoul

- Stefan Rijnhart

- Laetitia Gangloff

- Luc De Meyer, Noviat <[email protected]>

- Yannick Vaucher <[email protected]>

- Akim Juillerat <[email protected]>

- Raf Ven <[email protected]>

- Iván Todorovich <[email protected]>

- `Trobz <https://trobz.com>`__:

- Nguyễn Minh Chiến <[email protected]>

- `APSL-Nagarro <https://apsl.tech>`__:

- Antoni Marroig <[email protected]>

Other credits
-------------

The migration of this module from 15.0 to 16.0 was financially supported
by Camptocamp

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-analytic <https://github.com/OCA/account-analytic/tree/18.0/account_analytic_required>`_ 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_analytic_required/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions account_analytic_required/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright Akretion - Alexis de Lattre
# Copyright Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
"name": "Account Analytic Required",
"version": "18.0.1.0.0",
"category": "Analytic Accounting",
"license": "AGPL-3",
"author": "Akretion, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-analytic",
"depends": ["account_usability"],
"data": ["views/account_account_views.xml"],
"installable": True,
}
95 changes: 95 additions & 0 deletions account_analytic_required/i18n/account_analytic_required.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_required
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.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_analytic_required
#: model:ir.model,name:account_analytic_required.model_account_account
msgid "Account"
msgstr ""

#. module: account_analytic_required
#: model:ir.model.fields.selection,name:account_analytic_required.selection__account_account__analytic_policy__always
msgid "Always"
msgstr ""

#. module: account_analytic_required
#. odoo-python
#: code:addons/account_analytic_required/models/account.py:0
#, python-format
msgid ""
"Analytic policy is set to 'Always' with account '%(account)s' but the "
"analytic account is missing in the account move line with label '%(move)s'."
msgstr ""

#. module: account_analytic_required
#. odoo-python
#: code:addons/account_analytic_required/models/account.py:0
#, python-format
msgid ""
"Analytic policy is set to 'Never' with account '%(account)s' but the account"
" move line with label '%(move)s' has an analytic account "
"'%(analytic_account)s'."
msgstr ""

#. module: account_analytic_required
#. odoo-python
#: code:addons/account_analytic_required/models/account.py:0
#, python-format
msgid ""
"Analytic policy is set to 'Posted moves' with account '%(account)s' but the "
"analytic account is missing in the account move line with label '%(move)s'."
msgstr ""

#. module: account_analytic_required
#: model:ir.model,name:account_analytic_required.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_analytic_required
#: model:ir.model,name:account_analytic_required.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_analytic_required
#: model:ir.model.fields.selection,name:account_analytic_required.selection__account_account__analytic_policy__never
msgid "Never"
msgstr ""

#. module: account_analytic_required
#: model:ir.model.fields.selection,name:account_analytic_required.selection__account_account__analytic_policy__optional
msgid "Optional"
msgstr ""

#. module: account_analytic_required
#: model:ir.model.fields,field_description:account_analytic_required.field_account_account__analytic_policy
msgid "Policy for analytic account"
msgstr ""

#. module: account_analytic_required
#: model:ir.model.fields.selection,name:account_analytic_required.selection__account_account__analytic_policy__posted
msgid "Posted moves"
msgstr ""

#. module: account_analytic_required
#: model:ir.model.fields,help:account_analytic_required.field_account_account__analytic_policy
msgid ""
"Sets the policy for analytic accounts.\n"
"If you select:\n"
"- Optional: The accountant is free to put an analytic account on an account move line with this type of account.\n"
"- Always: The accountant will get an error message if there is no analytic account.\n"
"- Posted moves: The accountant will get an error message if no analytic account is defined when the move is posted.\n"
"- Never: The accountant will get an error message if an analytic account is present.\n"
"\n"
"This field is company dependent."
msgstr ""
114 changes: 114 additions & 0 deletions account_analytic_required/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_required
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-17 07:26+0000\n"
"PO-Revision-Date: 2023-02-17 07:26+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_analytic_required
#: model:ir.model,name:account_analytic_required.model_account_account
msgid "Account"
msgstr ""

#. module: account_analytic_required
#: model:ir.model.fields.selection,name:account_analytic_required.selection__account_account__analytic_policy__always
msgid "Always"
msgstr "دائماً"

#. module: account_analytic_required
#. odoo-python
#: code:addons/account_analytic_required/models/account.py:0
#, python-format
msgid ""
"Analytic policy is set to 'Always' with account '%(account)s' but the "
"analytic account is missing in the account move line with label '%(move)s'."
msgstr ""
"سياسة الحسابات التحليلية هي ’دائماً‘ للحساب ’%(account)s‘ ولكن الحساب "
"التحليلي فارغ في عنصر اليومية باسم ’%(move)s‘."

#. module: account_analytic_required
#. odoo-python
#: code:addons/account_analytic_required/models/account.py:0
#, python-format
msgid ""
"Analytic policy is set to 'Never' with account '%(account)s' but the account "
"move line with label '%(move)s' has an analytic account "
"'%(analytic_account)s'."
msgstr ""
"سياسة الحسابات التحليلية هي ’ممنوع‘ للحساب ’%(account)s‘ ولكن في عنصر "
"اليومية باسم ’%(move)s‘ تم تحديد حساب التحليلي ’%(analytic_account)s‘ ."

#. module: account_analytic_required
#. odoo-python
#: code:addons/account_analytic_required/models/account.py:0
#, python-format
msgid ""
"Analytic policy is set to 'Posted moves' with account '%(account)s' but the "
"analytic account is missing in the account move line with label '%(move)s'."
msgstr ""
"سياسة الحسابات التحليلية هي ’القيود المرحّلة‘ للحساب ’%(account)s‘ ولكن "
"الحساب التحليلي فارغ في عنصر اليومية باسم ’%(move)s‘."

#. module: account_analytic_required
#: model:ir.model,name:account_analytic_required.model_account_move
msgid "Journal Entry"
msgstr "عنصر اليومية"

#. module: account_analytic_required
#: model:ir.model,name:account_analytic_required.model_account_move_line
msgid "Journal Item"
msgstr "عنصر اليومية"

#. module: account_analytic_required
#: model:ir.model.fields.selection,name:account_analytic_required.selection__account_account__analytic_policy__never
msgid "Never"
msgstr "ممنوع"

#. module: account_analytic_required
#: model:ir.model.fields.selection,name:account_analytic_required.selection__account_account__analytic_policy__optional
msgid "Optional"
msgstr "إختياري"

#. module: account_analytic_required
#: model:ir.model.fields,field_description:account_analytic_required.field_account_account__analytic_policy
msgid "Policy for analytic account"
msgstr "سياسة للحسابات التحليلية"

#. module: account_analytic_required
#: model:ir.model.fields.selection,name:account_analytic_required.selection__account_account__analytic_policy__posted
msgid "Posted moves"
msgstr "القيود المرحّلة"

#. module: account_analytic_required
#: model:ir.model.fields,help:account_analytic_required.field_account_account__analytic_policy
msgid ""
"Sets the policy for analytic accounts.\n"
"If you select:\n"
"- Optional: The accountant is free to put an analytic account on an account "
"move line with this type of account.\n"
"- Always: The accountant will get an error message if there is no analytic "
"account.\n"
"- Posted moves: The accountant will get an error message if no analytic "
"account is defined when the move is posted.\n"
"- Never: The accountant will get an error message if an analytic account is "
"present.\n"
"\n"
"This field is company dependent."
msgstr ""
"قم بإختيار السياسات للحسابات التحليلية: اذا قم بإختيار \"إختياري\"، للمحاسب "
"الحرية في اختيار حساب التحليلي ام لا في حركة القيد المحسابي مع هذا النوع من "
"الحساب; و إن قمت بإختيار \"دائما\"، ستظهر للمحاسب رسالة خطأ ان كان لا يوجد "
"حساب تحليلي; و ان قمت بإختيار \"قيويد مرحلة\" ستظهر للمحاسب رسالة خطأ اذا لم "
"يحدد حساب تحليلي في ترحيل القيود; و إن اخترت \"ابداً\\نهائي\"، ستظهر للمحاسب "
"رسالة خطأ اذا تم تحديد حساب تحليلي."
Loading
Loading