Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038970Retail ModulesWeb POSpublic2018-07-16 15:172018-08-16 08:18
asiermartirena 
asiermartirena 
normalmajorhave not tried
closedfixed 
5
 
RR18Q4 
marvintm
No
0038970: New hook before adding a line without stock that doesn't allow to add without stock
Is necessary to have a hook before adding a line without stock that has a product status which doesn't allow to add lines without stock.

The lines without stock are available to be delivered in this case, but there can be external modules that doesn't allow it.

This will occur with the delivery conditions module.
Add a discontinued line without stock (product with a Product Status 'Ramp-Down').

By default, after telling that there's no stock, it is possible to add it, because actually the Web POS delivers a line just after selling it, so that means that the product is in the client's hands. This can be different with the delivery conditions module.
No tags attached.
Issue History
2018-07-16 15:17asiermartirenaNew Issue
2018-07-16 15:17asiermartirenaAssigned To => asiermartirena
2018-07-16 15:17asiermartirenaTriggers an Emergency Pack => No
2018-07-17 08:50hgbotCheckin
2018-07-17 08:50hgbotNote Added: 0105762
2018-07-17 08:50hgbotStatusnew => resolved
2018-07-17 08:50hgbotResolutionopen => fixed
2018-07-17 08:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/71475672f4c90b2c698fe54e51481586177d52ff [^]
2018-08-11 18:51hgbotCheckin
2018-08-11 18:51hgbotNote Added: 0106305
2018-08-16 08:18marvintmReview Assigned To => marvintm
2018-08-16 08:18marvintmStatusresolved => closed
2018-08-16 08:18marvintmFixed in Version => RR18Q4

Notes
(0105762)
hgbot   
2018-07-17 08:50   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 71475672f4c90b2c698fe54e51481586177d52ff
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Mon Jul 16 15:19:21 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/71475672f4c90b2c698fe54e51481586177d52ff [^]

Fixed issue 38970: New hook before adding a line without stock that doesn't allow to add without stock

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0106305)
hgbot   
2018-08-11 18:51   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8fe3cb776afc3a7452b4c2960b17ad5503647813
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Sat Aug 11 18:50:36 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8fe3cb776afc3a7452b4c2960b17ad5503647813 [^]

Related to issue 38970: Send the order as parameter in the OBPOS_PreAddProductWithoutStock hook

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---