Community mailing list archives

Re: Execute action when record is being saved...

Houssine BAKKALI
- 02/29/2016 03:59:30
override the create function of your model, call the super function and put your code after the super function execution. don't forget to return the returned value of the super create function.

Be aware that other module might already have overrided the create function of you module. So you will have to unsure that you don't break the chain!

2016-02-28 14:41 GMT+01:00 Juan Vidal Luis <>:
Hi All,

I want to create an action when the product is really saved, basically I want to increase the inventory of my product when in click save on an own module.

is that feasible or is better an extra button?

Post to: