Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have a calendar view which displays apointment deatils for the customer.I want to edit my calendar view so that it will call a python function when i click on a perticular appointment created.Any one please help me
Direct Python function calling upon click on Calender view, its not possible. The reason of that is Odoo is a total distributed, 3 tire architecture. You need to use standard API functions.
Can you explain your requirement in details and tell me what do you exactly want ? So I can assist you better.
One example of how you can achieve your purpose.
1) You can ineherit Create method in your module, so when any appointment created your python function will be called.
2) You can ineherit Write method in your module, so when any appointment edited your python function will be called and in that function, you can write your custom code.
Waiting for your answer.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/20/14, 2:56 AM|
|Seen: 2711 times|
|Last updated: 3/16/15, 8:10 AM|