Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018613Openbravo ERP01. General setuppublic2011-09-26 17:012011-11-28 10:31
jecharri 
ioritzCia 
urgentminoralways
closedfixed 
5
pi 
3.0MP63.0MP6 
Google Chrome
Core
No
0018613: Default PaymentTerm is not working
If you have one paymenterm defined like a default and you have one Business Partner who has not payment term defined, the application doesn't put the default payment term, it put the first payment term.
As Admin go to Payment Tem window and verifie that you have the payment term Inmediate put as default.

Now go to Business Partner window and select mcgiver. In the tab customer put empty the field Payment Terms.

After that, create one sales invoice with the BP McGiver and see that the payment term has not been updated correctly. The payment term is Fifteen Day, the first item of the payment terms.
No tags attached.
depends on backport 00186142.50MP36 closed ioritzCia Default PaymentTerm is not working 
depends on backport 00186172.40 closed ioritzCia Default PaymentTerm is not working 
Issue History
2011-09-26 17:01jecharriNew Issue
2011-09-26 17:01jecharriAssigned To => jonalegriaesarte
2011-09-26 17:01jecharriWeb browser => Google Chrome
2011-09-26 17:01jecharriModules => Core
2011-09-26 17:01jecharriResolution time => 1324249200
2011-09-26 17:01jecharriStatusnew => scheduled
2011-09-26 17:01jecharrifix_in_branch => pi
2011-09-26 17:06jecharriNote Added: 0041282
2011-09-26 17:06jecharriStatusscheduled => closed
2011-09-26 17:06jecharriResolutionopen => no change required
2011-09-26 18:26jecharriStatusclosed => new
2011-09-26 18:26jecharriResolutionno change required => open
2011-09-26 18:27jecharriStatusnew => scheduled
2011-09-26 18:27jecharriStatusscheduled => closed
2011-09-26 18:27jecharriResolutionopen => no change required
2011-11-10 11:21jecharriAssigned Tojonalegriaesarte => ioritzCia
2011-11-10 11:21jecharriStatusclosed => new
2011-11-10 11:21jecharriResolutionno change required => open
2011-11-10 11:22jecharriWeb browserGoogle Chrome => Google Chrome
2011-11-10 11:22jecharriversion2.50MP33 => pi
2011-11-10 11:22jecharriTarget Version2.50MP36 => 3.0MP6
2011-11-10 11:22jecharrifix_in_branchpi =>
2011-11-10 11:22jecharriNote Deleted: 0041282
2011-11-15 10:51hgbotCheckin
2011-11-15 10:51hgbotNote Added: 0042817
2011-11-15 10:51hgbotStatusnew => resolved
2011-11-15 10:51hgbotResolutionopen => fixed
2011-11-15 10:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ac90098fce2844b1093befe5fb491d758589f572 [^]
2011-11-15 17:04hudsonbotCheckin
2011-11-15 17:04hudsonbotNote Added: 0042847
2011-11-18 09:21hgbotCheckin
2011-11-18 09:21hgbotNote Added: 0042965
2011-11-18 09:21hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/ac90098fce2844b1093befe5fb491d758589f572 [^] => http://code.openbravo.com/erp/devel/pi/rev/2d54640c7a2e9c6a83743fc56e4c7d4e01a6c5cd [^]
2011-11-22 03:50hudsonbotCheckin
2011-11-22 03:50hudsonbotNote Added: 0043052
2011-11-28 10:31jecharriNote Added: 0043398
2011-11-28 10:31jecharriStatusresolved => closed
2011-11-28 10:31jecharriFixed in Version => 3.0MP6

Notes
(0042817)
hgbot   
2011-11-15 10:51   
Repository: erp/devel/pi
Changeset: ac90098fce2844b1093befe5fb491d758589f572
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Fri Nov 11 14:35:56 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ac90098fce2844b1093befe5fb491d758589f572 [^]

Fixes issue 18613: Default PaymentTerm is not working.

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Invoice_BPartner.java
M src/org/openbravo/erpCommon/ad_callouts/SE_Order_BPartner.java
M src/org/openbravo/erpCommon/businessUtility/BpartnerMisc_data.xsql
---
(0042847)
hudsonbot   
2011-11-15 17:04   
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/22d704d9f2e8 [^]

Maturity status: Test
(0042965)
hgbot   
2011-11-18 09:21   
Repository: erp/devel/pi
Changeset: 2d54640c7a2e9c6a83743fc56e4c7d4e01a6c5cd
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu Nov 17 17:55:06 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2d54640c7a2e9c6a83743fc56e4c7d4e01a6c5cd [^]

Fixes issue 18613: Default PaymentTerm is not working
Had to add client filter.

---
M src/org/openbravo/erpCommon/businessUtility/BpartnerMisc_data.xsql
---
(0043052)
hudsonbot   
2011-11-22 03:50   
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/ebd713dfe507 [^]

Maturity status: Test
(0043398)
jecharri   
2011-11-28 10:31   
Fixed and working.
Code review done