Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
4799 Переглядів

I'm just starting to learn Odoo development and i have a very basic question. Let's say i need to implement an automatic call reminder for a customer in crm module. Should i always create a model for customer details and implement the call reminder functionality or i should update my existing model format? 

Аватар
Відмінити
Найкраща відповідь

Hi Ashish,


When you develop a new module you can create a new one or edit the existing ones. If your new changes are not related to the existing code, it is better to create a new module. You can easily create a new module with scaffold command and start adding your changes. In my case, I usually create different modules for different models for ease of debugging.

Аватар
Відмінити
Найкраща відповідь

Hi,

   You can add the functionality to existing model.just refer this link for further developmentDeveloper Docs           

Аватар
Відмінити
Найкраща відповідь

Hi,

As you are looking to add some new functionalities to the Odoo, you have to create a custom module for that purpose. There is some people who get into Odoo code and make changes inside it. This practice is not a recommended one.  The better way is creating a new module by your own and add the functionalities to it.


For your case,  you can either create a automated action or a cron job to send the customers remainder email based on condition. For creating this either you can do it from the front end or by the code. From the code it will be better, as you can use it across different database.

For sending the email using the automated action see this:-

1.  Automatically send emails

2.  Odoo Automated Action and Server Action with Email Send


As you are starting with the Odoo development see this, might be helpful in the coming days.

1.  How to Create a Module in Odoo

2. For making changes in existing views: https://www.cybrosys.com/blog/adding-custom-fields-to-existing-views-in-odoo-v12

3. How To Create Custom Module in Odoo12 Easily Using Scaffold

Thanks

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
жовт. 23
7989
1
груд. 24
1218
First time Odoo user Вирішено
1
бер. 24
4315
9
черв. 23
13030
2
січ. 22
3840