Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0022333 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | have not tried | 2012-11-16 14:19 | 2013-04-19 12:52 | |||
Reporter | naiaramartinez | View Status | public | |||||
Assigned To | pramakrishnan | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | d1449feb13c4 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0022333: Generate invoice throws an exception when it shouldn't | |||||||
Description | You have a sales order completely invoiced. Then, if you execute 'Generate invoices' process you get an error saying that invoiced quantity cannot be higher than Ordered Quantity. | |||||||
Steps To Reproduce | Create a Sales order: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Create new line: Product: Cerveza Ale 0,5L Ordered quantity: 10 Create new line: Product: Cola 0,5L Ordered Quantity: 20 Delete the discount. Complete the order. Go to Goods Shipment window and create new header: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Press 'Create lines from'. Select newly created order and select both lines. Select a warehouse and press OK. Modify the quantities: For Cerveza Ale 0,5L set quantity 5 For Cola 0,5L set quantity 10 Complete the goods shipment. Go to sales invoice window and create new header: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Press create lines from and select newly created goods shipment. Select both lines and press OK. Modify the quantities: For Cerveza Ale 0,5L set quantity 2.5 For Cola 0,5L set quantity 5 Complete the sales invoice. Create new sales invoice header: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Press 'Create lines from' and select previosuly created sales order. Select both lines and press OK. Complete the invoice. Go back to Goods shipment window and create new header: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Press 'Create lines from' window and select previously created sales order. Complete the good shipment. Now, go to the menu and execute 'Generate invoices' process. You will get an error. I attach a screenshot with the error. | |||||||
Tags | No tags attached. | |||||||
Attached Files | nairabug.PNG [^] (14,405 bytes) 2012-11-16 14:19
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0055164) pramakrishnan (developer) 2012-12-24 08:39 |
Test Plan: Create a Sales order: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Create new line: Product: Cerveza Ale 0,5L Ordered quantity: 10 Create new line: Product: Cola 0,5L Ordered Quantity: 20 Delete the discount. Complete the order. Go to Goods Shipment window and create new header: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Press 'Create lines from'. Select newly created order and select both lines. Select a warehouse and press OK. Modify the quantities: For Cerveza Ale 0,5L set quantity 5 For Cola 0,5L set quantity 10 Complete the goods shipment. Go to sales invoice window and create new header: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Press create lines from and select newly created goods shipment. Select both lines and press OK. Modify the quantities: For Cerveza Ale 0,5L set quantity 2.5 For Cola 0,5L set quantity 5 Complete the sales invoice. Create new sales invoice header: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Press 'Create lines from' and select previosuly created sales order. Select both lines and press OK. Complete the invoice. Go back to Goods shipment window and create new header: Org: España -Region Norte BP: Restaurantes Luna Llena, S.A. Press 'Create lines from' window and select previously created sales order. Complete the good shipment. Now, go to the menu and execute 'Generate invoices' process. Notice that the process gets executed without any errors. |
(0057921) hgbot (developer) 2013-04-16 10:30 |
Repository: erp/devel/pi Changeset: d1449feb13c488769be689b41abfed09fdfd5445 Author: Sandra Huguet <sandra.huguet <at> openbravo.com> Date: Thu Apr 11 16:16:39 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/d1449feb13c488769be689b41abfed09fdfd5445 [^] Fixed bug 22333 Generate invoice throws an exception when it shouldn't --- M src-db/database/model/functions/C_INVOICE_CREATE.xml --- |
(0057922) dmiguelez (developer) 2013-04-16 10:34 |
Code Review + Testing Ok |
(0058034) hudsonbot (developer) 2013-04-19 12:52 |
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/872081925d42 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2012-11-16 14:19 | naiaramartinez | New Issue | |
2012-11-16 14:19 | naiaramartinez | Assigned To | => dmiguelez |
2012-11-16 14:19 | naiaramartinez | File Added: nairabug.PNG | |
2012-11-16 14:19 | naiaramartinez | Modules | => Core |
2012-11-16 14:21 | naiaramartinez | Description Updated | View Revisions |
2012-11-27 09:50 | pramakrishnan | Assigned To | dmiguelez => pramakrishnan |
2012-11-27 09:50 | pramakrishnan | Status | new => scheduled |
2012-11-27 09:50 | pramakrishnan | fix_in_branch | => pi |
2012-12-24 08:39 | pramakrishnan | Note Added: 0055164 | |
2013-04-16 10:30 | hgbot | Checkin | |
2013-04-16 10:30 | hgbot | Note Added: 0057921 | |
2013-04-16 10:30 | hgbot | Status | scheduled => resolved |
2013-04-16 10:30 | hgbot | Resolution | open => fixed |
2013-04-16 10:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d1449feb13c488769be689b41abfed09fdfd5445 [^] |
2013-04-16 10:34 | dmiguelez | Note Added: 0057922 | |
2013-04-16 10:34 | dmiguelez | Status | resolved => closed |
2013-04-19 12:52 | hudsonbot | Checkin | |
2013-04-19 12:52 | hudsonbot | Note Added: 0058034 |
Copyright © 2000 - 2009 MantisBT Group |