Community mailing list archives

community@mail.odoo.com

Re: Automatic Sale price

by
Khaled Hamed
- 10/30/2016 22:19:36
Hello,

The fastest way is to use and automated server action On Create & Update Product Template where action is python code to calculate list_price based on standard_price.

For example:

list_price = object.standard_price * 1.33 object.write({'list_price': list_price})



Best regards...

Khaled Hamed Mostafa



On Mon, Oct 31, 2016 at 2:46 AM, Michel Memeteau - EKIMIA <mm@ekimia.fr> wrote:
Hi , 

that sounds surprising but I cannot find a module or an option to compute automatically a sale price based on a global margin setting.


Like sale prixe = cost price x margin rate ( 1.33) 

Do you use some module to achieve this ?

Thanks

<------------------------------------------------------------------------------------------------------------------>
Michel Memeteau  - Directeur.


Notre Boutique Ordinateurs GNU/Linux : http://shop.ekimia.fr
280 avenue de la malvesine 13720 La Bouilladisse - France.
Fixe :  +33 (0) 972308334   Mobile : +33(0) 624808051
<------------------------------------------------------------------------------------------------------------------> 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe