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

I have a module that works great in odoo 10.0 where I over-ride Product.Product:price_compute and do some magic for my module by setting list_price.

However, in odoo 11.0, I see *no* calls to my price_compute or even the super:price_compute.  Additionally, I can add price (price_extra) to my variants and the POS variant product.product instances only show the Product.Template "sale price".

It is very frustrating and very difficult (IMHO) to track down the logic related to computing price fields.  It seems like some semantics have changed from 10.0 to 11.0 but I'm a bit lost trying to track that down.

My current straightforward configuration is a Product with a single Variant with three Variant Values which all have "price_extra" data.  POS shows those three variants but only the price configured on the main product page.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 17
2767
1
thg 7 23
4724
0
thg 3 23
2117
2
thg 8 25
524
2
thg 7 25
695