Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021362Openbravo ERP07. Sales managementpublic2012-08-16 10:192012-09-26 17:18
psarobe 
Sandrahuguet 
urgentmajoralways
closedfixed 
5
 
3.0MP16 
Core
No
0021362: Ability to not allow to change the exchange rate and the amount when multi-currency in manual windows
When you can pay invoices in different currencies than the currency of the financial account some fields are shown in order to see the exchange rate applied and the converted amount. This feature request is about not to allow to change these fields so the user cannot edit these values. So the idea is to have these fields as not editable. But this need to be configurable and the way to do it will be through Preferences.

The preference must be a property and please take into account that preferences can be setup at client level, organization level, user level, role level and window level

Windows affected:

- Sales invoice and purchase invoice:
 -- Add payment button: Fields "Exchange rate" and "Actual converted"

- Payment Out window:
 -- Fields "Paid(Financial account)" and "Exchange rate"
 -- Add details button: Fields "Actual converted" and "Exchange rate"

- Payment In window:
 -- Fields "Received (Financial Account)" and "Exchange Rate"
 -- Add details button: Fields "Actual converted" and "Exchange rate"

- Financial account window:
 -- Add transaction button --> Add payment button: Fields "Actual converted" and "Exchange rate"

- Payment Proposal window:
 -- Fields "Paid(Financial account)" and "Exchange rate"

Priorities for windows:

Sales invoice
Purchase invoice
Financial account
Payment in
Payment out
N/A
No tags attached.
Issue History
2012-08-16 10:19psarobeNew Issue
2012-08-16 10:19psarobeAssigned To => Sandrahuguet
2012-08-16 10:19psarobeModules => Core
2012-08-16 10:54psarobeDescription Updatedbug_revision_view_page.php?rev_id=3723#r3723
2012-08-16 11:02psarobeDescription Updatedbug_revision_view_page.php?rev_id=3724#r3724
2012-08-16 11:06psarobeDescription Updatedbug_revision_view_page.php?rev_id=3725#r3725
2012-08-16 11:06psarobeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3727#r3727
2012-08-16 12:01psarobeDescription Updatedbug_revision_view_page.php?rev_id=3728#r3728
2012-08-16 12:01psarobeStatusnew => scheduled
2012-08-16 12:01psarobefix_in_branch => pi
2012-08-29 13:12Sandrahuguetfix_in_branchpi =>
2012-08-29 13:12SandrahuguetDescription Updatedbug_revision_view_page.php?rev_id=3771#r3771
2012-08-29 13:12SandrahuguetDescription Updatedbug_revision_view_page.php?rev_id=3772#r3772
2012-09-03 10:31SandrahuguetTarget Version3.0MP15 => 3.0MP16
2012-09-06 12:18SandrahuguetNote Added: 0051894
2012-09-06 12:28SandrahuguetNote Edited: 0051894bug_revision_view_page.php?bugnote_id=0051894#r3803
2012-09-06 12:34SandrahuguetNote Edited: 0051894bug_revision_view_page.php?bugnote_id=0051894#r3804
2012-09-06 12:48eduardo_ArgalNote Added: 0051900
2012-09-06 12:48SandrahuguetNote Edited: 0051894bug_revision_view_page.php?bugnote_id=0051894#r3807
2012-09-06 13:06hgbotCheckin
2012-09-06 13:06hgbotNote Added: 0051902
2012-09-06 13:06hgbotStatusscheduled => resolved
2012-09-06 13:06hgbotResolutionopen => fixed
2012-09-06 13:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d0b852e8789f7a712041ff8dee4a3a622fbefd01 [^]
2012-09-06 16:46eduardo_ArgalStatusresolved => closed
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052694

Notes
(0051894)
Sandrahuguet   
2012-09-06 12:18   
(edited on: 2012-09-06 12:48)
Test Plan:
As F&B Group admin
-Go to preference, create new preference
   ·Client: F&B International Group
   ·Organization: *
   ·Property: Not allow to change exchange rate and amount
   ·Value: Y
   ·Visible at client: F&B International Group
   ·Visible at organization: blank
   ·Visible at user: blank
   ·Visible at role: blank
   ·Window: blank
- Logout and login

- Go to financial account /payment method, select wire transfer
   ·Receive payments in multiple currencies=yes
   ·Make payments in multiple currencies=yes
- Go to Price list
  *select general sales
   ·Currency=EUR
  *select Be Soft Drinker Price List
   ·Currency=EUR
- Go to sales invoice, and create one:
   ·Organization: F&B US, Inc.
   ·Payment Method: Wire transfer
   ·Create line and complete
   ·Click in Add Payment
   ·Notice that you can not edit Exchange Rate and Actual converted

- Go to purchase invoice, and create one:
   ·Organization: F&B US, Inc.
   ·Business Partner: Be Soft Drinker, Inc.
   ·Payment Method: Wire transfer
   ·Create line and complete
   ·Click in Add Payment
   ·Notice that you can not edit Exchange Rate and Actual converted


- Go to paymet in, and create one:
   ·Organization: F&B US, Inc.
   ·Payment Method: Wire transfer
   ·Paying from: USD - Bank - Account 1
   ·Currency:EUR
   ·Notice that you can not edit Exchange Rate and Actual converted
   ·Click Add Details
   ·Notice that you can not edit Exchange Rate and Actual converted

- Go to paymet out, and create one:
   ·Organization: F&B US, Inc.
   ·Payment Method: Wire transfer
   ·Paying from: USD - Bank - Account 1
   ·Currency:EUR
   ·Notice that you can not edit Exchange Rate and Actual converted
   ·Click Add Details
   ·Notice that you can not edit Exchange Rate and Actual converted

-Go to financial account
   ·Add transaction / Add payment
   ·Currency:EUR
   ·Notice that you can not edit Exchange Rate and Actual converted
-Go to payment proposal
   ·Organization: F&B US, Inc.
   ·Payment Method: Wire transfer
   ·Paying from: USD - Bank - Account 1
   ·Currency:EUR
   ·Notice that you can not edit Exchange Rate and Actual converted

As QA Testing
-Go to financial account
  ·Select USA Bank
  ·payment method: 1(USA)
  ·Receive payments in multiple currencies=yes
  ·Make payments in multiple currencies=yes
-Add transaction / Add payment
  ·Currency:EUR
  ·payment method: 1(USA)
  ·Notice that you can edit Exchange Rate and Actual converted

(0051900)
eduardo_Argal   
2012-09-06 12:48   
Tested and code Reviewed.
Testing Plan OK
(0051902)
hgbot   
2012-09-06 13:06   
Repository: erp/devel/pi
Changeset: d0b852e8789f7a712041ff8dee4a3a622fbefd01
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Fri Aug 31 14:30:48 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d0b852e8789f7a712041ff8dee4a3a622fbefd01 [^]

Fixed issue 21362 Not allow to change exchange rate and amount
Not allow to change the exchange rate and the amount
when multi-currency.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.html
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.html
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.html
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
---
(0052694)
hudsonbot   
2012-09-26 17:18   
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/b780e90c6452 [^]

Maturity status: Test