Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1744 Widoki

Hi All,


When i go to the sales module and go to reports i can filter the reports on Products, and Customer.


I Then see the Customers name only. Is there a way to add the adres also within the reports?


kind regards,


Chris

Awatar
Odrzuć
Autor

Thanks again guys.


I will wait and dont want to code to much. 


kind regards,


Chris.

Najlepsza odpowiedź

Hi,

As this is not possible directly from the ui using developer mode tools or using the studio, it has to be done from the code side via custom module.

You have to inherit the corresponding model , ie, sale.report model and add the new fields to it and adjust the select query to bring the necessary info from the partner of that order.


In order to customize the sale report model from code, you can refer this video explaining the same: How To Add New Field To Sale Report Model In Odoo

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

In Odoo 16, there's no option to filter the sales report based on the customer address. But you can filter the sales report based on the customer's country by adding a custom filter.


Hope it helps

Awatar
Odrzuć