-
- Downloads
[FIX] *: cache consistency
In module mail, invalidating 'message_ids' on a mail thread also invalidates its inverse field 'res_id' on messages. If you haven't flushed it before, your cache will be inconsistent, as shown by the test /mail:TestMailgateway.test_message_process_bounce_records_channel. In module purchase_stock, add depends on report.stock.quantity. This ensures that when the model is queried after changes in other models, the data on which the SQL view depends is flushed to the database before querying that model's table. closes odoo/odoo#66938 Related: odoo/enterprise#16722 Signed-off-by:Raphael Collet <rco@odoo.com> Co-authored-by:
Vincent Schippefilt <vsc@odoo.com>
Showing
- addons/account/tests/test_account_account.py 3 additions, 3 deletionsaddons/account/tests/test_account_account.py
- addons/calendar/models/calendar_alarm_manager.py 4 additions, 0 deletionsaddons/calendar/models/calendar_alarm_manager.py
- addons/calendar/tests/test_calendar.py 1 addition, 0 deletionsaddons/calendar/tests/test_calendar.py
- addons/crm/tests/test_crm_pls.py 7 additions, 0 deletionsaddons/crm/tests/test_crm_pls.py
- addons/delivery/tests/test_delivery_cost.py 1 addition, 1 deletionaddons/delivery/tests/test_delivery_cost.py
- addons/hr/models/hr_employee.py 9 additions, 4 deletionsaddons/hr/models/hr_employee.py
- addons/hr_work_entry_holidays/tests/test_leave.py 2 additions, 3 deletionsaddons/hr_work_entry_holidays/tests/test_leave.py
- addons/l10n_eg_edi_eta/tests/common.py 15 additions, 10 deletionsaddons/l10n_eg_edi_eta/tests/common.py
- addons/mail/models/mail_message.py 1 addition, 0 deletionsaddons/mail/models/mail_message.py
- addons/mrp_subcontracting/tests/test_subcontracting.py 1 addition, 1 deletionaddons/mrp_subcontracting/tests/test_subcontracting.py
- addons/project/tests/test_project_report.py 3 additions, 0 deletionsaddons/project/tests/test_project_report.py
- addons/purchase/models/purchase.py 1 addition, 0 deletionsaddons/purchase/models/purchase.py
- addons/purchase_stock/tests/test_reordering_rule.py 3 additions, 2 deletionsaddons/purchase_stock/tests/test_reordering_rule.py
- addons/sale/tests/test_sale_order.py 2 additions, 4 deletionsaddons/sale/tests/test_sale_order.py
- addons/sale_loyalty/tests/test_program_rules.py 1 addition, 3 deletionsaddons/sale_loyalty/tests/test_program_rules.py
- addons/sale_stock/tests/test_sale_stock.py 3 additions, 4 deletionsaddons/sale_stock/tests/test_sale_stock.py
- addons/stock/report/report_stock_quantity.py 9 additions, 0 deletionsaddons/stock/report/report_stock_quantity.py
- addons/website/tests/test_views.py 1 addition, 1 deletionaddons/website/tests/test_views.py
- odoo/addons/base/models/ir_model.py 7 additions, 5 deletionsodoo/addons/base/models/ir_model.py
- odoo/addons/base/models/ir_rule.py 1 addition, 2 deletionsodoo/addons/base/models/ir_rule.py
Loading
Please register or sign in to comment