Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0016645 | Openbravo ERP | 07. Sales management | public | 2011-03-28 12:56 | 2011-04-13 12:46 |
|
Reporter | AinhoaPagola | |
Assigned To | AinhoaPagola | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Ubuntu 8.4 |
Product Version | | |
Target Version | | Fixed in Version | 2.50MP29 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0016645: Error when creating shipments with negative quantities for products with negative stock |
Description | A "null value in column "c_uom_id" violates not-null constraint" error is displayed when a POS sales order with two lines with a negative amount of a product without stock is completed. |
Steps To Reproduce | - Create a product and check as stocked. Link it to a pricelist
- Make sure the client allows negative stock
- Create a POS sales order with one line and a positive amount of the product. The product will have a negative amount on stock. Complete the order. The shipment and invoice will be created.
- Create a POS sales order with two lines. Both of them with negative amounts of the product. Complete the order. The error will be thrown because the shipment can not be created. |
Proposed Solution | The problem may be related to the Cursor Cur_Storage in the function m_inout_create. |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0016512 | | closed | AinhoaPagola | Error when creating shipments with negative quantities for products with negative stock |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-04-05 13:11 | AinhoaPagola | Type | defect => backport |
2011-04-05 13:11 | AinhoaPagola | fix_in_branch | => 2.50 |
2011-04-08 15:19 | hgbot | Checkin | |
2011-04-08 15:19 | hgbot | Note Added: 0035787 | |
2011-04-08 15:19 | hgbot | Status | scheduled => resolved |
2011-04-08 15:19 | hgbot | Resolution | open => fixed |
2011-04-08 15:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/1d7dfcf437a782253f3c7357555ae9a8fa6d646b [^] |
2011-04-13 12:46 | maite | Note Added: 0035900 | |
2011-04-13 12:46 | maite | Status | resolved => closed |
2011-04-13 12:46 | maite | Fixed in Version | => 2.50MP29 |