Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025805Openbravo ERP04. Warehouse managementpublic2014-02-22 22:282014-05-07 18:36
egoitz 
gorkaion 
immediatemajoralways
closedfixed 
5
 
3.0PR14Q33.0PR14Q3 
egoitz
Core
No
0025805: Scalable level pricing failed if product have attribute and negative stock not allowed in client
There is no
reservation/validation against same order previous product line(s).
The process checks other orders but not if previous lines are adding the same product.
-Define a new product (Product A) with an attribute set including expiration date.
-Configure the client to not allow negative stock
-Update the inventory of the created product as following:
  15 Unit - Expiry Date 10-08-2014
  15 Unit - Expiry Date 15-09-2014
-Create a new Sales order using the POS Order type.
Sales Order-->
Line 10 --> Product A --> 15 Unit --> Price 55
Line 20 --> Product A --> 10 Unit --> Price 50
-Book the order.
*Insufficient Stock error is raised while booking.

Insufficient stock: line 30, Product PRODUCT A
The problem is that the inout is being created as following:

Line 10 --> Product A --> 15 Unit --> 10-08-2014
Line 20 --> Product A --> 5 Unit --> 15-09-2014
Line 30 --> Product A --> 10 Unit --> 10-08-2014


The line 30 should take attribute "15-09-2014" instead of "10-08-2014"
No tags attached.
Issue History
2014-02-22 22:28egoitzNew Issue
2014-02-22 22:28egoitzAssigned To => jonalegriaesarte
2014-02-22 22:28egoitzModules => Core
2014-02-22 22:28egoitzResolution time => 1393196400
2014-02-22 22:28egoitzTriggers an Emergency Pack => No
2014-02-22 22:35egoitzSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=5476#r5476
2014-02-22 22:35egoitzProposed Solution updated
2014-02-23 08:48thirumalaikIssue Monitored: thirumalaik
2014-02-27 16:52jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-03-03 06:37pramakrishnanStatusnew => scheduled
2014-03-03 06:37pramakrishnanfix_in_branch => pi
2014-03-03 08:58pramakrishnanAssigned Topramakrishnan => AtulOpenbravo
2014-03-12 10:28jonalegriaesarteResolution time1393196400 => 1395615600
2014-03-12 10:28jonalegriaesartefix_in_branchpi =>
2014-03-31 16:17jonalegriaesarteTarget VersionPR14Q2 => PR14Q3
2014-04-24 19:26gorkaionAssigned ToAtulOpenbravo => gorkaion
2014-04-25 09:17hgbotCheckin
2014-04-25 09:17hgbotNote Added: 0066596
2014-04-25 09:17hgbotStatusscheduled => resolved
2014-04-25 09:17hgbotResolutionopen => fixed
2014-04-25 09:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/80312633cde34167c62faad1bb4102216d0597a5 [^]
2014-05-07 18:12hudsonbotCheckin
2014-05-07 18:12hudsonbotNote Added: 0066972
2014-05-07 18:36egoitzReview Assigned To => egoitz
2014-05-07 18:36egoitzNote Added: 0067005
2014-05-07 18:36egoitzStatusresolved => closed
2014-05-07 18:36egoitzFixed in Version => PR14Q3

Notes
(0066596)
hgbot   
2014-04-25 09:17   
Repository: erp/devel/pi
Changeset: 80312633cde34167c62faad1bb4102216d0597a5
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Thu Apr 24 11:52:35 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/80312633cde34167c62faad1bb4102216d0597a5 [^]

Fixed issue 25805.Take into account stock consumed in same shipment.

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0066972)
hudsonbot   
2014-05-07 18:12   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test
(0067005)
egoitz   
2014-05-07 18:36   
verified