Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4369 Visualizzazioni

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

Is there any Modul with that function for Odoo 8?


Avatar
Abbandona

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

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
feb 17
6162
3
mar 15
4222
1
mar 15
3443
2
apr 23
3789
1
mag 22
3446