跳至內容
選單
此問題已被標幟
2253 瀏覽次數

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?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 23
1887
1
3月 15
7264
1
6月 22
1779
1
6月 24
3123
2
10月 23
1694