Skip to content

Commit

Permalink
Merge branch '15.0' of https://github.com/OCA/account-analytic into 1…
Browse files Browse the repository at this point in the history
…5.0-mig-analytic_tag_dimension_enhanced
  • Loading branch information
Saran440 committed Mar 3, 2023
2 parents 28677e5 + 8520316 commit 0887de5
Show file tree
Hide file tree
Showing 79 changed files with 3,838 additions and 18 deletions.
3 changes: 2 additions & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.11.1
_commit: v1.14.1
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
github_enable_codecov: true
github_enable_makepot: true
github_enable_stale_action: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fi
done
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: ${{ matrix.container }}
name: ${{ matrix.name }}
strategy:
Expand Down
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ repos:
entry: found forbidden files; remove them
language: fail
files: "\\.rej$"
- id: en-po-files
name: en.po files cannot exist
entry: found a en.po file
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/oca/maintainer-tools
rev: dfba427ba03900b69e0a7f2c65890dc48921d36a
hooks:
Expand Down Expand Up @@ -96,7 +101,7 @@ repos:
- id: pyupgrade
args: ["--keep-percent-format"]
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
rev: 5.12.0
hooks:
- id: isort
name: isort except __init__.py
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ addon | version | maintainers | summary
[account_analytic_required](account_analytic_required/) | 15.0.1.0.2 | | Account Analytic Required
[account_analytic_sequence](account_analytic_sequence/) | 15.0.1.0.1 | | Restore the analytic account sequence
[account_analytic_tag_default](account_analytic_tag_default/) | 15.0.1.0.0 | | Set default tags on analytic accounts.
[account_move_update_analytic](account_move_update_analytic/) | 15.0.1.1.0 | | This module allows the user to update analytic on posted moves
[analytic_base_department](analytic_base_department/) | 15.0.1.0.0 | | Add relationship between Analytic and Department
[analytic_tag_dimension](analytic_tag_dimension/) | 15.0.1.0.0 | | Group Analytic Entries by Dimensions
[mrp_analytic](mrp_analytic/) | 15.0.1.0.0 | | Adds the analytic account to the production order
[procurement_mto_analytic](procurement_mto_analytic/) | 15.0.1.0.0 | | This module sets analytic account in purchase order line from sale order analytic account
[product_analytic](product_analytic/) | 15.0.1.0.0 | | Add analytic account on products and product categories
[purchase_analytic](purchase_analytic/) | 15.0.2.0.0 | | Purchase Analytic
[stock_analytic](stock_analytic/) | 15.0.1.0.0 | | Adds an analytic account and analytic tags in stock move

