[FIX] product: fix the pricelist report traceback
Currently, if we print the pricelist report after refresh, the traceback will occur. It has been fixed. closes odoo/odoo#79968 Task-id: 2584806 X-original-commit: a4c2f01a8e94e7361b25862758c1a20abad6c7aa Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
committed by
Victor Feyens
parent
66bdf462f5
commit
5dcf2633b5
@@ -180,7 +180,7 @@ var GeneratePriceList = AbstractAction.extend(StandaloneFieldManagerMixin, {
|
||||
_prepareActionReportParams: function () {
|
||||
return {
|
||||
active_model: this.context.active_model,
|
||||
active_ids: this.context.active_ids,
|
||||
active_ids: this.context.active_ids || '',
|
||||
is_visible_title: this.context.is_visible_title || '',
|
||||
pricelist_id: this.context.pricelist_id || '',
|
||||
quantities: this.context.quantities || [1],
|
||||
|
||||
Reference in New Issue
Block a user