Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016244Openbravo ERPA. Platformpublic2011-03-13 19:442011-03-16 00:00
dmitry_mezentsev 
marvintm 
immediatecriticalalways
closedfixed 
5
pi 
3.0RC5 
Core
No
0016244: Currency field in transactional documents is not updated when Organization of the document is changed
If you change Organization of the transactional document (Sales/Purchase Order/Invoice), then price list is changed but currency of it is not transferred to the currency of the document.

Have a look at the screenshot.

In classic mode it works correctly.
live.builds.pi

1. New Sales Invoice. Mention that Org. is F&B US, Pricelist is General Sales and Currency inherited from the pricelist is USD.
2. Change Organization to F&B Espana. Pricelist is changed to the one corresponding to the new Org. but currency stays the same.
3. If you then manually change pricelist to another one then currency is updated.

Initially I thought that maybe call-out does not work in a sequence: Org triggers PriceList update which triggers Currency. But I tried another sequence BP - PriceList - Currency and it works.

No tags attached.
related to defect 00162373.0RC5 closed mtaal Window does not detect that all mandatory fields are filled in 
png Currency.png (49,907) 2011-03-13 19:44
https://issues.openbravo.com/file_download.php?file_id=3666&type=bug
png
Issue History
2011-03-13 19:44dmitry_mezentsevNew Issue
2011-03-13 19:44dmitry_mezentsevAssigned To => mtaal
2011-03-13 19:44dmitry_mezentsevModules => Core
2011-03-13 19:44dmitry_mezentsevFile Added: Currency.png
2011-03-13 21:25dmitry_mezentsevRelationship addedrelated to 0016237
2011-03-13 21:25dmitry_mezentsevNote Added: 0034770
2011-03-13 22:44mtaalAssigned Tomtaal => marvintm
2011-03-14 10:56alostaleStatusnew => scheduled
2011-03-14 18:00hgbotCheckin
2011-03-14 18:00hgbotNote Added: 0034823
2011-03-14 18:00hgbotStatusscheduled => resolved
2011-03-14 18:00hgbotResolutionopen => fixed
2011-03-14 18:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/514ace302561e1f5ce6a01a2408961c5194e9a9f [^]
2011-03-15 12:21iperdomoNote Added: 0034869
2011-03-15 12:21iperdomoStatusresolved => closed
2011-03-16 00:00anonymoussf_bug_id0 => 3214411

Notes
(0034770)
dmitry_mezentsev   
2011-03-13 21:25   
Not sure but I added the relation with 0016237 (looks similar).
(0034823)
hgbot   
2011-03-14 18:00   
Repository: erp/devel/pi
Changeset: 514ace302561e1f5ce6a01a2408961c5194e9a9f
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Mar 14 17:59:04 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/514ace302561e1f5ce6a01a2408961c5194e9a9f [^]

Fixed issue 16244. Callouts will now also be executed when a ComboReload triggered by a FIC request in CHANGE mode occurs.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---
(0034869)
iperdomo   
2011-03-15 12:21   
Tested on pi @ rev c8fbad03ca71