Odoo Server Action in odoo 17 - Odoo 17 Slides

CelineGeorge1 643 views 12 slides Aug 08, 2024
Slide 1
Slide 1 of 12
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12

About This Presentation

This slide will show that how to create & configure server actions in the Odoo 17. Server Actions in Odoo serve as a dynamic mechanism for automating processes without the need for extensive custom development. These actions enable users to define a sequence of operations or tasks that the syste...


Slide Content

Odoo Server Action in Odoo 17 Enterprise

Introduction Enterpr ise This slide will show that how to create & configure server actions in the Odoo 17. Server Actions in Odoo serve as a dynamic mechanism for automating processes without the need for extensive custom development. These actions enable users to define a sequence of operations or tasks that the system executes automatically under specific conditions.

Enterprise Let’s go to Settings > Technical > Server Actions.

Enterprise A server action can perform the following types of actions. 1. Execute a python code 2. Create new record 3. Update new record 4. Sent an email 5. Sent SMS message 6. Add followers 7. Create next activity 8. Execute multiple actions

Enterprise Let’s create a new server action for changing the quotations in to sale orders. Create an ir_action_data.xml file inside the ‘data’ directory. Define the server action.

Enterprise After adding the XML code, we should include the function ‘action_change_quotations()’ in the model sale order. Then run the pycharm and upgrade the module.

Enterprise Let’s go to the Sales > Orders > Quotations. Select the quotations to convert sale order. Under the Actions we can see the server action that we created.

Enterprise Let’s run the server action. There is no quotations.

Enterprise Here the quotations are changed to the sale orders.

Enterprise The newly created server action can be viewed in Server actions in the Technical menu from settings.

Enterprise Odoo Server Actions empower users to automate diverse processes, enhancing efficiency and reducing manual intervention . This is how we can create & configure server actions in the Odoo 17.

For More Info. Check our company website for related blogs and Odoo book. Check our YouTube channel for functional and technical videos in Odoo. Enterprise www.cybrosys.com