Ir al contenido
Menú
Se marcó esta pregunta

Hi,

I have defined an automated action on product.template. This automated action is triggered when the cost of the product (standard_price) is updated.


It works, but only when I am on the product form and I click "save". It looks like the automated action is not triggered when the cost is updated through code.

Am I correct or am I missing something? If I am correct, is there a solution apart from writing code ?

Here's my automated action:

https://www.awesomescreenshot.com/image/22762584?key=0ab5bdf757f1e44bba1a55214e864917

Its purpose is to copy the product cost to other the other companies.

Thanks 


Avatar
Descartar

Have you tried changing the trigger to 'Based on form modification'?

It should not be an automated action. Try to create a python code on the standard_price field itself.

It should work in any update of the field.
Can you share the details of your automated action?

Publicaciones relacionadas Respuestas Vistas Actividad
2
jun 25
1286
0
mar 25
1237
0
feb 25
957
0
sept 24
1158
3
ago 24
5606