Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4392 Lượt xem

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

Is there any Modul with that function for Odoo 8?


Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 17
6170
3
thg 3 15
4237
1
thg 3 15
3450
2
thg 4 23
3801
1
thg 5 22
3456