跳至内容
菜单
此问题已终结

I am new to Odoo and am trying to create a web-shop for a local agricultural equipment manufacturer. Some of the products are configurable and have dynamic pricing calculation which i haven't been able to implement.


I am aware that this is not the most standard use of Odoo but I really hope it is possible.

I would appreciate anyone pointing me to some resources that could help me implement this, or tell me if this is just not possible without writing my own Odoo module.


I am using V18 online but if required i can use studio or sh.


Here are 2 example of products, one simpler and one more complex:

Simple product

name: "Growing Tunnel"

Parameters:

width:

  • 8 meters
  • 10 meters

crop support:

  • yes
  • no

length:

  • a number between 10 and 100

Price calculation:

edge_price + (length * segment_price)


the edge price and segment price are based on the width and crop support parameters.


Complex product

name: "Square beam"

parameters:

  • length (mm) : number between 1000 and 8000 
  • width (mm) : number between 100 and 200
  • thickness (mm) : number between 0.5 and 10 

Price calculation:

((((length/1000)*(width/1000)*(width/1000)) - ((length/1000)*((width-2*G5)/1000)*((width-2*thickness)/1000))) * 2700) * 15

the price of the beam is the calculated weight of it times the price of the metal per KG.


形象
丢弃
相关帖文 回复 查看 活动
0
11月 24
761
2
7月 21
1805
1
5月 23
3671
2
6月 24
3375
0
4月 16
2828