Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030495Openbravo ERP09. Financial managementpublic2015-08-04 12:522015-10-01 03:36
ngarcia 
aferraz 
urgentmajoralways
closedfixed 
5
 
 
dmiguelez
Core
No
0030495: Business Partner dimension is overwritten in Invoice Lines if another field is updated after changing it
Business Partner dimension is overwritten in Invoice Lines if another field is updated after changing it
As group admin role:
   Remove the exception in Client - Dimensions tab in order to show Business Partner dimension in AP Invoice window
   Log out and log in
   Create a Purchase Invoice for a Business Partner
   Add a line to it
   Select another Business Partner in that line and save it
   Edit the quantity of that line and check the Business Partner is overwritten with the header value
Check if the Auxiliary Input should be applied every time a record is updated
No tags attached.
related to defect 0030927 closed alostale Auxiliary Input value is shown in Form view if its name is the same than the column associated to the field of the tab 
related to defect 0030944 closed dmiguelez some auxiliary inputs might be useless 
related to defect 00309483.0PR16Q1 closed alostale auxiliary input used to default a FK doesn't display FK's value identifier 
Issue History
2015-08-04 12:52ngarciaNew Issue
2015-08-04 12:52ngarciaAssigned To => Triage Finance
2015-08-04 12:52ngarciaModules => Core
2015-08-04 12:52ngarciaResolution time => 1442181600
2015-08-04 12:52ngarciaTriggers an Emergency Pack => No
2015-08-04 12:55ngarciaIssue Monitored: networkb
2015-08-17 09:28aferrazAssigned ToTriage Finance => aferraz
2015-08-18 08:42aferrazNote Added: 0079400
2015-08-18 13:05hgbotCheckin
2015-08-18 13:05hgbotNote Added: 0079405
2015-08-18 13:05hgbotStatusnew => resolved
2015-08-18 13:05hgbotResolutionopen => fixed
2015-08-18 13:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bf045d72ec64b1f4e24872d285a48bb5c796b40e [^]
2015-08-18 13:05dmiguelezReview Assigned To => dmiguelez
2015-08-18 13:05dmiguelezNote Added: 0079406
2015-08-18 13:05dmiguelezStatusresolved => closed
2015-08-20 23:16hudsonbotCheckin
2015-08-20 23:16hudsonbotNote Added: 0079556
2015-09-25 09:41ngarciaRelationship addedrelated to 0030927
2015-09-28 10:14alostaleRelationship addedrelated to 0030944
2015-09-28 12:29alostaleRelationship addedrelated to 0030948
2015-09-29 13:06hgbotCheckin
2015-09-29 13:06hgbotNote Added: 0080699
2015-09-29 16:46hgbotCheckin
2015-09-29 16:46hgbotNote Added: 0080712
2015-09-29 22:42hudsonbotCheckin
2015-09-29 22:42hudsonbotNote Added: 0080726
2015-10-01 03:36hudsonbotCheckin
2015-10-01 03:36hudsonbotNote Added: 0080764

Notes
(0079400)
aferraz   
2015-08-18 08:42   
Test plan:

As F&B Admin:

- Remove the exception in Client - Dimensions tab in order to show Business Partner dimension in AP Invoice window
- Log out and log in
- Create a Purchase Invoice for a Business Partner
- Add a line to it and save it
- Edit the quantity of that line and check the Business Partner is overwritten with the header value
- Select another Business Partner in that line and save it
- Edit the quantity of that line and check the Business Partner is not overwritten with the header value

Repeat the same flow with Outgoing Shipment, Incoming Shipment, Goods Shipment, Goods Receipt and Sales Invoice windows.
(0079405)
hgbot   
2015-08-18 13:05   
Repository: erp/devel/pi
Changeset: bf045d72ec64b1f4e24872d285a48bb5c796b40e
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Aug 17 16:07:34 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bf045d72ec64b1f4e24872d285a48bb5c796b40e [^]

Fixes issue 30495: BP dimension overwritten from Header to Lines

Business Partner dimension was overwritten from Header to Lines tab although Business Partner field was setted in Lines tab.
To fix it Auxiliary Input for Outgoing Shipment, Incoming Shipment, Goods Shipment, Goods Receipt, Purchase Invoice and Sales Invoice windows have been updated.
Now, Business Partner dimension will be overwritten only if Business Partner field is null in Lines tab.

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
---
(0079406)
dmiguelez   
2015-08-18 13:05   
Code Review + Testing Ok
(0079556)
hudsonbot   
2015-08-20 23: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/8c91718397a5 [^]
Maturity status: Test
(0080699)
hgbot   
2015-09-29 13:06   
Repository: erp/devel/pi
Changeset: 47ec5cda846f4c8230dd4173b51ec7fe033842a2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Sep 29 13:06:08 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/47ec5cda846f4c8230dd4173b51ec7fe033842a2 [^]

related to bug 30927, related to bug 30495: change mode calculates aux input

  Previous changeset for issue 0030927 didn't work correctly in CHANGE modee, in
  this case auxiliary inputs named like a column in the tab were recalculted.

  This was caused because the code relied on allColumns variable to hold a list
  of all existent columns in the tab, this was the case for NEW mode but not for
  CHANGE where allColumns only contains the list of modified columns.

  Fixed by calculating list of all columns externally.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
(0080712)
hgbot   
2015-09-29 16:46   
Repository: erp/devel/pi
Changeset: 1bd0b0e1846f5c8d5531ced3dacd6c622bd8afb6
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Tue Sep 29 16:46:01 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1bd0b0e1846f5c8d5531ced3dacd6c622bd8afb6 [^]

Fixes Issue 30944. Reverts fix done in Issue 30495 since it is no
longer needed due to a fix for Issue 30927 done by platform team.

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
---
(0080726)
hudsonbot   
2015-09-29 22:42   
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/ebe9ebd06ddd [^]
Maturity status: Test
(0080764)
hudsonbot   
2015-10-01 03:36   
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/f63a11a49473 [^]
Maturity status: Test