Guewen Baconnier
43def640a9
Remove RowExclusiveLock on exception_rule
The goal of the modified method is to create or remove the relationship
(in the M2m relation tabel) between the tested model (such as
sale_order) and the exception rules. When the ORM writes on
ExceptionRule.sale_ids (using the example of sale_exception), it will
first proceeds with these updates:
* an UPDATE on exception_rule to set the write_date
* INSERT or DELETE on the relation table
* but then, as "write" is called on the exception rule, the ORM will
trigger the api.depends to recompute all the "main_exception_ids"
of the records (sales, ...) related to it, leading to an UPDATE
for each sale order
We end up with RowExclusiveLock on such records:
* All the records of the relation table added / deleted for the current
sale order
* All the records of exception_rule matching the current sale order
* All the records of sale_order related to the exception rules matching
the current sale order
The first one is expected, the next 2 are not. We can remove the lock on
the exception_rule table by removing `_log_access`, however in any case,
the main_exception_ids computed field will continue to lock many sale
orders, effectively preventing 2 sales orders with the same exception
to be confirmed at the same time.
Reversing the write by writing on SaleOrder instead of ExceptionRule
fixes the 2 unexpected locks. It should not result in more queries: the
"to remove" part generates a DELETE on the relation table for the rule
to remove and the "to add" part generates an INSERT for the rule to add,
both will be exactly the same in both cases.
Related to #1642
Replaces #1638
5 years ago
hparfr
60d3d6241d
Remove the feature when self is empty.
This recently added feature is counter intuitive, error prone and is
already causing bugs in sale_workflow.
5 years ago
OCA Transbot
7c033dd086
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-base_exception
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-base_exception/
5 years ago
OCA-git-bot
fa199bede4
[UPD] README.rst
5 years ago
oca-travis
805a61bf31
[UPD] Update base_exception.pot
5 years ago
OCA-git-bot
241ebb9bf5
Merge PR #1609 into 12.0
Signed-off-by Yajo
5 years ago
Ivan Todorovich
ee215ee79d
[IMP] Add convenience action to ignore exceptions on record
[IMP] Computed exception descriptions field, to display better help messages
[IMP] Exceptions shouldn't be copied
6 years ago
OCA Transbot
11388e1bec
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: server-tools-12.0/server-tools-12.0-base_jsonify
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-base_jsonify/
5 years ago
OCA-git-bot
78d90df979
base_jsonify 12.0.1.1.0
5 years ago
oca-travis
f8496df864
[UPD] Update base_jsonify.pot
5 years ago
OCA-git-bot
7f62d636b3
Merge PR #1662 into 12.0
Signed-off-by sebastienbeau
5 years ago
Laurent Mignon (ACSONE)
482ec3acfe
[FIX]base_jsonify: Preserve initial order on ir.export.line
We can't change the order on ir.export.line since it's used to preserve the order speicifed by the user when creating a export filter into the UI
5 years ago
OCA-git-bot
bfa53aab3e
[UPD] README.rst
5 years ago
Rodrigo Macedo
55aa258f42
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (6 of 6 strings)
Translation: server-tools-12.0/server-tools-12.0-fetchmail_notify_error_to_sender
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-fetchmail_notify_error_to_sender/pt_BR/
5 years ago
Rodrigo Macedo
2b5f10d445
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (21 of 21 strings)
Translation: server-tools-12.0/server-tools-12.0-sql_request_abstract
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-sql_request_abstract/pt_BR/
5 years ago
Rodrigo Macedo
52a9980686
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (7 of 7 strings)
Translation: server-tools-12.0/server-tools-12.0-scheduler_error_mailer
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-scheduler_error_mailer/pt_BR/
5 years ago
Rodrigo Macedo
1627c14c26
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1 of 1 strings)
Translation: server-tools-12.0/server-tools-12.0-html_image_url_extractor
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-html_image_url_extractor/pt_BR/
5 years ago
Rodrigo Macedo
2bbb818e2f
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (49 of 49 strings)
Translation: server-tools-12.0/server-tools-12.0-sql_export
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-sql_export/pt_BR/
5 years ago
黎伟杰
ddebcf7881
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (74 of 74 strings)
Translation: server-tools-12.0/server-tools-12.0-database_cleanup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-database_cleanup/zh_CN/
5 years ago
黎伟杰
5a03b2faa2
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (32 of 32 strings)
Translation: server-tools-12.0/server-tools-12.0-excel_import_export_demo
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-excel_import_export_demo/zh_CN/
5 years ago
黎伟杰
787fc5822c
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (80 of 80 strings)
Translation: server-tools-12.0/server-tools-12.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auto_backup/zh_CN/
5 years ago
黎伟杰
7e78a36478
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (70 of 70 strings)
Translation: server-tools-12.0/server-tools-12.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auditlog/zh_CN/
5 years ago
黎伟杰
427ddcd023
Translated using Weblate (Chinese (Simplified))
Currently translated at 71.9% (23 of 32 strings)
Translation: server-tools-12.0/server-tools-12.0-excel_import_export_demo
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-excel_import_export_demo/zh_CN/
5 years ago
黎伟杰
bcad35abed
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (170 of 170 strings)
Translation: server-tools-12.0/server-tools-12.0-excel_import_export
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-excel_import_export/zh_CN/
5 years ago
黎伟杰
65fbe9f136
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
a4a01ad6ed
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (170 of 170 strings)
Translation: server-tools-12.0/server-tools-12.0-excel_import_export
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-excel_import_export/zh_CN/
5 years ago
黎伟杰
173aeb3d33
Translated using Weblate (Chinese (Simplified))
Currently translated at 24.1% (41 of 170 strings)
Translation: server-tools-12.0/server-tools-12.0-excel_import_export
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-excel_import_export/zh_CN/
5 years ago
黎伟杰
b58e78636a
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
272dcb1d2c
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (6 of 6 strings)
Translation: server-tools-12.0/server-tools-12.0-fetchmail_notify_error_to_sender
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-fetchmail_notify_error_to_sender/zh_CN/
5 years ago
黎伟杰
2430ecffad
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (35 of 35 strings)
Translation: server-tools-12.0/server-tools-12.0-module_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-module_analysis/zh_CN/
5 years ago
黎伟杰
3932767205
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
9e63d65cba
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1 of 1 strings)
Translation: server-tools-12.0/server-tools-12.0-onchange_helper
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-onchange_helper/zh_CN/
5 years ago
黎伟杰
b9a2bb2a15
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1 of 1 strings)
Translation: server-tools-12.0/server-tools-12.0-html_text
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-html_text/zh_CN/
5 years ago
黎伟杰
d3af443c47
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2 of 2 strings)
Translation: server-tools-12.0/server-tools-12.0-module_auto_update
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-module_auto_update/zh_CN/
5 years ago
黎伟杰
0851923377
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7 of 7 strings)
Translation: server-tools-12.0/server-tools-12.0-scheduler_error_mailer
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-scheduler_error_mailer/zh_CN/
5 years ago
黎伟杰
fcc592c55f
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1 of 1 strings)
Translation: server-tools-12.0/server-tools-12.0-html_image_url_extractor
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-html_image_url_extractor/zh_CN/
5 years ago
黎伟杰
aef51a90fe
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
7ffd446709
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
2ce04afca8
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
720e69b1aa
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (21 of 21 strings)
Translation: server-tools-12.0/server-tools-12.0-sql_request_abstract
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-sql_request_abstract/zh_CN/
5 years ago
黎伟杰
6dd521620c
Translated using Weblate (Chinese (Simplified))
Currently translated at 2.9% (5 of 170 strings)
Translation: server-tools-12.0/server-tools-12.0-excel_import_export
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-excel_import_export/zh_CN/
5 years ago
黎伟杰
166ece2a6b
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (49 of 49 strings)
Translation: server-tools-12.0/server-tools-12.0-sql_export
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-sql_export/zh_CN/
5 years ago
黎伟杰
7aea65274d
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
781efe0f47
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
dbe1f5cd9b
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2 of 2 strings)
Translation: server-tools-12.0/server-tools-12.0-datetime_formatter
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-datetime_formatter/zh_CN/
5 years ago
黎伟杰
1b353ab517
Translated using Weblate (Chinese (Simplified))
Currently translated at 51.4% (38 of 74 strings)
Translation: server-tools-12.0/server-tools-12.0-database_cleanup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-database_cleanup/zh_CN/
5 years ago
黎伟杰
bb9395f552
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
59f3a4ab56
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5 of 5 strings)
Translation: server-tools-12.0/server-tools-12.0-base_technical_user
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-base_technical_user/zh_CN/
5 years ago
黎伟杰
025df3b060
Added translation using Weblate (Chinese (Simplified))
5 years ago
黎伟杰
f3eeb2150a
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (19 of 19 strings)
Translation: server-tools-12.0/server-tools-12.0-base_search_fuzzy
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-base_search_fuzzy/zh_CN/
5 years ago