Se rendre au contenu
Menu
Cette question a été signalée
2634 Vues

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
Ignorer
Publications associées Réponses Vues Activité
1
nov. 17
2767
1
juil. 23
4724
0
mars 23
2117
2
août 25
525
2
juil. 25
696