跳至內容
選單
此問題已被標幟
2 回覆
4379 瀏覽次數

Hi, I need a Function to calculate a Price with length*width. 

Is there any Modul with that function for Odoo 8?


頭像
捨棄

As far as I know, there is no such kind of module available. You need to make your custom module for this feature.

最佳答案

It's easy to do it for example

https://gist.github.com/aek/2a6966c05b01083364cf

Just create a module with this product extension loaded and define a new Price Type to be used in your pricelist version rule

The magic it's on the field type that need to be float to be picked up as a valid base price type, could be on product.product or in product.template

Hope this helps

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
2月 17
6167
3
3月 15
4230
1
3月 15
3444
2
4月 23
3791
1
5月 22
3450