Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3318 Zobrazení

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
Zrušit

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?

Related Posts Odpovědi Zobrazení Aktivita
2
čvn 25
1613
0
bře 25
1478
0
úno 25
1130
0
zář 24
1303
3
srp 24
5830