Skip to content

Commit bb27a70

Browse files
committed
Merge PR #1263 into 16.0
Signed-off-by pedrobaeza
2 parents 8ae90d3 + b3aea94 commit bb27a70

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+3401
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
==============================
2+
Invoice Fiscal Position Update
3+
==============================
4+
5+
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6+
!! This file is generated by oca-gen-addon-readme !!
7+
!! changes will be overwritten. !!
8+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9+
10+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
11+
:target: https://odoo-community.org/page/development-status
12+
:alt: Beta
13+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
14+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
15+
:alt: License: AGPL-3
16+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github
17+
:target: https://github.com/OCA/account-invoicing/tree/15.0/account_invoice_fiscal_position_update
18+
:alt: OCA/account-invoicing
19+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20+
:target: https://translation.odoo-community.org/projects/account-invoicing-15-0/account-invoicing-15-0-account_invoice_fiscal_position_update
21+
:alt: Translate me on Weblate
22+
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23+
:target: https://runbot.odoo-community.org/runbot/95/15.0
24+
:alt: Try me on Runbot
25+
26+
|badge1| |badge2| |badge3| |badge4| |badge5|
27+
28+
With this module, when a user changes the fiscal position of an invoice, the
29+
taxes and the accounts on all the invoice lines which have a product are
30+
automatically updated. The invoice lines without a product are not updated and
31+
a warning is displayed to the user in this case.
32+
33+
**Table of contents**
34+
35+
.. contents::
36+
:local:
37+
38+
Usage
39+
=====
40+
41+
Update fiscal position or the partner on the invoice. This will automatically
42+
update the taxes and accounts.
43+
44+
Bug Tracker
45+
===========
46+
47+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/issues>`_.
48+
In case of trouble, please check there if your issue has already been reported.
49+
If you spotted it first, help us smashing it by providing a detailed and welcomed
50+
`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**>`_.
51+
52+
Do not contact contributors directly about support or help with technical issues.
53+
54+
Credits
55+
=======
56+
57+
Authors
58+
~~~~~~~
59+
60+
* Julius Network Solutions
61+
* Akretion
62+
63+
Contributors
64+
~~~~~~~~~~~~
65+
66+
* Mathieu Vatel (Julius Network Solutions)
67+
* Alexis de Lattre <alexis.delattre@akretion.com>
68+
* Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
69+
* Roel Adriaans <roel@road-support.nl>
70+
* `Tecnativa <https://www.tecnativa.com>`_:
71+
72+
* Ernesto Tejeda
73+
74+
Maintainers
75+
~~~~~~~~~~~
76+
77+
This module is maintained by the OCA.
78+
79+
.. image:: https://odoo-community.org/logo.png
80+
:alt: Odoo Community Association
81+
:target: https://odoo-community.org
82+
83+
OCA, or the Odoo Community Association, is a nonprofit organization whose
84+
mission is to support the collaborative development of Odoo features and
85+
promote its widespread use.
86+
87+
.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
88+
:target: https://github.com/alexis-via
89+
:alt: alexis-via
90+
91+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
92+
93+
|maintainer-alexis-via|
94+
95+
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.
96+
97+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright 2011-2020 Julius Network Solutions SARL <contact@julius.fr>
2+
# Copyright 2014-2020 Akretion France (http://www.akretion.com/)
3+
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
4+
# Copyright 2018-2020 Roel Adriaans <roel@road-support.nl>
5+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
6+
7+
8+
{
9+
"name": "Invoice Fiscal Position Update",
10+
"version": "16.0.1.0.0",
11+
"category": "Accounting",
12+
"license": "AGPL-3",
13+
"summary": "Changing the fiscal position of an invoice will auto-update "
14+
"invoice lines",
15+
"website": "https://github.com/OCA/account-invoicing",
16+
"author": "Julius Network Solutions,"
17+
"Akretion,"
18+
"Odoo Community Association (OCA)",
19+
"maintainers": ["alexis-via"],
20+
"depends": ["account"],
21+
"installable": True,
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * account_invoice_fiscal_position_update
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 15.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: account_invoice_fiscal_position_update
17+
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
18+
msgid "Journal Entry"
19+
msgstr ""
20+
21+
#. module: account_invoice_fiscal_position_update
22+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
23+
#, python-format
24+
msgid ""
25+
"The following invoice lines were not updated to the new Fiscal Position because they don't have a Product:\n"
26+
" - %s\n"
27+
"You should update the Account and the Taxes of these invoice lines manually."
28+
msgstr ""
29+
30+
#. module: account_invoice_fiscal_position_update
31+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
32+
#, python-format
33+
msgid ""
34+
"The invoice lines were not updated to the new Fiscal Position because they "
35+
"don't have products. You should update the Account and the Taxes of each "
36+
"invoice line manually."
37+
msgstr ""
38+
39+
#. module: account_invoice_fiscal_position_update
40+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
41+
#, python-format
42+
msgid "Warning"
43+
msgstr ""
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * account_invoice_fiscal_position_update
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 10.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-04-29 02:39+0000\n"
12+
"PO-Revision-Date: 2017-04-29 02:39+0000\n"
13+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
14+
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
15+
"Language: ar\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
20+
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
21+
22+
#. module: account_invoice_fiscal_position_update
23+
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
24+
msgid "Journal Entries"
25+
msgstr ""
26+
27+
#. module: account_invoice_fiscal_position_update
28+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
29+
#, python-format
30+
msgid ""
31+
"The following invoice lines were not updated to the new Fiscal Position "
32+
"because they don't have a Product: - %s You should update the Account and "
33+
"the Taxes of these invoice lines manually."
34+
msgstr ""
35+
36+
#. module: account_invoice_fiscal_position_update
37+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
38+
#, python-format
39+
msgid ""
40+
"The invoice lines were not updated to the new Fiscal Position because they "
41+
"don't have products. You should update the Account and the Taxes of each "
42+
"invoice line manually."
43+
msgstr ""
44+
45+
#. module: account_invoice_fiscal_position_update
46+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
47+
#, python-format
48+
msgid "Warning"
49+
msgstr ""
50+
51+
#~ msgid "Invoice"
52+
#~ msgstr "فاتورة"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * account_invoice_fiscal_position_update
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 10.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-04-29 02:39+0000\n"
12+
"PO-Revision-Date: 2017-04-29 02:39+0000\n"
13+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
14+
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
15+
"Language: bg\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
20+
21+
#. module: account_invoice_fiscal_position_update
22+
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
23+
msgid "Journal Entries"
24+
msgstr ""
25+
26+
#. module: account_invoice_fiscal_position_update
27+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
28+
#, python-format
29+
msgid ""
30+
"The following invoice lines were not updated to the new Fiscal Position "
31+
"because they don't have a Product: - %s You should update the Account and "
32+
"the Taxes of these invoice lines manually."
33+
msgstr ""
34+
35+
#. module: account_invoice_fiscal_position_update
36+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
37+
#, python-format
38+
msgid ""
39+
"The invoice lines were not updated to the new Fiscal Position because they "
40+
"don't have products. You should update the Account and the Taxes of each "
41+
"invoice line manually."
42+
msgstr ""
43+
44+
#. module: account_invoice_fiscal_position_update
45+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
46+
#, python-format
47+
msgid "Warning"
48+
msgstr ""
49+
50+
#~ msgid "Invoice"
51+
#~ msgstr "Фактура"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * account_invoice_fiscal_position_update
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 10.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-04-29 02:39+0000\n"
12+
"PO-Revision-Date: 2017-04-29 02:39+0000\n"
13+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
14+
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
15+
"Language: bs\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
20+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
21+
22+
#. module: account_invoice_fiscal_position_update
23+
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
24+
msgid "Journal Entries"
25+
msgstr ""
26+
27+
#. module: account_invoice_fiscal_position_update
28+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
29+
#, python-format
30+
msgid ""
31+
"The following invoice lines were not updated to the new Fiscal Position "
32+
"because they don't have a Product: - %s You should update the Account and "
33+
"the Taxes of these invoice lines manually."
34+
msgstr ""
35+
36+
#. module: account_invoice_fiscal_position_update
37+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
38+
#, python-format
39+
msgid ""
40+
"The invoice lines were not updated to the new Fiscal Position because they "
41+
"don't have products. You should update the Account and the Taxes of each "
42+
"invoice line manually."
43+
msgstr ""
44+
45+
#. module: account_invoice_fiscal_position_update
46+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
47+
#, python-format
48+
msgid "Warning"
49+
msgstr ""
50+
51+
#~ msgid "Invoice"
52+
#~ msgstr "Faktura"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * account_invoice_fiscal_position_update
4+
#
5+
# Translators:
6+
# OCA Transbot <transbot@odoo-community.org>, 2017
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Odoo Server 10.0\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2017-04-29 02:39+0000\n"
12+
"PO-Revision-Date: 2017-04-29 02:39+0000\n"
13+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
14+
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
15+
"Language: ca\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: \n"
19+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
20+
21+
#. module: account_invoice_fiscal_position_update
22+
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
23+
msgid "Journal Entries"
24+
msgstr ""
25+
26+
#. module: account_invoice_fiscal_position_update
27+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
28+
#, python-format
29+
msgid ""
30+
"The following invoice lines were not updated to the new Fiscal Position "
31+
"because they don't have a Product: - %s You should update the Account and "
32+
"the Taxes of these invoice lines manually."
33+
msgstr ""
34+
35+
#. module: account_invoice_fiscal_position_update
36+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
37+
#, python-format
38+
msgid ""
39+
"The invoice lines were not updated to the new Fiscal Position because they "
40+
"don't have products. You should update the Account and the Taxes of each "
41+
"invoice line manually."
42+
msgstr ""
43+
44+
#. module: account_invoice_fiscal_position_update
45+
#: code:addons/account_invoice_fiscal_position_update/models/account_invoice.py:0
46+
#, python-format
47+
msgid "Warning"
48+
msgstr ""
49+
50+
#~ msgid "Invoice"
51+
#~ msgstr "Factura"

0 commit comments

Comments
 (0)