Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012945Openbravo ERPZ. Otherspublic2010-04-13 07:442010-12-09 16:00
arunkumar 
gorkaion 
normalminorhave not tried
closedfixed 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0012945: Error message should be easily understandable for the end users.
Try to complete a purchase invoice without entering the value for Payment method.You will see an error message. That is difficult to understand from the end users perspective.
• Login with user having access to Openbravo Admin Role
• Navigate to Procurement Management -> Transactions -> Purchase invoice
• Click New to create a new record
• Select the Transaction document as “AP Invoice”.
• Invoice Date is current system date
• Select the business partner
• Do not Select the Payment method
• Move to tab Lines and click New.
• Click on the product icon. Popup window must show up.
• Select the product
• Move to header and complete.

You will see an error message "null value in column "fin_paymentmethod_id" violates not-null constraint"
No tags attached.
related to defect 0012933 closed gorkaion Payment Method field should be marked with yellow color to show it as mandatory field 
has duplicate defect 0013090 closed mirurita When completing an invoice with no Payment Method, message is not clear 
jpg Paymnet1.JPG (202,692) 2010-04-13 07:44
https://issues.openbravo.com/file_download.php?file_id=2430&type=bug
jpg
Issue History
2010-04-13 07:44arunkumarNew Issue
2010-04-13 07:44arunkumarFile Added: Paymnet1.JPG
2010-04-13 07:45arunkumarAssigned To => gorkaion
2010-04-13 07:45arunkumarStatusnew => scheduled
2010-04-13 07:45arunkumarfix_in_branch => pi
2010-04-13 08:17arunkumarRelationship addedrelated to 0012933
2010-04-13 11:43gorkaionStatusscheduled => feedback
2010-04-13 11:43gorkaionNote Added: 0026108
2010-04-13 11:44gorkaionStatusfeedback => new
2010-04-13 11:44gorkaionNote Added: 0026115
2010-05-07 08:22hgbotCheckin
2010-05-07 08:22hgbotNote Added: 0027022
2010-05-07 08:22hgbotStatusnew => resolved
2010-05-07 08:22hgbotResolutionopen => fixed
2010-05-07 08:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/0bd04204f8db8b9db60658f9165b8e14da79622d [^]
2010-05-07 11:27miruritaRelationship addedhas duplicate 0013090
2010-05-17 08:35arunkumarNote Added: 0027349
2010-05-17 08:35arunkumarStatusresolved => closed
2010-12-09 16:00anonymoussf_bug_id0 => 3133121

Notes
(0026108)
gorkaion   
2010-04-13 11:43   
Set to feedback as a middle step to set them in new status
(0026115)
gorkaion   
2010-04-13 11:44   
all new issues should left in new status, I'll change the status to acknowledged or scheduled once I check that they are issues.
(0027022)
hgbot   
2010-05-07 08:22   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 0bd04204f8db8b9db60658f9165b8e14da79622d
Author: Anandan Narasimachari Monnin <anandan.monnin <at> openbravo.com>
Date: Fri May 07 11:50:44 2010 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/0bd04204f8db8b9db60658f9165b8e14da79622d [^]

Fixes issue 12945 Error message should be easily understandable for the end users.

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0027349)
arunkumar   
2010-05-17 08:35   
Now the error message is displayed as below:

      
Error:
The field payment method is mandatory and cannot be left empty

Tested & working fine.