Skip to content

Commit af14672

Browse files
committed
[18.0][MIG] product_tax_multicompany_default: migration to 18.0
This PR is a continuation of PR OCA#811. This PR is for the migration of the product_tax_multicompany_default module, which is used to propagate taxes across multiple companies. This commit makes changes so that it is not duplicated in the Sales Taxes form view, and removes the functionality when creating a new product in all companies, since Odoo 18 already does this. @moduon MT-11041
1 parent c443832 commit af14672

8 files changed

Lines changed: 226 additions & 106 deletions

File tree

product_tax_multicompany_default/README.rst

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Product Tax Multi Company Default
33
=================================
44

5-
..
5+
..
66
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
77
!! This file is generated by oca-gen-addon-readme !!
88
!! changes will be overwritten. !!
@@ -31,7 +31,8 @@ Product Tax Multi Company Default
3131
This module sets the default company taxes for all the existing
3232
companies when a product is created. It also adds a button in product
3333
view to set all the taxes from other companies matching them by tax
34-
code.
34+
code. If a default tax is propagated, it will be propagated as the
35+
default tax in all companies, even if they are from different countries.
3536

3637
**Table of contents**
3738

@@ -94,20 +95,20 @@ Authors
9495
Contributors
9596
------------
9697

97-
- `Tecnativa <https://www.tecnativa.com>`__:
98+
- `Tecnativa <https://www.tecnativa.com>`__:
9899

99-
- Carlos Dauden
100-
- Pedro M. Baeza
101-
- Vicent Cubells
102-
- Ernesto Tejeda
100+
- Carlos Dauden
101+
- Pedro M. Baeza
102+
- Vicent Cubells
103+
- Ernesto Tejeda
103104

104-
- Loo <http://odooerp.cl/>`\_:
105+
- Loo <http://odooerp.cl/>`\_:
105106

106-
- Carlos Lopez
107+
- Carlos Lopez
107108

108-
- `Moduon <https://www.moduon.team>`__:
109+
- `Moduon <https://www.moduon.team>`__:
109110

110-
- Eduardo de Miguel
111+
- Eduardo de Miguel
111112

112113
Maintainers
113114
-----------
@@ -128,7 +129,7 @@ promote its widespread use.
128129

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

131-
|maintainer-Shide|
132+
|maintainer-Shide|
132133

133134
This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/18.0/product_tax_multicompany_default>`_ project on GitHub.
134135

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# Translation of Odoo Server.
22
# This file contains the translation of the following modules:
3-
# * product_tax_multicompany_default
3+
# * product_tax_multicompany_default
44
#
55
# Translators:
66
# OCA Transbot <transbot@odoo-community.org>, 2017
77
msgid ""
88
msgstr ""
9-
"Project-Id-Version: Odoo Server 9.0c\n"
9+
"Project-Id-Version: Odoo Server 18.0\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-12-04 19:36+0100\n"
12-
"PO-Revision-Date: 2021-03-09 10:45+0000\n"
13-
"Last-Translator: Ana Suárez <ana.suarez@qubiq.es>\n"
14-
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
11+
"POT-Creation-Date: 2025-09-29 07:33+0000\n"
12+
"PO-Revision-Date: 2025-09-29 09:38+0200\n"
13+
"Last-Translator: Xino61122 <german@moduon.team>\n"
14+
"Language-Team: \n"
1515
"Language: es\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
19-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
20-
"X-Generator: Weblate 4.3.2\n"
19+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
20+
"X-Generator: Poedit 3.5\n"
2121

2222
#. module: product_tax_multicompany_default
2323
#: model:ir.model.fields,help:product_tax_multicompany_default.field_product_product__divergent_company_taxes
@@ -26,12 +26,14 @@ msgid ""
2626
"Does this product have divergent cross-company taxes? (Only for multi-"
2727
"company products)"
2828
msgstr ""
29+
"¿Este producto tiene impuestos divergentes entre empresas? (Solo para "
30+
"productos multiempresa)"
2931

3032
#. module: product_tax_multicompany_default
3133
#: model:ir.model.fields,field_description:product_tax_multicompany_default.field_product_product__divergent_company_taxes
3234
#: model:ir.model.fields,field_description:product_tax_multicompany_default.field_product_template__divergent_company_taxes
3335
msgid "Has divergent cross-company taxes"
34-
msgstr ""
36+
msgstr "Tiene impuestos divergentes entre empresas"
3537

3638
#. module: product_tax_multicompany_default
3739
#: model:ir.model,name:product_tax_multicompany_default.model_product_template
@@ -41,13 +43,19 @@ msgstr "Producto"
4143
#. module: product_tax_multicompany_default
4244
#: model:ir.model,name:product_tax_multicompany_default.model_product_product
4345
msgid "Product Variant"
44-
msgstr ""
46+
msgstr "Variante de producto"
4547

4648
#. module: product_tax_multicompany_default
4749
#: model:ir.actions.server,name:product_tax_multicompany_default.action_set_multicompany_taxes
4850
#: model_terms:ir.ui.view,arch_db:product_tax_multicompany_default.product_template_form_view
4951
msgid "Propagate Taxes"
5052
msgstr "Propagar impuestos"
5153

52-
#~ msgid "Product Template (Multi-Company)"
53-
#~ msgstr "Plantilla de producto (multi-compañía)"
54+
#. module: product_tax_multicompany_default
55+
#: model_terms:ir.ui.view,arch_db:product_tax_multicompany_default.product_template_form_view
56+
msgid ""
57+
"This button propagates sales and purchase taxes if they have changed and if "
58+
"the companies have the same tax rate."
59+
msgstr ""
60+
"Este botón propaga los impuestos sobre las ventas y las compras si han "
61+
"cambiado y si las empresas tienen el mismo tipo de impuesto."

product_tax_multicompany_default/i18n/product_tax_multicompany_default.pot

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Odoo Server 18.0\n"
88
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2025-09-30 08:18+0000\n"
10+
"PO-Revision-Date: 2025-09-30 08:18+0000\n"
911
"Last-Translator: \n"
1012
"Language-Team: \n"
1113
"MIME-Version: 1.0\n"
@@ -42,3 +44,10 @@ msgstr ""
4244
#: model_terms:ir.ui.view,arch_db:product_tax_multicompany_default.product_template_form_view
4345
msgid "Propagate Taxes"
4446
msgstr ""
47+
48+
#. module: product_tax_multicompany_default
49+
#: model_terms:ir.ui.view,arch_db:product_tax_multicompany_default.product_template_form_view
50+
msgid ""
51+
"This button propagates sales and purchase taxes if they have changed and if "
52+
"the companies have the same tax rate."
53+
msgstr ""

0 commit comments

Comments
 (0)