Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
1586 Ansichten

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

Avatar
Verwerfen
Autor

Thanks again guys.


I will wait and dont want to code to much. 


kind regards,


Chris.

Beste Antwort

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

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen