Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0019534 | Openbravo ERP | 07. Sales management | public | 2012-01-20 11:28 | 2012-01-26 18:26 |
|
Reporter | psarobe | |
Assigned To | gorkaion | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0MP8 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0019534: Qty ordered gets updated to qty delivered even when the qty invoiced is bigger than qty delivered when closing the order |
Description | When the qty invoiced is bigger than the qty delivered and you close the sales order, the qty ordered gets updated to qty delivered and the total gross amount as well
This can only happens when the invoice rule is immediate otherwise you cannot invoice more than what you have delivered
|
Steps To Reproduce | 1. Login as Openbravo/openbravo
2. Change the role to QA testing admin
3. Go to Sales order window. click new
4. Select the Customer A and change the invoice rule to immediate. Save
5. Create a line and select the product Final Good A and quantity 5. Save
6. Click Book. Total gross amount= 10,35
5. Go to Sales invoice and click new. Select Customer A. Save
6. Click the button create lines from and select the above sales order
7. Click the complete button
8. Go back to the above sales order and close the order |
Proposed Solution | The qty ordered will be updated to the max (qty delivered, qty invoiced) |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0019532 | | closed | gorkaion | Payment schedule detail does not get updated when you close the order |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-01-20 11:28 | psarobe | New Issue | |
2012-01-20 11:28 | psarobe | Assigned To | => jonalegriaesarte |
2012-01-20 11:28 | psarobe | Modules | => Core |
2012-01-20 11:28 | psarobe | OBNetwork customer | => No |
2012-01-20 11:29 | psarobe | Relationship added | blocks 0019532 |
2012-01-23 10:41 | gorkaion | Assigned To | jonalegriaesarte => gorkaion |
2012-01-24 17:27 | gorkaion | Note Added: 0044519 | |
2012-01-24 17:44 | hgbot | Checkin | |
2012-01-24 17:44 | hgbot | Note Added: 0044520 | |
2012-01-24 17:44 | hgbot | Status | new => resolved |
2012-01-24 17:44 | hgbot | Resolution | open => fixed |
2012-01-24 17:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/331403eece14ad5f1a585cc8680a60f8e368ed4f [^] |
2012-01-24 17:44 | hgbot | Checkin | |
2012-01-24 17:44 | hgbot | Note Added: 0044521 | |
2012-01-24 17:44 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/331403eece14ad5f1a585cc8680a60f8e368ed4f [^] => http://code.openbravo.com/erp/devel/pi/rev/8f2bc6078c775a1a85fdb1d0d505283621731f59 [^] |
2012-01-25 11:04 | psarobe | Proposed Solution updated | |
2012-01-25 18:04 | hudsonbot | Checkin | |
2012-01-25 18:04 | hudsonbot | Note Added: 0044582 | |
2012-01-25 18:04 | hudsonbot | Checkin | |
2012-01-25 18:04 | hudsonbot | Note Added: 0044583 | |
2012-01-26 09:58 | psarobe | Note Added: 0044595 | |
2012-01-26 18:25 | psarobe | Note Edited: 0044595 | bug_revision_view_page.php?bugnote_id=0044595#r3099 |
2012-01-26 18:26 | psarobe | Note Added: 0044618 | |
2012-01-26 18:26 | psarobe | Status | resolved => closed |
2012-01-26 18:26 | psarobe | Fixed in Version | => 3.0MP8 |
Notes |
|
|
|
|
(0044520)
|
hgbot
|
2012-01-24 17:44
|
|
|
|
(0044521)
|
hgbot
|
2012-01-24 17:44
|
|
Repository: erp/devel/pi
Changeset: 8f2bc6078c775a1a85fdb1d0d505283621731f59
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Jan 24 17:42:28 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8f2bc6078c775a1a85fdb1d0d505283621731f59 [^]
Fixed issue 19534.Properly update grand total difference on psds after close.
---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_ORD.xml
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
---
|
|
|
|
|
|
|
|
|
(0044595)
|
psarobe
|
2012-01-26 09:58
(edited on: 2012-01-26 18:25) |
|
Test plan:
1.Create a sales order Qty Ordered: 5 units, Qty delivered: 0, Qty invoiced: 3, close it. Qty ordered: 3
2.Create a sales order Qty Ordered: 5 units, Qty delivered: 2, Qty invoiced: 3, close it. Qty ordered: 3
3.Create a sales order Qty Ordered: 5 units, Qty delivered: 3, Qty invoiced: 0, close it. Qty ordered: 3
4.Create a sales order Qty Ordered: 5 units, Qty delivered: 4, Qty invoiced: 2, close it. Qty ordered: 4
5.Create a sales order Qty Ordered: 5 units, Qty delivered: 3, Qty invoiced: 1. The payment method creates a payment. Close it. Qty ordered: 3 but amount received 1 and the payment methods gets updated
And more test cases with Purchase orders, Purchase invoices, Payment Out
|
|
|
|
|