2
0
Commit Graph

1608 Commits

Author SHA1 Message Date
Jairo Llopis
1067d0ea1b
[FIX] account_journal_general_sequence: provide defaults for sorting
Under some weird scenarios where some modules are involved, several invoices are posted at the same time, and no invoice exists, we could get to the case when `one.date` or `one.name` were `False`.

Here I provide a default value to avoid comparing `str` to `bool` in those cases.

Tried a lot but couldn't reproduce the test case in code, sorry 😕. However, the traceback was clear:

```
File "/opt/odoo/auto/addons/account_journal_general_sequence/models/account_move.py", line 64, in _compute_entry_number
  for move in chosen.sorted(lambda one: (one.date, one.name, one.id)):
File "/opt/odoo/custom/src/odoo/odoo/models.py", line 5583, in sorted
  ids = tuple(item.id for item in sorted(self, key=key, reverse=reverse))
TypeError: '<' not supported between instances of 'str' and 'bool'
```

@moduon MT-5559
2024-03-25 10:51:45 +00:00
Ivorra78
43bb7381e4 Translated using Weblate (Spanish)
Currently translated at 100.0% (2 of 2 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_account_tag_code
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_account_tag_code/es/
2024-02-16 21:35:05 +00:00
Ivorra78
6c0d39c532 Translated using Weblate (Spanish)
Currently translated at 100.0% (2 of 2 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_check_number
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_check_number/es/
2024-02-16 21:35:05 +00:00
Ivorra78
b70effc77c Translated using Weblate (Spanish)
Currently translated at 100.0% (4 of 4 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_journal_restrict_mode
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_journal_restrict_mode/es/
2024-02-16 21:35:05 +00:00
Ivorra78
9f6a1bc25a Translated using Weblate (Spanish)
Currently translated at 100.0% (262 of 262 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_asset_management/es/
2024-02-16 21:35:04 +00:00
Ivorra78
f6fe430e3e Added translation using Weblate (Spanish) 2024-02-16 19:35:07 +00:00
Ivorra78
e3f1ee5fe5 Added translation using Weblate (Spanish) 2024-02-16 19:34:00 +00:00
Ivorra78
8ac42edb50 Added translation using Weblate (Spanish) 2024-02-16 19:31:40 +00:00
Weblate
9701fa0652 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_asset_management/
2024-02-16 09:29:41 +00:00
OCA-git-bot
75057691ed [BOT] post-merge updates 2024-02-16 08:44:28 +00:00
oca-ci
980c099c08 [UPD] Update account_asset_management.pot 2024-02-16 08:40:06 +00:00
OCA-git-bot
39c092cca6 Merge PR #1820 into 16.0
Signed-off-by pedrobaeza
2024-02-16 08:36:27 +00:00
ps-tubtim
92e9d246ef [ENH] account_asset_management: default salvage value on profile
This PR enables the configuration of salvage value in the asset profile.
Users can configure it with a fixed amount or a percentage of the salvage value.
2024-02-15 18:52:42 +07:00
mymage
3721c6d7e7 Translated using Weblate (Italian)
Currently translated at 88.7% (71 of 80 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_template/it/
2024-02-12 11:37:53 +00:00
OCA-git-bot
d0b241f9cd [BOT] post-merge updates 2024-02-09 13:29:27 +00:00
OCA-git-bot
14d3aacddf Merge PR #1816 into 16.0
Signed-off-by etobella
2024-02-09 13:25:22 +00:00
Zina Rasoamanana
458f4d5d40 [IMP] account_loan: add multi-company ir_rule for 'account_loan_line' 2024-02-08 17:45:44 +01:00
BrunoBailo
dedd873814 Translated using Weblate (Catalan)
Currently translated at 97.7% (171 of 175 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_loan/ca/
2024-02-01 16:36:43 +00:00
BrunoBailo
6ec2653506 Added translation using Weblate (Catalan (ca_ES)) 2024-02-01 12:01:01 +00:00
Yung-Wa
ca7efb5279 Translated using Weblate (Dutch)
Currently translated at 100.0% (19 of 19 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_lock_date_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_lock_date_update/nl/
2024-01-30 12:59:06 +00:00
Stéphane Bidoul (ACSONE)
4cdcd5e04b Translated using Weblate (Dutch)
Currently translated at 100.0% (7 of 7 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_invoice_constraint_chronology/nl/
2024-01-13 12:53:47 +00:00
Stéphane Bidoul (ACSONE)
7580de400e Translated using Weblate (Dutch)
Currently translated at 100.0% (7 of 7 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_invoice_constraint_chronology/nl/
2024-01-13 12:52:41 +00:00
BrunoBailo
d379f76ff9 Translated using Weblate (Catalan)
Currently translated at 100.0% (80 of 80 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_template/ca/
2024-01-04 15:37:31 +00:00
Adriano Prado
93718388f7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (3 of 3 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_fiscal_month
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_fiscal_month/pt_BR/
2023-12-28 22:35:18 +00:00
Adriano Prado
3edd0c6d18 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (19 of 19 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_lock_date_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_lock_date_update/pt_BR/
2023-12-28 22:35:18 +00:00
Adriano Prado
a57e1a9a03 Translated using Weblate (Portuguese (Brazil))
Currently translated at 94.1% (129 of 137 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_chart_update/pt_BR/
2023-12-28 22:35:18 +00:00
Adriano Prado
900824322a Translated using Weblate (Portuguese (Brazil))
Currently translated at 89.1% (230 of 258 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_asset_management/pt_BR/
2023-12-28 22:35:17 +00:00
Yung-Wa
ae4a48556c Translated using Weblate (Dutch)
Currently translated at 100.0% (7 of 7 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_invoice_constraint_chronology/nl/
2023-12-19 15:20:14 +00:00
Ignacio Buioli
11f8628173 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (137 of 137 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_chart_update
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_chart_update/es_AR/
2023-12-10 16:34:41 +00:00
OCA-git-bot
da515faddb [BOT] post-merge updates 2023-11-24 12:00:06 +00:00
OCA-git-bot
872fa9ee58 Merge PR #1781 into 16.0
Signed-off-by pedrobaeza
2023-11-24 11:56:13 +00:00
RemiFr82
9fdee5df07
[FIX] wizard_chart_update.py
Use tax record as key in tax_template_ref dict because in odoo/account/models/chart_template.py line 959, the given key on dict reading is a tax record and not a simple id.
2023-11-24 12:43:22 +01:00
OCA-git-bot
a92120a4fe [BOT] post-merge updates 2023-11-24 08:31:21 +00:00
oca-ci
331ecbd97b [UPD] Update account_account_tag_code.pot 2023-11-24 08:27:15 +00:00
OCA-git-bot
7311a6395f Merge PR #1754 into 16.0
Signed-off-by AaronHForgeFlow
2023-11-24 08:23:46 +00:00
Adriano Prado
cdf7942930 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (80 of 80 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_template/pt_BR/
2023-11-22 16:36:56 +00:00
BrunoBailo
60f5520897 Translated using Weblate (Catalan)
Currently translated at 100.0% (80 of 80 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_template
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_template/ca/
2023-11-22 13:36:20 +00:00
OCA-git-bot
0c43ff9550 [BOT] post-merge updates 2023-11-21 19:27:29 +00:00
OCA-git-bot
ec95247213 Merge PR #1755 into 16.0
Signed-off-by moylop260
2023-11-21 19:23:31 +00:00
Yung-Wa
d227965ef8 Translated using Weblate (Dutch)
Currently translated at 100.0% (7 of 7 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-base_vat_optional_vies
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-base_vat_optional_vies/nl/
2023-11-21 18:35:38 +00:00
Yung-Wa
567504d69b Translated using Weblate (Dutch)
Currently translated at 85.7% (6 of 7 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-base_vat_optional_vies
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-base_vat_optional_vies/nl/
2023-11-21 15:50:04 +00:00
Yung-Wa
8d9ce30a5e Added translation using Weblate (Dutch) 2023-11-21 15:47:19 +00:00
Yung-Wa
72160f75eb Translated using Weblate (Dutch)
Currently translated at 95.7% (247 of 258 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_asset_management
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_asset_management/nl/
2023-11-21 12:35:19 +00:00
OCA-git-bot
2c68e41acf [BOT] post-merge updates 2023-11-20 08:14:08 +00:00
oca-ci
3d9d89ae45 [UPD] Update account_move_line_check_number.pot 2023-11-20 08:10:10 +00:00
OCA-git-bot
f2109be93b Merge PR #1669 into 16.0
Signed-off-by etobella
2023-11-20 08:06:43 +00:00
Adriano Prado
857fdd1d9b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (7 of 7 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/pt_BR/
2023-11-14 20:38:42 +00:00
Thijs van Oers
5fd961950d Translated using Weblate (Dutch)
Currently translated at 100.0% (6 of 6 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_fiscal_position_vat_check
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_fiscal_position_vat_check/nl/
2023-11-14 17:36:30 +00:00
Ignacio Buioli
827691104f Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (175 of 175 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_loan/es_AR/
2023-11-13 01:56:55 +00:00
Ignacio Buioli
78f59c74c1 Translated using Weblate (Spanish (Argentina))
Currently translated at 73.7% (129 of 175 strings)

Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_loan
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_loan/es_AR/
2023-11-12 22:38:25 +00:00