Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022782Openbravo ERP09. Financial managementpublic2013-01-11 13:472013-01-28 10:28
psanjuan 
pramakrishnan 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
 
 
dmiguelez
Google Chrome
Core
No
0022782: The field "Business Partner" should not be mandatory while creating a payment from a G/L Journal line.
The field "Business Partner" should not be mandatory while creating a payment from a G/L Journal line, because it is possible to create a "G/L Item" payment do not linked to a BP either in the Payment In/Out windows.
Navigate to G/L Journal
Create a new one for F&B España.
Create a header for the F&B España/Euro General Ledger Configuration and navigate to the Lines tab.
Create a new line in form view by entering below data:
* Account: 64000 Sueldos y Salarios
* Debit : 15.000,00
Save
Create another line in form view by entering below data:
* Account: 46500
* Credit: 15.000,00
* Select the checkbox : Open Items
* Enter a financial account, a payment method, a G/L item and a payment date
Try to save
Realize that is not possible because the field "Business Partner" of the section "Dimensions" is mandatory.



The Business Partner field should not be mandatory.
No tags attached.
related to defect 0022804 closed pramakrishnan API Change: Remove Business Partner from the Open Items Restriction 
Issue History
2013-01-11 13:47psanjuanNew Issue
2013-01-11 13:47psanjuanAssigned To => dmiguelez
2013-01-11 13:47psanjuanWeb browser => Google Chrome
2013-01-11 13:47psanjuanModules => Core
2013-01-11 13:47psanjuanTriggers an Emergency Pack => No
2013-01-11 13:52psanjuanWeb browserGoogle Chrome => Google Chrome
2013-01-11 13:52psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4262#r4262
2013-01-11 13:52psanjuanProposed Solution updated
2013-01-16 11:08pramakrishnanAssigned Todmiguelez => pramakrishnan
2013-01-16 11:08pramakrishnanStatusnew => scheduled
2013-01-16 11:08pramakrishnanfix_in_branch => pi
2013-01-16 11:09pramakrishnanRelationship addedrelated to 0022804
2013-01-17 09:43pramakrishnanNote Added: 0055555
2013-01-23 11:34hgbotCheckin
2013-01-23 11:34hgbotNote Added: 0055762
2013-01-23 11:34hgbotStatusscheduled => resolved
2013-01-23 11:34hgbotResolutionopen => fixed
2013-01-23 11:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/36dbe385905f6355ef7b7ce7a11e334a79db82ed [^]
2013-01-23 11:34hgbotCheckin
2013-01-23 11:34hgbotNote Added: 0055763
2013-01-24 04:59hudsonbotCheckin
2013-01-24 04:59hudsonbotNote Added: 0055789
2013-01-24 04:59hudsonbotCheckin
2013-01-24 04:59hudsonbotNote Added: 0055790
2013-01-28 10:28dmiguelezReview Assigned To => dmiguelez
2013-01-28 10:28dmiguelezNote Added: 0055896
2013-01-28 10:28dmiguelezStatusresolved => closed

Notes
(0055555)
pramakrishnan   
2013-01-17 09:43   
Test Plan:
Login as Openbravo/openbravo
Navigate to G/L Journal
Create a new one for F&B España.
Create a header for the F&B España/Euro General Ledger Configuration and navigate to the Lines tab.
Create a new line in form view by entering below data:
* Account: 64000 Sueldos y Salarios
* Debit : 15.000,00
Save
Create another line in form view by entering below data:
* Account: 46500
* Credit: 15.000,00
* Select the checkbox : Open Items
* Enter a financial account, a payment method, a G/L item and a payment date
Save
Notice that the record saved without any errors.
(0055762)
hgbot   
2013-01-23 11:34   
Repository: erp/devel/pi
Changeset: 36dbe385905f6355ef7b7ce7a11e334a79db82ed
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Thu Jan 17 14:18:36 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/36dbe385905f6355ef7b7ce7a11e334a79db82ed [^]

Fixes Issue 22782: Business Partner should not be mandatory in G/L Journal line

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPaymentFromJournalLine.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0055763)
hgbot   
2013-01-23 11:34   
Repository: erp/devel/pi
Changeset: cf2de0fafe31b233f66043f23fe13fd53e292c4b
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Tue Jan 22 18:51:23 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cf2de0fafe31b233f66043f23fe13fd53e292c4b [^]

Related to Issue 22782. Code Review changes.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPaymentFromJournalLine.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
M src-db/database/model/tables/GL_JOURNALLINE.xml
---
(0055789)
hudsonbot   
2013-01-24 04:59   
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/c7e708c0b53e [^]

Maturity status: Test
(0055790)
hudsonbot   
2013-01-24 04:59   
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/c7e708c0b53e [^]

Maturity status: Test
(0055896)
dmiguelez   
2013-01-28 10:28   
Code Review + Testing OK