Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1752 Zobrazení

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
Zrušit
Autor

Thanks again guys.


I will wait and dont want to code to much. 


kind regards,


Chris.

Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit