Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0021333 | Openbravo ERP | 07. Sales management | public | 2012-08-09 09:06 | 2012-09-26 17:18 |
Reporter | xabiermerino | ||||
Assigned To | jecharri | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 3.0MP13 | ||||
Target Version | 3.0MP16 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | xabiermerino | ||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0021333: Error creating an invoice line of a product with 'price adjustment' and price 0 | ||||
Description | When you try to create a line from an order with the price 0, if there is a price adjustment that affects, this error appears: Error ERROR: null value in column "priceoffer" violates not-null constraint Where: SQL statement "INSERT INTO C_INVOICELINE_OFFER (C_INVOICELINE_OFFER_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, C_INVOICELINE_ID, LINE, M_OFFER_ID, PRICEOFFER, AMTOFFER) VALUES ( $1 , $2 , $3 , $4 , TO_DATE(NOW()), $5 , TO_DATE(NOW()), $6 , $7 , $8 , $9 , ROUND( $10 , $11 ), ROUND( $12 , $11 ))" PL/pgSQL function "c_invoiceline_trg2" line 194 at SQL statement | ||||
Steps To Reproduce | -As admin create a price adjustment: - Discount %: 100 - Included Products: Only those defined - Products: Zumo de PiƱa 0.5L -Create an order of this product and change the price to 0. -Create an invoice and try to create the line using the button 'Create lines from' | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-08-09 09:06 | xabiermerino | New Issue | |||
2012-08-09 09:06 | xabiermerino | Assigned To | => mirurita | ||
2012-08-09 09:06 | xabiermerino | Modules | => Core | ||
2012-08-09 09:06 | xabiermerino | Resolution time | => 1350943200 | ||
2012-08-09 09:06 | xabiermerino | Issue Monitored: networkb | |||
2012-08-09 14:11 | mirurita | Assigned To | mirurita => jonalegriaesarte | ||
2012-08-10 10:15 | jonalegriaesarte | Assigned To | jonalegriaesarte => jecharri | ||
2012-09-07 11:06 | hgbot | Checkin | |||
2012-09-07 11:06 | hgbot | Note Added: 0051911 | |||
2012-09-07 11:06 | hgbot | Status | new => resolved | ||
2012-09-07 11:06 | hgbot | Resolution | open => fixed | ||
2012-09-07 11:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ea1e6b9dbf5884804b58b7288461a8ccf7935db2 [^] | ||
2012-09-10 16:19 | jecharri | Note Added: 0051967 | |||
2012-09-14 09:24 | xabiermerino | Closed by | => xabiermerino | ||
2012-09-14 09:24 | xabiermerino | Note Added: 0052104 | |||
2012-09-14 09:24 | xabiermerino | Status | resolved => closed | ||
2012-09-26 17:18 | hudsonbot | Checkin | |||
2012-09-26 17:18 | hudsonbot | Note Added: 0052698 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|