Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028078Openbravo ERPZ. Otherspublic2014-11-04 12:412014-12-30 23:24
maite 
fsoto82 
urgentmajoralways
closedfixed 
5
 
 
pramakrishnan
Core
Production - QA Approved
No
0028078: Proper error should be raised when trying to pay an invoice whose business partner has not currency defined
Proper error should be raised when trying to pay an invoice whose business partner has not currency defined
- In a version previous to 3.0PR14Q3
  1. create new business partner and not set any price list in its customer tab
  2. register one invoice for that business partner
- Upgrade version to 3.0PR14Q3.2
  3. try to pay previous invoice and error will be raised
Error should be raised when trying to pay the invoice: "Please, access business partner and initialize currency"

DME: I propose small improvement to the message. "business partner" should be not just a text but a link to the BP window with the partner from the context (document) so that we make navigation nice.

I would also adjust a message a bit: "Please initialize business partner currency before processing the document"
No tags attached.
related to defect 00253923.0PR14Q4 closed eduardo_Argal Wrong customer balance when working with multicurrency 
Issue History
2014-11-04 12:41maiteNew Issue
2014-11-04 12:41maiteAssigned To => dmiguelez
2014-11-04 12:41maiteModules => Core
2014-11-04 12:41maiteTriggers an Emergency Pack => No
2014-11-04 12:44maiteResolution time => 1417906800
2014-11-04 12:44maiteRegression level => Production - QA Approved
2014-11-04 12:45maiteRelationship addedrelated to 0025392
2014-11-04 12:46maiteIssue Monitored: networkb
2014-11-05 19:44dmitry_mezentsevProposed Solution updated
2014-11-09 15:00fsoto82Statusnew => scheduled
2014-11-09 15:00fsoto82Assigned Todmiguelez => fsoto82
2014-11-09 15:00fsoto82fix_in_branch => pi
2014-11-18 09:27hgbotCheckin
2014-11-18 09:27hgbotNote Added: 0071743
2014-11-18 09:27hgbotCheckin
2014-11-18 09:27hgbotNote Added: 0071745
2014-11-18 09:27hgbotStatusscheduled => resolved
2014-11-18 09:27hgbotResolutionopen => fixed
2014-11-18 09:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/50d3a6f3a4021bda2bd01882e5e5313edc0e53c8 [^]
2014-11-18 09:32pramakrishnanReview Assigned To => pramakrishnan
2014-11-18 09:32pramakrishnanNote Added: 0071746
2014-11-18 09:32pramakrishnanStatusresolved => closed
2014-12-30 23:24hudsonbotCheckin
2014-12-30 23:24hudsonbotNote Added: 0073071
2014-12-30 23:24hudsonbotCheckin
2014-12-30 23:24hudsonbotNote Added: 0073072

Notes
(0071743)
hgbot   
2014-11-18 09:27   
Repository: erp/devel/pi
Changeset: 543ad0d8740269985d0d17d5bafcb025a58c816c
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Thu Nov 13 12:42:30 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/543ad0d8740269985d0d17d5bafcb025a58c816c [^]

Fixed bug 28077: Processing an invoice with no currency defined in BP

When processing an Invoice and the Bussines Partner has no currency defined, an error should be raised
Modified ProcessInvoice class to check the BP currency
Uses message InitBPCurrencyLnk from issue 28078

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
(0071745)
hgbot   
2014-11-18 09:27   
Repository: erp/devel/pi
Changeset: 50d3a6f3a4021bda2bd01882e5e5313edc0e53c8
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Mon Nov 10 18:17:55 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/50d3a6f3a4021bda2bd01882e5e5313edc0e53c8 [^]

Fixed bug 28078: Paying an invoice with no currency defined in BP

When paying an Invoice and the Bussines Partner has no currency defined, an error should be raised
Modified FIN_PaymentProcess class to check the bussiness partner currency
Created Message InitBPCurrencyLnk

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0071746)
pramakrishnan   
2014-11-18 09:32   
Code Review + Testing - OK.
(0073071)
hudsonbot   
2014-12-30 23:24   
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/6525fe229e06 [^]
Maturity status: Test
(0073072)
hudsonbot   
2014-12-30 23:24   
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/6525fe229e06 [^]
Maturity status: Test