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_invoice_fiscal_position_update #1263

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9f86778
Rename to account_invoice_fiscal_position_update
alexis-via Oct 10, 2016
920c4ff
[ADD] add tests
mourad-ehm Apr 5, 2017
6e63856
[10.0][FIX] account_invoice_fiscal_position_update: On invoice creati…
rousseldenis Sep 21, 2017
3c6c68b
[MIG] account_invoice_fiscal_position_update: Migration to 11.0
RoelAdriaans May 4, 2018
1a45153
[FIX+IMP] account_invoice_fiscal_position_update: Fix acc code + READ…
pedrobaeza Sep 17, 2018
bd0ab6a
Translated using Weblate (Dutch)
Oct 1, 2018
441b730
Translated using Weblate (German)
rschnapka Oct 11, 2018
d7c30d3
[MIG] account_invoice_fiscal_position_update: Migration to version 12.0
bjeficent Dec 17, 2018
563b333
account_invoice_fiscal_position_update: use method get_invoice_line_a…
alexis-via May 21, 2019
cdfad1d
Translated using Weblate (German)
marylla Jul 17, 2019
18b680f
Translated using Weblate (Portuguese (Brazil))
Sep 17, 2019
b8d8664
[FIX] *: reference_type doesn't exist anymore
MiquelRForgeFlow Oct 15, 2019
8135fd8
[IMP] account_invoice_fiscal_position_update: black, isort
MiquelRForgeFlow Jan 31, 2020
933c13f
[MIG] account_invoice_fiscal_position_update: Migration to 13.0
MiquelRForgeFlow Jan 31, 2020
db7b47f
Translated using Weblate (Dutch)
bosd Jan 24, 2021
74acefb
Translated using Weblate (Spanish)
anasuarez1 Mar 10, 2021
a6f28aa
[13.0] [FIX] account_invoice_fiscal_position_update: recompute the ta…
nicomacr Apr 5, 2021
d006205
[13.0] [FIX] account_invoice_fiscal_position_update: Filter only line…
nicomacr Apr 13, 2021
fb8fbd1
[FIX] account_invoice_fiscal_position_update: Mark lines to recompute…
nicomacr May 5, 2021
74ac0ec
[MIG] account_invoice_fiscal_position_update: Migration to 14.0
alexis-via Jun 23, 2021
62f02f5
[UPD] Update account_invoice_fiscal_position_update.pot
oca-travis Nov 24, 2021
e340a68
[UPD] README.rst
OCA-git-bot Nov 24, 2021
09e09f1
[MIG] account_invoice_fiscal_position_update: Migration to 15.0
nicomacr Jan 26, 2022
2574949
[UPD] Update account_invoice_fiscal_position_update.pot
Apr 19, 2022
13debda
[UPD] README.rst
OCA-git-bot Apr 19, 2022
289ebed
[FIX] account_invoice_fiscal_position_update: fix tests
willytal Apr 21, 2022
3ead22d
account_invoice_fiscal_position_update 15.0.1.0.1
OCA-git-bot May 4, 2022
03fe29d
[FIX] account_invoice_fiscal_position_update: avoid error in tests
MiquelRForgeFlow Jun 29, 2022
450ee40
account_invoice_fiscal_position_update 15.0.1.0.2
OCA-git-bot Jun 29, 2022
b3aea94
[MIG] account_invoice_fiscal_position_update: Migration to 16.0
ljsalvatierra-factorlibre Oct 13, 2022
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
97 changes: 97 additions & 0 deletions account_invoice_fiscal_position_update/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
==============================
Invoice Fiscal Position Update
==============================

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

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

With this module, when a user changes the fiscal position of an invoice, the
taxes and the accounts on all the invoice lines which have a product are
automatically updated. The invoice lines without a product are not updated and
a warning is displayed to the user in this case.

**Table of contents**

.. contents::
:local:

Usage
=====

Update fiscal position or the partner on the invoice. This will automatically
update the taxes and accounts.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/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-invoicing/issues/new?body=module:%20account_invoice_fiscal_position_update%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
~~~~~~~

* Julius Network Solutions
* Akretion

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

