تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
25270 أدوات العرض

While filling a new line inside sales order, a warning showed up to warn the user about the quantity if it is going below zero (Stackable Product, Make to Stock), but this will not prevent the user from confirming the sale order and continue the process.

How can I prevent the user from confirming a sale order in this case?

Thanks..%

الصورة الرمزية
إهمال
أفضل إجابة

You should have a look on the module sale_exceptions: http://bazaar.launchpad.net/~extra-addons-commiter/e-commerce-addons/7.0/files/head:/sale_exceptions/

It allows to create rules on sales orders which blocks their confirmation when they are not fulfilled (a sale manager can still bypass the blocking).

There is actually a rule in the module which blocks the sale order when the virtual quantity of a product in a sale order line goes below zero. The rule is deactivated by default but you can reactivate it.

You can also create new rules if this one does not exactly fit your needs.

الصورة الرمزية
إهمال
الكاتب

This one solved the problem, also allowing extra features. Thanks..%

أفضل إجابة

I think, currently no modules are available to prevent sale if item has enough stock. So you can go for a new custom module to get this feature.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 21
2538
2
أكتوبر 24
2883
2
يناير 24
5467
0
يونيو 23
2061
1
ديسمبر 22
3380