Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015135Openbravo ERP03. Procurement managementpublic2010-11-08 18:142010-12-21 00:00
xabiermerino 
sivaraman 
urgentmajoralways
closedfixed 
5
2.50MP23 
2.50MP25 
Core
No
0015135: When you select a Project the fields Form of Payment and Payment Terms change
When you select a Project (the project without Form of Payment and Payment Terms) the fields Form of Payment and Payment Terms change
- As Openbravo Admin go to Project & Service Management || Transactions || Service Project
- Select 'Proyecto Roma'
    - Form of Payment: empty
    - Payment Terms: empty
- Go to Procurement Management || Transactions || Purchase Invoice
- BP: Mcgiver --> Form of Payment: Wire transfer and Payment Terms: Immediate
- Select the Proyecto Roma
- Realize that the fields change
No tags attached.
Issue History
2010-11-08 18:14xabiermerinoNew Issue
2010-11-08 18:14xabiermerinoAssigned To => adrianromero
2010-11-08 18:14xabiermerinoIssue Monitored: networkb
2010-11-25 13:19adrianromeroNote Added: 0032845
2010-11-30 12:18adrianromeroNote Added: 0032910
2010-12-01 09:28sivaramanAssigned Toadrianromero => sivaraman
2010-12-01 09:31hgbotCheckin
2010-12-01 09:31hgbotNote Added: 0032965
2010-12-01 09:32hgbotStatusnew => resolved
2010-12-01 09:32hgbotResolutionopen => fixed
2010-12-01 09:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/85e9fd0fb8e5e24c148dce95c503a856ccd709a7 [^]
2010-12-01 09:40sivaramanNote Added: 0032966
2010-12-01 17:30hudsonbotCheckin
2010-12-01 17:30hudsonbotNote Added: 0032985
2010-12-20 13:49psarobeNote Added: 0033293
2010-12-20 13:49psarobeStatusresolved => closed
2010-12-21 00:00anonymoussf_bug_id0 => 3141006

Notes
(0032845)
adrianromero   
2010-11-25 13:19   
It is required to verify first whether this change of the field values is an expected behavior or not
(0032910)
adrianromero   
2010-11-30 12:18   
It is ok to change the Payment terms and Form of payment when selecting a project in the Purchase invoice if the Project has these fields defined. But only in this case.

The proposal to fix this issue is in the callout of Purchase invoice that fills in the Form of Payment and Payment terms when Project is selected, to check whether the Form of payment is defined or not, and if it is not defined, do not do anything. The same for Payment terms.

Verify also the correct behavior for Multiphase projects not only Service projects
(0032965)
hgbot   
2010-12-01 09:31   
Repository: erp/devel/pi
Changeset: 85e9fd0fb8e5e24c148dce95c503a856ccd709a7
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Wed Dec 01 14:01:13 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/85e9fd0fb8e5e24c148dce95c503a856ccd709a7 [^]

Fixes issue 15135: When you select a Project the fields Form of Payment and Payment Terms change

Solution:
The callout has been modified in order to do not change the Form of Payment and Payment Terms fields if they are not defined for the chosen project.

Impacts:
None

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_Project.java
---
(0032966)
sivaraman   
2010-12-01 09:40   
Steps to test:

Kindly follow all the steps as given in 'Steps To Reproduce' section and verify if Form of Payment and Payment Terms fields are not modified on change of Project.
(0032985)
hudsonbot   
2010-12-01 17:30   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/85e9fd0fb8e5 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/73d8e3106d34 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19056.obx [^]
(0033293)
psarobe   
2010-12-20 13:49   
Tested working fine