server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

[16.0] autovacuum_message_attachment incompatible with account_accountant

Open marepust opened this issue 1 year ago • 0 comments

Module: autovacuum_message_attachment Version: 16.0

Description:
When autovacuum_message_attachment module is installed on Odoo v16 with enterprise module account_accountant it break bank.rec.widget.

Steps to reproduce:

  • install autovacuum_message_attachment
  • open "account.bank.statement.line" (/web?debug=1#menu_id=164&cids=7&active_id=44&model=account.bank.statement.line&view_type=kanban) form view
  • click anywhere on page
  • that will trigger API call (web/dataset/call_kw/bank.rec.widget/onchange) that will return error:
    ValueError: Wrong value for bank.rec.widget.line.assigned_attachment_ids: ir.attachment()

request: bank.rec.widget_err_request.txt response: bank.rec.widget_err_response.txt

marepust avatar Jun 14 '24 11:06 marepust