Commit Graph

158 Commits

Author SHA1 Message Date
Omar (Comunitea)
d0f1b22def [MIG] base_global_discount: Migration to 14.0 2022-08-08 10:03:30 +02:00
OCA-git-bot
4081b81fe5 base_global_discount 13.0.2.0.0
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-13.0/server-backend-13.0-base_global_discount
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_global_discount/
2022-08-08 10:03:30 +02:00
david
c5f387038b [IMP] base_global_discount: add specific security group
This way, it will be easier to decide who can set discount or not. The
current group scope is too broad.

[UPD] Update base_global_discount.pot
2022-08-08 10:03:30 +02:00
Cas Vissers
fa689dab7d Translated using Weblate (Dutch)
Currently translated at 100.0% (20 of 20 strings)

Translation: server-backend-13.0/server-backend-13.0-base_global_discount
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_global_discount/nl_NL/
2022-08-08 10:03:30 +02:00
Cas Vissers
8ae020ce0b Added translation using Weblate (Dutch) 2022-08-08 10:03:30 +02:00
Ernesto Tejeda
56ff13ae21 [MIG] base_global_discount: Migration to 13.0
[UPD] Update base_global_discount.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-13.0/server-backend-13.0-base_global_discount
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_global_discount/
2022-08-08 10:03:30 +02:00
Ernesto Tejeda
8b8f45e496 [IMP] base_global_discount: black, isort, prettier 2022-08-08 10:03:30 +02:00
Pedro Castro Silva
b089bc0fc1 Added translation using Weblate (Portuguese) 2022-08-08 10:03:30 +02:00
Manuel Calero
d8c1b7b41a [MIG] base_global_discount: Migration to 12.0 2022-08-08 10:03:30 +02:00
David
60b02c315a [ADD] base_global_discount: New Module 11.0 2022-08-08 10:03:30 +02:00
Elmeri Niemelä
24f8424f53 [15.0][FIX] UserWarning: Field res.groups.trans_parent_ids should be declared with recursive=True 2022-07-11 14:14:10 +03:00
OCA Transbot
338d0c69f9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-15.0/server-backend-15.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_user_role/
2022-06-20 16:56:48 +00:00
OCA-git-bot
9813f3dadc [UPD] addons table in README.md 2022-06-20 16:56:40 +00:00
OCA-git-bot
e39abc4d58 base_user_role 15.0.0.1.0 2022-06-20 16:56:36 +00:00
OCA-git-bot
e5407717b2 [UPD] README.rst 2022-06-20 16:56:35 +00:00
oca-ci
63715134b9 [UPD] Update base_user_role.pot 2022-06-20 16:54:19 +00:00
OCA-git-bot
73bc6d6c8f Merge PR #160 into 15.0
Signed-off-by StefanRijnhart
2022-06-20 16:52:32 +00:00
GuillemCForgeFlow
b3e81ac559 [IMP]base_user_role: Groups-roles navigation 2022-06-20 14:03:11 +02:00
SilvioC2C
bb01ed61de FIX base_user_role: update tests 2022-05-27 12:03:43 +02:00
SilvioC2C
4aa5faf9d2 FIX base_user_role: use `sudo() in user_ids` compute
When computing ``user_ids``, avoid AccessError due to multi-company
rules if the compute is triggered by an admin user
2022-05-27 11:52:43 +02:00
Augusto Weiss
e84b4a2918 [MIG] base_import_match: Migration to 15.0 2022-05-05 10:15:08 -03:00
Augusto Weiss
a4fe958e74 [IMP] base_import_match: pre-commit execution 2022-05-05 09:47:21 -03:00
oca-git-bot
7565180fcc [IMP] update dotfiles [ci skip] 2022-05-05 09:47:08 -03:00
Mi Di
6c7c5e097b Translated using Weblate (Vietnamese)
Currently translated at 100.0% (27 of 27 strings)

Translation: server-backend-14.0/server-backend-14.0-base_import_match
Translate-URL: https://translation.odoo-community.org/projects/server-backend-14-0/server-backend-14-0-base_import_match/vi_VN/
2022-05-05 09:47:08 -03:00
OCA-git-bot
740af494e6 [UPD] README.rst 2022-05-05 09:47:08 -03:00
oca-travis
72b03e19f0 [UPD] Update base_import_match.pot 2022-05-05 09:47:08 -03:00
Jesus Ramoneda
a8b5e3835e [MIG] base_import_match: Migration to 14.0 2022-05-05 09:47:08 -03:00
Jesus Ramoneda
5c7cbfddc0 [IMP] base_import_match: black, isort, prettier 2022-05-05 09:47:08 -03:00
Radovan Skolnik
f86e18d9c1 [MIG] base_import_match: Migration to 13.0
[UPD] Update base_import_match.pot
2022-05-05 09:47:08 -03:00
Radovan Skolnik
d45407817b [IMP] base_import_match: black, isort, prettier 2022-05-05 09:47:08 -03:00
Rodrigo Macedo
0480ef2a5e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (27 of 27 strings)

