Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2204 Zobrazení

Hi,


I am developing a custom module for one of my inventory management projects and I'm kinda stuck in one of the requirements.


I would like to update the base price of a product based on some conditions. For simplicity, let's just assume that if the price of a product is 10$ and the current user id is 1, the base price will increase by 5, and the final price will be 15.


After that, odoo will process the price as it should be. If there are any taxes involved, it will be counted based on the updated price (15$).


I'm not sure which method or on which controller I should override. The diversity is just too big. I'm having trouble understand the full data structure and request lifecycle.


Can anyone give me a hand?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 23
1816
1
bře 15
7233
1
čvn 22
1762
1
čvn 24
3039
2
říj 23
1636