Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
1450 Представления

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

Аватар
Отменить
Автор

Thanks again guys.


I will wait and dont want to code to much. 


kind regards,


Chris.

Лучший ответ

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить