Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3459 Näkymät

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
Hylkää

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?

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
elok. 25
351
2
kesäk. 25
1795
0
maalisk. 25
1668
0
helmik. 25
1312
0
syysk. 24
1435