I have created an App with Odoo Studio. I now want to add python code for business logic. How do i do that??
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
This question has been flagged
This is an old question and Odoo Studio now has more functionality, but the principle remains the same. If you want to add business logic to Odoo Studio there are a few ways to do it:
Automated Actions and Server Actions (which can use Python Code)
Stages
Use Domain in XML to limit what can be selected
Setup Record Rules
The first two together can be a type of workflow. More thoughts on Odoo studio here.
If you really want to do development then odoo.sh is integrated with GitHub.
After you create an app with Odoo Studio, I need clarifications can you help clarify the following:
Is there an addon folder created along with this App. I know Odoo loads code for addons into the database, but when you now want to write python code, in which folder do you save this code?
If you are supposed to manually create a folder for storing your python code, how do you link this code to your app?
Odoo Studio doesn't generate program code and so there aren't any folders. There is an option to export, but that is designed for importing into another database.
You can define server actions..