Auto approval problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Auto approval problem

Shereen
I was trying to make a new ECA in the seca.xml in the order servicedefin
my trial wasn't successful and I just commented the code then I synchronized with the source svn
I found after that a strange behavior which is when I go to make  a new sales order the click create the order is both created and approved !!
It's the first time I encounter this problem and I havent changed anywhere else in the code.
Is there a condition where the order is auto approved??
by the way I was doing my experiments using the admin account
is there any help??
Reply | Threaded
Open this post in threaded view
|

Re: Auto approval problem

narayan.patil
Hi Shereen,

Set this field autoApproveOrder = "Y" in ProductStore entity, it will automatically create the order and change the status to "Approved".

Thanks,
Narayan
Reply | Threaded
Open this post in threaded view
|

Re: Auto approval problem

Jacques Le Roux
Administrator
Unsurprisingly, there is even an UI for that
See https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductStore?productStoreId=9000 for instance (Order section)

Jacques

From: "narayan.patil" <[hidden email]>

> Hi Shereen,
>
> Set this field autoApproveOrder = "Y" in ProductStore entity, it will
> automatically create the order and change the status to "Approved".
>
> Thanks,
> Narayan
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Auto-approval-problem-tp3003489p3003558.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Auto approval problem

Shereen
Thanks narayan thx jacques I'll follow your advice