Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Pricelist Report Groupby Product+Multiple Pricelist odoo 18

Avatar
odoo
Avatar
Discard
2 Answers
0
Avatar
odoo
Best Answer

Hi,

Steps:

1. Open Sales-> Reporting->Sales

2 . Switch to Pivot View.

3. Put Product on rows.

4. Put the Pricelist on columns.

5. Add the Fixed Price measure.

Result: exactly the format you described, with products in rows and multiple pricelists as columns.


Hope it helps.

2 Comments
Avatar
Discard
Avatar
odoo
-

Thank you for your great support. It meets my requirement.

Avatar
odoo
-

With this approach you will see only products which has been sold, not the whole products list.

0
Avatar
odoo
Best Answer

Hello Anup Ghosh,



Creating a report that groups products by multiple pricelists in Odoo 18 requires a custom approach. Here's a general guide to achieve this:



  1. Create a new report template in your custom module.

  2. Use Odoo's QWeb reporting engine to design your report layout. Ensure you include fields for "Product", "PricelistA", and "PricelistB".

  3. Develop a method in your report's model to fetch product prices from different pricelists. This might involve querying the 'product.pricelist.item' model to get prices for each product under each pricelist.

  4. In your method, structure the data to match your report layout, grouping products and their corresponding prices under each pricelist.

  5. Finally, link your report template to an action, making it accessible from the Odoo interface.


For personalized assistance:
https://www.pragtech.co.in/contact-us-mql.html

Avatar
Discard