[//]: # (end addons)

Expand Down
14 changes: 7 additions & 7 deletions account_analytic_sequence/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-03-23 08:13+0000\n"
"Last-Translator: Matjaz Mozetic <[email protected]>\n"
"PO-Revision-Date: 2022-12-28 21:44+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"
"X-Generator: Weblate 4.14.1\n"

#. module: account_analytic_sequence
#: model:ir.model,name:account_analytic_sequence.model_account_analytic_account
Expand All @@ -24,17 +24,17 @@ msgstr "Conto Analitico"
#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__display_name
msgid "Display Name"
msgstr ""
msgstr "Nome visualizzato"

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__id
msgid "ID"
msgstr ""
msgstr "ID"

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account____last_update
msgid "Last Modified on"
msgstr ""
msgstr "Ultima modifica il"

#. module: account_analytic_sequence
#: model:ir.model.fields,field_description:account_analytic_sequence.field_account_analytic_account__code
Expand All @@ -44,4 +44,4 @@ msgstr "Riferimento"
#. module: account_analytic_sequence
#: model:ir.model.constraint,message:account_analytic_sequence.constraint_account_analytic_account_code_uniq
msgid "Reference must be unique per Company!"
msgstr ""
msgstr "Il riferimento deve essere unico per l'azienda!"
37 changes: 37 additions & 0 deletions account_analytic_tag_default/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_analytic_tag_default
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-12-20 14:44+0000\n"
"Last-Translator: Douglas Custódio <[email protected]>\n"
"Language-Team: none\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: account_analytic_tag_default
#: model:ir.model,name:account_analytic_tag_default.model_account_analytic_account
msgid "Analytic Account"
msgstr "Conta Analítica"

#. module: account_analytic_tag_default
#: model:ir.model.fields,field_description:account_analytic_tag_default.field_account_move_line__analytic_tag_ids
msgid "Analytic Tags"
msgstr "Etiquetas Analíticas"

#. module: account_analytic_tag_default
#: model:ir.model.fields,field_description:account_analytic_tag_default.field_account_analytic_account__default_analytic_tag_ids
msgid "Default Analytic Tag"
msgstr "Etiqueta Analítica Padrão"

#. module: account_analytic_tag_default
#: model:ir.model,name:account_analytic_tag_default.model_account_move_line
msgid "Journal Item"
msgstr "Item de Diário"
88 changes: 88 additions & 0 deletions account_move_update_analytic/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
============================
Account move update analytic
============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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--analytic-lightgray.png?logo=github
:target: https://github.com/OCA/account-analytic/tree/15.0/account_move_update_analytic
: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-15-0/account-analytic-15-0-account_move_update_analytic
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/87/15.0
:alt: Try me on Runbot

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

This module allows users to update analytic account and tags on account_move lines
Adds tracking to fields ``analytic_account_id`` and ``analytic_tag_ids`` on move lines

**Table of contents**

.. contents::
:local:

Usage
=====

1. In a posted move and from customer invoices and vendor bills, go to the move line you want to update, and click on 'Update analytic' to open the wizard. (You also have the button directly on account move lines).
2. Current analytic account and tags are shown, you can select another one then click on Confirm
3. Analytic lines will be dropped from current analytic account and recreated on new analytic account/tags.

.. figure:: https://raw.githubusercontent.com/OCA/account-analytic/15.0/account_move_update_analytic/static/description/update_from_invoice.png

.. figure:: https://raw.githubusercontent.com/OCA/account-analytic/15.0/account_move_update_analytic/static/description/update_from_journals.png

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-analytic/issues/new?body=module:%20account_move_update_analytic%0Aversion:%2015.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
~~~~~~~

* Le Filament
* Moduon

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

* Rémi - Le Filament <remi-filament>
* Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
* Rafael Blasco (`Moduon <https://www.moduon.team/>`__)

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/15.0/account_move_update_analytic>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions account_move_update_analytic/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
20 changes: 20 additions & 0 deletions account_move_update_analytic/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2022 Le Filament
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Account move update analytic",
"version": "15.0.1.1.0",
"category": "Accounting & Finance",
"summary": "This module allows the user to update analytic on posted moves",
"author": "Le Filament, Moduon, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-analytic",
"license": "AGPL-3",
"depends": ["account"],
"data": [
"security/ir.model.access.csv",
"wizards/account_move_update_analytic_view.xml",
"views/account_move_view.xml",
"views/account_move_line_view.xml",
],
"installable": True,
}
128 changes: 128 additions & 0 deletions account_move_update_analytic/i18n/account_move_update_analytic.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_update_analytic
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.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_move_update_analytic
#: model:ir.model,name:account_move_update_analytic.model_account_move_update_analytic_wizard
msgid "Account Move Update Analytic Account Wizard"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_line__analytic_account_id
#: model_terms:ir.ui.view,arch_db:account_move_update_analytic.view_account_move_update_analytic_account
msgid "Analytic Account"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_line__analytic_tag_ids
#: model_terms:ir.ui.view,arch_db:account_move_update_analytic.view_account_move_update_analytic_account
msgid "Analytic Tags"
msgstr ""

#. module: account_move_update_analytic
#: model_terms:ir.ui.view,arch_db:account_move_update_analytic.view_account_move_update_analytic_account
msgid "Cancel"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__company_id
msgid "Company"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__create_uid
msgid "Created by"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__create_date
msgid "Created on"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__current_analytic_account_id
msgid "Current Analytic Account"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__current_analytic_tag_ids
msgid "Current Analytic Tags"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__display_name
msgid "Display Name"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__id
msgid "ID"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__line_id
msgid "Invoice line"
msgstr ""

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

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard____last_update
msgid "Last Modified on"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__write_uid
msgid "Last Updated by"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__write_date
msgid "Last Updated on"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__new_analytic_account_id
msgid "New Analytic Account"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.model.fields,field_description:account_move_update_analytic.field_account_move_update_analytic_wizard__new_analytic_tag_ids
msgid "New Analytic Tags"
msgstr ""

#. module: account_move_update_analytic
#: model_terms:ir.ui.view,arch_db:account_move_update_analytic.account_move_form_view
#: model_terms:ir.ui.view,arch_db:account_move_update_analytic.account_move_line_tree_view
#: model_terms:ir.ui.view,arch_db:account_move_update_analytic.view_move_line_tree_grouped
msgid "Update Analytic"
msgstr ""

#. module: account_move_update_analytic
#: model_terms:ir.ui.view,arch_db:account_move_update_analytic.view_account_move_update_analytic_account
msgid "Update Analytic Accounts / Tags"
msgstr ""

#. module: account_move_update_analytic
#: model:ir.actions.act_window,name:account_move_update_analytic.action_view_account_move_update_analytic
msgid "Update Analytic for selected Account Moves"
msgstr ""

#. module: account_move_update_analytic
#: model_terms:ir.ui.view,arch_db:account_move_update_analytic.view_account_move_update_analytic_account
msgid "Update analytic lines"
msgstr ""
Loading

0 comments on commit 0887de5

Please sign in to comment.