Odoo Help

1

Call API endpoint when model changes (automated server action)

By
Sam
on 9/5/16, 10:37 AM 496 views

Hi everyone

I am new to Odoo and am looking for a way to call my custom API endpoint if a model changes. I looked into automated server actions but the only things I can do is send an email or call custom python code. It doesn't look like I can invoke a request inside the custom python code.

How can I implement/add this feature? If possible (no worries if not), could you point me to development documentation? I'm really new to this so any extra information is much appreciated!

Kind regards

Sam

0

Ray Carnes

--Ray Carnes--
17330
| 9 7 9
Atlanta, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0.

Completed Odoo Functional and Technical Training.

Major Skills:

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 1/4/17, 4:55 PM

Can you override the write method and insert your code before/after the standard write method is called?

https://www.odoo.com/forum/help-1/question/v9-how-to-inherit-write-function-92397

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

Question tools

1 follower(s)

Stats

Asked: 9/5/16, 10:37 AM
Seen: 496 times
Last updated: 1/4/17, 4:55 PM