Odoo Help

0

Server Action on Product Delete Event?

By
Mick Radakovic
on 9/2/16, 5:43 PM 225 views

I'd like to bind a Server Action to a Delete event, and I'm not finding such option.

When I try to create a new Automated Action and choose "When to Run", there's only "On Creation", "On Update", "On Creation & Update" or "Based on Timed Condition" to choose from?
Is there some work-around, or am I missing something?

Thanks!!
M.

0
Mick Radakovic
On 9/6/16, 9:30 AM

Thanks Ray!What I actually need is to sync Odoo with another application, so on create/update event I we have a Server Action that sends a GET request to another server with the product ID and a few params. Now I'd like to do the same for Delete event, but I can't find such option?
M.

0

Ray Carnes

--Ray Carnes--
16009
| 9 7 9
Greater Los Angeles, 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 9/2/16, 9:47 PM

Many records can't be deleted - as soon as they are related to other records (such as appearing on a quote, in a pricelist, involved in a stock move, etc).

As a consequence, archiving records is supported.  This hides records from the user, but leaves them in the database.  Would it work to have the server action check for when the ACTIVE field is changed from TRUE to FALSE?

(What organizational function or validation are you actually trying to implement?)

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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/2/16, 5:43 PM
Seen: 225 times
Last updated: 9/6/16, 9:30 AM