Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017590Openbravo ERP07. Sales managementpublic2011-06-10 10:542012-05-31 11:54
malsasua 
jonalegriaesarte 
highminoralways
closedfixed 
20Community Appliance
2.40MP16 
2.40MP16 
Core
No
0017590: Error to execute "Create Shipments from Orders"
if you have a sales order with a line with quantity 10 and, in the same order, other line with quantity -10, with the same product and attribute, and the stock is 0, when you run the process "Create Shipments from Orders" error is returned.
in bigbazar:
. go to the client window, and unselect the check "allow negative"
. create new product test
   product category "clothes"
   attribute set "size"
. add to price list "Sales"
. create new sales order:
  type "standard order"
. create new line:
   product: test
   attribute: large
   quantity: 10
. create new line:
   product: test
   attribute: large
   quantity: -10
. process it

. go to ales Management || Transactions || Create Shipments from Orders || Create Shipments from Orders
 run process with the order created previously

error is returned:
Error: null value in column "c_uom_id" violates not-null constraint

  
No tags attached.
Issue History
2011-06-10 10:54malsasuaNew Issue
2011-06-10 10:54malsasuaAssigned To => dalsasua
2011-06-10 10:54malsasuaModules => Core
2011-06-10 10:58malsasuaIssue Monitored: networkb
2011-07-04 19:04jonalegriaesarteAssigned Todalsasua => jonalegriaesarte
2011-07-18 18:04jonalegriaesarteStatusnew => scheduled
2011-07-18 18:04jonalegriaesartefix_in_branch => pi
2011-07-18 18:05hgbotCheckin
2011-07-18 18:05hgbotNote Added: 0039186
2011-07-18 18:05hgbotStatusscheduled => resolved
2011-07-18 18:05hgbotResolutionopen => fixed
2011-07-18 18:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/2ba737ecf3d97004f851b6926d7257eea7fdd53f [^]
2012-05-31 11:54jonalegriaesarteNote Added: 0049532
2012-05-31 11:54jonalegriaesarteStatusresolved => closed
2012-05-31 11:54jonalegriaesarteFixed in Version => 2.40MP16

Notes
(0039186)
hgbot   
2011-07-18 18:05   
Repository: erp/stable/2.40
Changeset: 2ba737ecf3d97004f851b6926d7257eea7fdd53f
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Mon Jul 18 18:35:42 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/2ba737ecf3d97004f851b6926d7257eea7fdd53f [^]

Fixes issue 0017590: Error to execute "Create Shipments from Orders"

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0049532)
jonalegriaesarte   
2012-05-31 11:54   
Verified