Translation: server-backend-12.0/server-backend-12.0-base_import_match
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_import_match/pt_BR/
2022-05-05 09:47:08 -03:00
OCA Transbot
c63a755967 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_import_match
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_import_match/

[UPD] README.rst
2022-05-05 09:47:08 -03:00
ernesto
cb72b4b44f [MIG] base_import_match: Migration to 12.0
[UPD] README.rst

[UPD] Update base_import_match.pot
2022-05-05 09:47:08 -03:00
OCA Transbot
ba23d45aed OCA Transbot updated translations from Transifex
[UPD] Update base_import_match.pot
2022-05-05 09:47:08 -03:00
Jairo Llopis
a3492e64eb [10.0][MIG][base_import_match] Migration and update
Includes:

- Normal migration steps.
- Usage of brand new `_inherit = "base"` in Odoo 10, which implies
  removing a lot of monkey-patching code.
- Log a warning when multiple matches are found.
2022-05-05 09:47:08 -03:00
OCA Transbot
4f32abe7be OCA Transbot updated translations from Transifex 2022-05-05 09:47:08 -03:00
cubells
d659e2dfa2 base_import_match module 2022-05-05 09:47:08 -03:00
Jairo Llopis
b2e60517f8 Avoid UnicodeEncodeError. (#544)
* Fix wrong README format.

* [FIX][base_import_match] Avoid UnicodeEncodeError.

When the model or field you chose was translated and had some non-ascii
character, you got an error like this: `UnicodeEncodeError: 'ascii' codec can't
encode character u'\xed' in position 15: ordinal not in range(128)`.

Now, using unicode strings, that won't happen again.

* Do not require a hidden field.

* Further unicode protection, add ondelete clause.
2022-05-05 09:47:08 -03:00
Moisés López
0d2f7f30b8 base_import_match: Small rst fixes in readme file 2022-05-05 09:47:08 -03:00
Jairo Llopis
ec376f4aa9 base_import_match: Add conditionals to fields when importing.
This patch allows to import res.partner records by VAT when is_company==True by default.
2022-05-05 09:47:08 -03:00
Jairo Llopis
cfb6f2f032 base_import_match: Import deduplicator.
By default, when importing data (like CSV import) with the ``base_import``
module, Odoo follows this rule:

1. If you import the XMLID of a record, make an **update**.
2. If you do not, **create** a new record.

This module allows you to set additional rules to match if a given import is an
update or a new record.

This is useful when you need to sync heterogeneous databases, and the field you
use to match records in those databases with Odoo's is not the XMLID but the
name, VAT, email, etc.

After installing this module, the import logic will be changed to:

1. If you import the XMLID of a record, make an **update**.
2. If you do not:
   1. If there are import match rules for the model you are importing:
       1. Discard the rules that require fields you are not importing.
       2. Traverse the remaining rules one by one in order to find a match in
          the database.
          1. If one match is found:
             1. Stop traversing the rest of valid rules.
             2. **Update** that record.
          2. If zero or multiple matches are found:
             1. Continue with the next rule.
          3. If all rules are exhausted and no single match is found:
             1. **Create** a new record.
   2. If there are no match rules for your model:
      1. **Create** a new record.
2022-05-05 09:47:08 -03:00
pablontura
3925851767 Translated using Weblate (Catalan)
Currently translated at 100.0% (39 of 39 strings)

Translation: server-backend-15.0/server-backend-15.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_user_role/ca/
2022-04-13 12:05:14 +00:00
oca-git-bot
77f501225d [IMP] update dotfiles [ci skip] 2022-03-31 17:37:17 +02:00
OCA-git-bot
bb3ac82206 [ADD] setup.py 2021-11-27 11:03:12 +00:00
OCA-git-bot
58d3c65c3f [UPD] README.rst 2021-11-27 11:03:12 +00:00
OCA-git-bot
8d193cf96c [UPD] addons table in README.md 2021-11-27 11:03:11 +00:00
oca-ci
673fb91167 [UPD] Update base_user_role.pot 2021-11-27 11:01:09 +00:00
OCA-git-bot
697e773f17 Merge PR #138 into 15.0
Signed-off-by dreispt
2021-11-27 10:59:22 +00:00
Tatiana Deribina
8f5517c9c1 [MIG] base_user_role: Migration to 15.0 2021-11-11 18:22:24 +02:00
Mi Di
41ef656216 Translated using Weblate (Vietnamese)
Currently translated at 87.1% (34 of 39 strings)

Translation: server-backend-14.0/server-backend-14.0-base_user_role
Translate-URL: https://translation.odoo-community.org/projects/server-backend-14-0/server-backend-14-0-base_user_role/vi_VN/
2021-11-11 16:19:58 +02:00