Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3295 Weergaven

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
Annuleer

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?

Gerelateerde posts Antwoorden Weergaven Activiteit
2
jun. 25
1577
0
mrt. 25
1437
0
feb. 25
1103
0
sep. 24
1296
3
aug. 24
5801