Skip to Content
Menu
This question has been flagged
1241 Views

hello all

I'm created a custom filed and custom model

X_custom_model initiated by value 1

X_Custum_field linked to X_custom_model

On pos.order model i have create custom fild : x_compt

i want create automated action on command creation by updating x_compt field like this:

if X_Custum_field =50 then X_Custum_field=1

else X_Custum_field=X_Custum_field+1

x_compt=X_Custum_field

any one can help me please


Avatar
Discard