Issue for bi_customer_sales_analysis (#2,861)
Status:
OPEN
Date: 01/09/2021
ID: 2,861
S/O number:
SO2021/1547662
Reviewer:
Tirth Mehta
Module Name:
bi_customer_sales_analysis
Version:
13.0
Tags:
Assigned to
Hanee Patel
hanee.patel@browseinfo.in
Description
Hi,
I'm install this module when "print pdf or excel" appear odoo error :
File "/opt/odoo/custom_modules/bi_customer_sales_analysis/report/customer_sale_analysis_reports.py", line 53, in <lambda>
invoice_ids = order.invoice_ids.filtered(lambda invoice: invoice.account_id.id in account_ids and invoice.state != 'cancel')
AttributeError: 'account.move' object has no attribute 'account_id'
but when i have selected a customer that has no invoice, it doesn't even get an error.
I'm install this module when "print pdf or excel" appear odoo error :
File "/opt/odoo/custom_modules/bi_customer_sales_analysis/report/customer_sale_analysis_reports.py", line 53, in <lambda>
invoice_ids = order.invoice_ids.filtered(lambda invoice: invoice.account_id.id in account_ids and invoice.state != 'cancel')
AttributeError: 'account.move' object has no attribute 'account_id'
but when i have selected a customer that has no invoice, it doesn't even get an error.