Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018617Openbravo ERP01. General setuppublic2011-09-26 17:012011-11-28 09:48
jecharri 
ioritzCia 
urgentminoralways
closedfixed 
5
2.40MP16 
2.40 
Google Chrome
Core
No
0018617: 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.
blocks defect 00186133.0MP6 closed ioritzCia Default PaymentTerm is not working 
Issue History
2011-09-26 18:27jecharriTypedefect => backport
2011-09-26 18:27jecharrifix_in_branchpi => 2.40
2011-09-26 18:28jecharriWeb browserGoogle Chrome => Google Chrome
2011-09-26 18:28jecharriversion2.50MP33 => 2.40MP16
2011-09-26 18:28jecharriTarget Version2.50MP36 => 2.40
2011-11-15 11:16hgbotCheckin
2011-11-15 11:16hgbotNote Added: 0042822
2011-11-15 11:16hgbotStatusscheduled => resolved
2011-11-15 11:16hgbotResolutionopen => fixed
2011-11-15 11:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/1b7f8fd0804578e1ee1e255a5e1c3693992a8d68 [^]
2011-11-17 17:32ioritzCiaAssigned Tojonalegriaesarte => ioritzCia
2011-11-17 17:32ioritzCiaStatusresolved => new
2011-11-17 17:32ioritzCiaResolutionfixed => open
2011-11-17 17:33ioritzCiaStatusnew => scheduled
2011-11-17 17:33ioritzCiafix_in_branch2.40 => pi
2011-11-17 17:34ioritzCiaStatusscheduled => resolved
2011-11-17 17:34ioritzCiaFixed in SCM revisionhttp://code.openbravo.com/erp/stable/2.40/rev/1b7f8fd0804578e1ee1e255a5e1c3693992a8d68 [^] => http://code.openbravo.com/erp/stable/2.40/rev/13d869e662f5f1851f085944ace0167805d912df [^]
2011-11-17 17:34ioritzCiaResolutionopen => fixed
2011-11-17 17:35ioritzCiaNote Added: 0042953
2011-11-28 09:48jecharriNote Added: 0043392
2011-11-28 09:48jecharriStatusresolved => closed

Notes
(0042822)
hgbot   
2011-11-15 11:16   
Repository: erp/stable/2.40
Changeset: 1b7f8fd0804578e1ee1e255a5e1c3693992a8d68
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Nov 14 09:25:35 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.40/rev/1b7f8fd0804578e1ee1e255a5e1c3693992a8d68 [^]

Fixes issue 18617: 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
A src/org/openbravo/erpCommon/businessUtility/BpartnerMisc_data.xsql
---
(0042953)
ioritzCia   
2011-11-17 17:35   
Repository: erp/stable/2.40
Changeset: 13d869e662f5f1851f085944ace0167805d912df
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Thu Nov 17 17:23:33 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.40/rev/13d869e662f5f1851f085944ace0167805d912df [^] [^]

Fixes issue 18614: Default PaymentTerm is not working.
Had to add TO_NUMBER function and client restriction.

---
M src/org/openbravo/erpCommon/businessUtility/BpartnerMisc_data.xsql
(0043392)
jecharri   
2011-11-28 09:48   
Fixed and working