Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2626 Näkymät

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.


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
marrask. 17
2767
1
heinäk. 23
4724
0
maalisk. 23
2117
2
elok. 25
524
2
heinäk. 25
695