* Mathieu Vatel (Julius Network Solutions)
* Alexis de Lattre <[email protected]>
* Mourad EL HADJ MIMOUNE <[email protected]>
* Roel Adriaans <[email protected]>
* `Tecnativa <https://www.tecnativa.com>`_:

* Ernesto Tejeda

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.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/account-invoicing <https://github.com/OCA/account-invoicing/tree/15.0/account_invoice_fiscal_position_update>`_ 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_invoice_fiscal_position_update/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions account_invoice_fiscal_position_update/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2011-2020 Julius Network Solutions SARL <[email protected]>
# Copyright 2014-2020 Akretion France (http://www.akretion.com/)
# @author: Alexis de Lattre <[email protected]>
# Copyright 2018-2020 Roel Adriaans <[email protected]>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).


{
"name": "Invoice Fiscal Position Update",
"version": "16.0.1.0.0",
"category": "Accounting",
"license": "AGPL-3",
"summary": "Changing the fiscal position of an invoice will auto-update "
"invoice lines",
"website": "https://github.com/OCA/account-invoicing",
"author": "Julius Network Solutions,"
"Akretion,"
"Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"depends": ["account"],
"installable": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_fiscal_position_update
#
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_invoice_fiscal_position_update
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
#, python-format
msgid ""
"The following invoice lines were not updated to the new Fiscal Position because they don't have a Product:\n"
" - %s\n"
"You should update the Account and the Taxes of these invoice lines manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
#, python-format
msgid ""
"The invoice lines were not updated to the new Fiscal Position because they "
"don't have products. You should update the Account and the Taxes of each "
"invoice line manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
#, python-format
msgid "Warning"
msgstr ""
52 changes: 52 additions & 0 deletions account_invoice_fiscal_position_update/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_fiscal_position_update
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-29 02:39+0000\n"
"PO-Revision-Date: 2017-04-29 02:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: account_invoice_fiscal_position_update
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
msgid "Journal Entries"
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid ""
"The following invoice lines were not updated to the new Fiscal Position "
"because they don't have a Product: - %s You should update the Account and "
"the Taxes of these invoice lines manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid ""
"The invoice lines were not updated to the new Fiscal Position because they "
"don't have products. You should update the Account and the Taxes of each "
"invoice line manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid "Warning"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "فاتورة"
51 changes: 51 additions & 0 deletions account_invoice_fiscal_position_update/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_fiscal_position_update
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-29 02:39+0000\n"
"PO-Revision-Date: 2017-04-29 02:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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"

#. module: account_invoice_fiscal_position_update
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
msgid "Journal Entries"
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid ""
"The following invoice lines were not updated to the new Fiscal Position "
"because they don't have a Product: - %s You should update the Account and "
"the Taxes of these invoice lines manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid ""
"The invoice lines were not updated to the new Fiscal Position because they "
"don't have products. You should update the Account and the Taxes of each "
"invoice line manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid "Warning"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "Фактура"
52 changes: 52 additions & 0 deletions account_invoice_fiscal_position_update/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_fiscal_position_update
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-29 02:39+0000\n"
"PO-Revision-Date: 2017-04-29 02:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: account_invoice_fiscal_position_update
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
msgid "Journal Entries"
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid ""
"The following invoice lines were not updated to the new Fiscal Position "
"because they don't have a Product: - %s You should update the Account and "
"the Taxes of these invoice lines manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid ""
"The invoice lines were not updated to the new Fiscal Position because they "
"don't have products. You should update the Account and the Taxes of each "
"invoice line manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid "Warning"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "Faktura"
51 changes: 51 additions & 0 deletions account_invoice_fiscal_position_update/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_fiscal_position_update
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-29 02:39+0000\n"
"PO-Revision-Date: 2017-04-29 02:39+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\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"

#. module: account_invoice_fiscal_position_update
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
msgid "Journal Entries"
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid ""
"The following invoice lines were not updated to the new Fiscal Position "
"because they don't have a Product: - %s You should update the Account and "
"the Taxes of these invoice lines manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid ""
"The invoice lines were not updated to the new Fiscal Position because they "
"don't have products. You should update the Account and the Taxes of each "
"invoice line manually."
msgstr ""

#. module: account_invoice_fiscal_position_update
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
#, python-format
msgid "Warning"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "Factura"
Loading