Skip to content

Commit f918667

Browse files
committed
Merge PR #1863 into 18.0
Signed-off-by StefanRijnhart
2 parents 6a200d3 + 7a3fef1 commit f918667

Some content is hidden

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

62 files changed

+4702
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
==============================
2+
Invoice Fiscal Position Update
3+
==============================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:87c4c266ef71609beca654ce2d1a4501872c66cd56e881f0141e7cd4fb517368
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github
20+
:target: https://github.com/OCA/account-invoicing/tree/18.0/account_invoice_fiscal_position_update
21+
:alt: OCA/account-invoicing
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/account-invoicing-18-0/account-invoicing-18-0-account_invoice_fiscal_position_update
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-invoicing&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
With this module, when a user changes the fiscal position of an invoice,
32+
the taxes and the accounts on all the invoice lines which have a product
33+
are automatically updated. The invoice lines without a product are not
34+
updated and a warning is displayed to the user in this case.
35+
36+
**Table of contents**
37+
38+
.. contents::
39+
:local:
40+
41+
Usage
42+
=====
43+
44+
Update fiscal position or the partner on the invoice. This will
45+
automatically update the taxes and accounts.
46+
47+
Bug Tracker
48+
===========
49+
50+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/issues>`_.
51+
In case of trouble, please check there if your issue has already been reported.
52+
If you spotted it first, help us to smash it by providing a detailed and welcomed
53+
`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**>`_.
54+
55+
Do not contact contributors directly about support or help with technical issues.
56+
57+
Credits
58+
=======
59+
60+
Authors
61+
-------
62+
63+
* Julius Network Solutions
64+
* Akretion
65+
66+
Contributors
67+
------------
68+
69+
- Mathieu Vatel (Julius Network Solutions)
70+
71+
- Alexis de Lattre <[email protected]>
72+
73+
- Mourad EL HADJ MIMOUNE <[email protected]>
74+
75+
- Roel Adriaans <[email protected]>
76+
77+
- Marcos Oitabén <[email protected]>
78+
79+
- `Tecnativa <https://www.tecnativa.com>`__:
80+
81+
- Ernesto Tejeda
82+
83+
- `Factor Libre <https://factorlibre.com>`__:
84+
85+
- Luis J. Salvatierra <[email protected]>
86+
87+
Maintainers
88+
-----------
89+
90+
This module is maintained by the OCA.
91+
92+
.. image:: https://odoo-community.org/logo.png
93+
:alt: Odoo Community Association
94+
:target: https://odoo-community.org
95+
96+
OCA, or the Odoo Community Association, is a nonprofit organization whose
97+
mission is to support the collaborative development of Odoo features and
98+
promote its widespread use.
99+
100+
.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
101+
:target: https://github.com/alexis-via
102+
:alt: alexis-via
103+
104+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
105+
106+
|maintainer-alexis-via|
107+
108+
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.
109+
110+
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 <[email protected]>
2+
# Copyright 2014-2020 Akretion France (http://www.akretion.com/)
3+
# @author: Alexis de Lattre <[email protected]>
4+
# Copyright 2018-2020 Roel Adriaans <[email protected]>
5+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
6+
7+
8+
{
9+
"name": "Invoice Fiscal Position Update",
10+
"version": "18.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,63 @@
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 16.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.fields,field_description:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id
18+
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id
19+
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id
20+
msgid "Fiscal Position"
21+
msgstr ""
22+
23+
#. module: account_invoice_fiscal_position_update
24+
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id
25+
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id
26+
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id
27+
msgid ""
28+
"Fiscal positions are used to adapt taxes and accounts for particular "
29+
"customers or sales orders/invoices. The default value comes from the "
30+
"customer."
31+
msgstr ""
32+
33+
#. module: account_invoice_fiscal_position_update
34+
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
35+
msgid "Journal Entry"
36+
msgstr ""
37+
38+
#. module: account_invoice_fiscal_position_update
39+
#. odoo-python
40+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
41+
#, python-format
42+
msgid ""
43+
"The following invoice lines were not updated to the new Fiscal Position because they don't have a Product:\n"
44+
" - %s\n"
45+
"You should update the Account and the Taxes of these invoice lines manually."
46+
msgstr ""
47+
48+
#. module: account_invoice_fiscal_position_update
49+
#. odoo-python
50+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
51+
#, python-format
52+
msgid ""
53+
"The invoice lines were not updated to the new Fiscal Position because they "
54+
"don't have products. You should update the Account and the Taxes of each "
55+
"invoice line manually."
56+
msgstr ""
57+
58+
#. module: account_invoice_fiscal_position_update
59+
#. odoo-python
60+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
61+
#, python-format
62+
msgid "Warning"
63+
msgstr ""
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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 <[email protected]>, 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 <[email protected]>, 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.fields,field_description:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id
24+
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id
25+
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id
26+
msgid "Fiscal Position"
27+
msgstr ""
28+
29+
#. module: account_invoice_fiscal_position_update
30+
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id
31+
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id
32+
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id
33+
msgid ""
34+
"Fiscal positions are used to adapt taxes and accounts for particular "
35+
"customers or sales orders/invoices. The default value comes from the "
36+
"customer."
37+
msgstr ""
38+
39+
#. module: account_invoice_fiscal_position_update
40+
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
41+
msgid "Journal Entry"
42+
msgstr ""
43+
44+
#. module: account_invoice_fiscal_position_update
45+
#. odoo-python
46+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
47+
#, python-format
48+
msgid ""
49+
"The following invoice lines were not updated to the new Fiscal Position "
50+
"because they don't have a Product:\n"
51+
" - %s\n"
52+
"You should update the Account and the Taxes of these invoice lines manually."
53+
msgstr ""
54+
55+
#. module: account_invoice_fiscal_position_update
56+
#. odoo-python
57+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
58+
#, python-format
59+
msgid ""
60+
"The invoice lines were not updated to the new Fiscal Position because they "
61+
"don't have products. You should update the Account and the Taxes of each "
62+
"invoice line manually."
63+
msgstr ""
64+
65+
#. module: account_invoice_fiscal_position_update
66+
#. odoo-python
67+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
68+
#, python-format
69+
msgid "Warning"
70+
msgstr ""
71+
72+
#~ msgid "Invoice"
73+
#~ msgstr "فاتورة"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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 <[email protected]>, 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 <[email protected]>, 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.fields,field_description:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id
23+
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id
24+
#: model:ir.model.fields,field_description:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id
25+
msgid "Fiscal Position"
26+
msgstr ""
27+
28+
#. module: account_invoice_fiscal_position_update
29+
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_bank_statement_line__fiscal_position_id
30+
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_move__fiscal_position_id
31+
#: model:ir.model.fields,help:account_invoice_fiscal_position_update.field_account_payment__fiscal_position_id
32+
msgid ""
33+
"Fiscal positions are used to adapt taxes and accounts for particular "
34+
"customers or sales orders/invoices. The default value comes from the "
35+
"customer."
36+
msgstr ""
37+
38+
#. module: account_invoice_fiscal_position_update
39+
#: model:ir.model,name:account_invoice_fiscal_position_update.model_account_move
40+
msgid "Journal Entry"
41+
msgstr ""
42+
43+
#. module: account_invoice_fiscal_position_update
44+
#. odoo-python
45+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
46+
#, python-format
47+
msgid ""
48+
"The following invoice lines were not updated to the new Fiscal Position "
49+
"because they don't have a Product:\n"
50+
" - %s\n"
51+
"You should update the Account and the Taxes of these invoice lines manually."
52+
msgstr ""
53+
54+
#. module: account_invoice_fiscal_position_update
55+
#. odoo-python
56+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
57+
#, python-format
58+
msgid ""
59+
"The invoice lines were not updated to the new Fiscal Position because they "
60+
"don't have products. You should update the Account and the Taxes of each "
61+
"invoice line manually."
62+
msgstr ""
63+
64+
#. module: account_invoice_fiscal_position_update
65+
#. odoo-python
66+
#: code:addons/account_invoice_fiscal_position_update/models/account_move.py:0
67+
#, python-format
68+
msgid "Warning"
69+
msgstr ""
70+
71+
#~ msgid "Invoice"
72+
#~ msgstr "Фактура"

0 commit comments

Comments
 (0)