Skip to Content
Menu
This question has been flagged
803 Views

Hello,

I Would like to see the price of product that have same category in my reports.

for example: total price of items from laptops category, total price of items from spare parts category and so on...

should i create a compute field in form views ?

and the code will be: 


for rec in self:
if record['order_line.x_studio_product_category'] == 'Working hours':
record['order_line.price_unit']=order_line.price_unit+1

thanks

Avatar
Discard