Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029405Openbravo ERP03. Procurement managementpublic2015-03-25 14:502015-05-07 22:16
jonalegriaesarte 
vmromanos 
immediatemajorhave not tried
closedfixed 
5
 
3.0PR15Q3pi 
umartirena
Core
No
0029405: User can include lines from different business partners in the same receipt
User can include lines from different business partners in the same receipt
- Create two purchase orders, one for vendor A, second for vender B. Add one line in each one and book them.
- Create a receipt for vendor A.
- Using create lines from, add the line in one of the orders.
- Change business partner to vendor B and save it. The system shows an error. OK
- Immediately after getting the error, press create lines from. Notice that the vendor loaded on that functionality is vendor B. KO
- The user can select lines from second order (from vendor B) and include them in the receipt. KO
- The user can complete the receipt. KO
No tags attached.
Issue History
2015-03-25 14:50jonalegriaesarteNew Issue
2015-03-25 14:50jonalegriaesarteAssigned To => Sandrahuguet
2015-03-25 14:50jonalegriaesarteModules => Core
2015-03-25 14:50jonalegriaesarteResolution time => 1427839200
2015-03-25 14:50jonalegriaesarteTriggers an Emergency Pack => No
2015-03-25 14:50jonalegriaesartePrioritynormal => immediate
2015-03-26 16:04fsoto82Statusnew => scheduled
2015-03-26 16:04fsoto82Assigned ToSandrahuguet => fsoto82
2015-04-14 13:20vmromanosAssigned Tofsoto82 => vmromanos
2015-04-14 14:24vmromanosNote Added: 0076529
2015-04-15 12:27hgbotCheckin
2015-04-15 12:27hgbotNote Added: 0076548
2015-04-15 12:27hgbotStatusscheduled => resolved
2015-04-15 12:27hgbotResolutionopen => fixed
2015-04-15 12:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b2442bf1965b2bde7d29132497c743577ab4f364 [^]
2015-04-15 12:28umartirenaReview Assigned To => umartirena
2015-04-15 12:28umartirenaNote Added: 0076549
2015-04-15 12:28umartirenaStatusresolved => closed
2015-04-15 12:28umartirenaFixed in Version => pi
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077127

Notes
(0076529)
vmromanos   
2015-04-14 14:24   
Test plan I:
1. Follow steps to reproduce
2. Verify business partner field becomes readonly just after inserting the lines in the Create lines from

Test plan II:
1. Go to Goods Receipt window
2. Create a new header
3. Enter mandatory fields and save the record. Verify business partner field is editable
4. Go to lines and insert a new record. Save it
5. Verify business partner field at header is read only
6. Delete the line
7. Verify business partner field at header is editable again

Test plan III:
1. Go to Goods Shipment window
2. Create a new header
3. Enter mandatory fields and save the record. Verify business partner field is editable
4. Go to lines and insert a new record. Save it
5. Verify business partner field at header is read only
6. Delete the line
7. Verify business partner field at header is editable again

Test plan IV:
1. Go to Purchase Invoice window
2. Create a new header
3. Enter mandatory fields and save the record. Verify business partner field is editable
4. Go to lines and insert a new record. Save it
5. Verify business partner field at header is read only
6. Delete the line
7. Verify business partner field at header is editable again

Test plan V:
1. Go to Sales Invoice window
2. Create a new header
3. Enter mandatory fields and save the record. Verify business partner field is editable
4. Go to lines and insert a new record. Save it
5. Verify business partner field at header is read only
6. Delete the line
7. Verify business partner field at header is editable again
(0076548)
hgbot   
2015-04-15 12:27   
Repository: erp/devel/pi
Changeset: b2442bf1965b2bde7d29132497c743577ab4f364
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Apr 14 13:26:33 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b2442bf1965b2bde7d29132497c743577ab4f364 [^]

Fixed bug 29405: Avoid changing business partner when doc. has lines

Added read only logic to business partner column in the following windows to avoid changing its value when the document already has lines:
+ Goods Receipt
+ Goods Shipment
+ Purchase Invoice
+ Sales Invoice

The read only logic is implemented using 4 auxiliary inputs associated to the header tab of each window.

Note that the bug has been originally reported to the Goods Receipt window, but this change has been populated to the rest of the windows that have similar behavior

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0076549)
umartirena   
2015-04-15 12:28   
Code Review + Testing OK
(0077127)
hudsonbot   
2015-05-07 22:16   
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/a1817f84bd8b [^]
Maturity status: Test