Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3335 Visualizzazioni

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
Abbandona

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?

Post correlati Risposte Visualizzazioni Attività
2
giu 25
1620
0
mar 25
1493
0
feb 25
1141
0
set 24
1311
3
ago 24
5833