-
-
Notifications
You must be signed in to change notification settings - Fork 702
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by StefanRijnhart
- Loading branch information
Showing
62 changed files
with
4,702 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
============================== | ||
Invoice Fiscal Position Update | ||
============================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:87c4c266ef71609beca654ce2d1a4501872c66cd56e881f0141e7cd4fb517368 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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/18.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-18-0/account-invoicing-18-0-account_invoice_fiscal_position_update | ||
: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-invoicing&target_branch=18.0 | ||
:alt: Try me on Runboat | ||
|
||
|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 to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/account-invoicing/issues/new?body=module:%20account_invoice_fiscal_position_update%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 | ||
------- | ||
|
||
* Julius Network Solutions | ||
* Akretion | ||
|
||
Contributors | ||
------------ | ||
|
||
- Mathieu Vatel (Julius Network Solutions) | ||
|
||
- Alexis de Lattre <alexis.delattre@akretion.com> | ||
|
||
- Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com> | ||
|
||
- Roel Adriaans <roel@road-support.nl> | ||
|
||
- Marcos Oitabén <marcos.oitaben@dynapps.eu> | ||
|
||
- `Tecnativa <https://www.tecnativa.com>`__: | ||
|
||
- Ernesto Tejeda | ||
|
||
- `Factor Libre <https://factorlibre.com>`__: | ||
|
||
- Luis J. Salvatierra <luis.salvatierra@factorlibre.com> | ||
|
||
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/18.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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright 2011-2020 Julius Network Solutions SARL <contact@julius.fr> | ||
# Copyright 2014-2020 Akretion France (http://www.akretion.com/) | ||
# @author: Alexis de Lattre <alexis.delattre@akretion.com> | ||
# Copyright 2018-2020 Roel Adriaans <roel@road-support.nl> | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
|
||
{ | ||
"name": "Invoice Fiscal Position Update", | ||
"version": "18.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, | ||
} |
63 changes: 63 additions & 0 deletions
63
account_invoice_fiscal_position_update/i18n/account_invoice_fiscal_position_update.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# 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 16.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.fields,field_description:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id | ||
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id | ||
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id | ||
msgid "Fiscal Position" | ||
msgstr "" | ||
|
||
#. module: account_invoice_fiscal_position_update | ||
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id | ||
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id | ||
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id | ||
msgid "" | ||
"Fiscal positions are used to adapt taxes and accounts for particular " | ||
"customers or sales orders/invoices. The default value comes from the " | ||
"customer." | ||
msgstr "" | ||
|
||
#. 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 | ||
#. odoo-python | ||
#: 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 | ||
#. odoo-python | ||
#: 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 | ||
#. odoo-python | ||
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0 | ||
#, python-format | ||
msgid "Warning" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * account_invoice_fiscal_position_update | ||
# | ||
# Translators: | ||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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.fields,field_description:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id | ||
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id | ||
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id | ||
msgid "Fiscal Position" | ||
msgstr "" | ||
|
||
#. module: account_invoice_fiscal_position_update | ||
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id | ||
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id | ||
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id | ||
msgid "" | ||
"Fiscal positions are used to adapt taxes and accounts for particular " | ||
"customers or sales orders/invoices. The default value comes from the " | ||
"customer." | ||
msgstr "" | ||
|
||
#. 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 | ||
#. odoo-python | ||
#: 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 | ||
#. odoo-python | ||
#: 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 | ||
#. odoo-python | ||
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0 | ||
#, python-format | ||
msgid "Warning" | ||
msgstr "" | ||
|
||
#~ msgid "Invoice" | ||
#~ msgstr "فاتورة" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * account_invoice_fiscal_position_update | ||
# | ||
# Translators: | ||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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.fields,field_description:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id | ||
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id | ||
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id | ||
msgid "Fiscal Position" | ||
msgstr "" | ||
|
||
#. module: account_invoice_fiscal_position_update | ||
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id | ||
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id | ||
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id | ||
msgid "" | ||
"Fiscal positions are used to adapt taxes and accounts for particular " | ||
"customers or sales orders/invoices. The default value comes from the " | ||
"customer." | ||
msgstr "" | ||
|
||
#. 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 | ||
#. odoo-python | ||
#: 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 | ||
#. odoo-python | ||
#: 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 | ||
#. odoo-python | ||
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0 | ||
#, python-format | ||
msgid "Warning" | ||
msgstr "" | ||
|
||
#~ msgid "Invoice" | ||
#~ msgstr "Фактура" |
Oops, something went wrong.