Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4422 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 17
6209
3
มี.ค. 15
4258
1
มี.ค. 15
3475
2
เม.ย. 23
3825
1
พ.ค. 22
3487