Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030166Openbravo ERP09. Financial managementpublic2015-06-12 13:072015-06-18 12:44
vmromanos 
aferraz 
normalminoralways
closedno change required 
5
 
3.0PR15Q3 
aferraz
Core
No
0030166: Wrong order payment plan with isinvoicepaid feature
The paid amount in the order's payment plan is wrongly updated when the user enters a payment in a status not considered as paid into the financial's account payment method.

If the payment's status is not considered as paid, the order's payment plan shouldn't be updated.
As group admin role:
   Enable the 'Allow to use invoice paid status control' preference
   Log out and log in again
   Create a new a payment method and configure it in the financial account as:
      Automatic Deposit: Y
      Invoice Paid Status: Deposited Not Cleared
   Create a Sales Order and select the previous payment method
   Enter a line with any amount
   Book the order
   Press Add Payment enter a partial payment for the previous payment method. Do not deposit the payment!
   Verify the payment plan reflects that an amount has been receipt. This is wrong, because this payment shouldn't be considered as paid until a transaction is created for it.
No tags attached.
related to defect 0030185 closed aferraz AlertsForWrongOrders modulescript is generating wrong alerts 
related to defect 00300953.0PR15Q3 closed aferraz BP current balance not properly updated when generating credit from Payment In/Out 
caused by defect 0030007 closed aferraz Payment schedule amount incorrectly calculated when adding a payment from reconcile window to a sales order 
blocks defect 00301703.0PR15Q3 closed aferraz Generic UpdatePaymentPlan module script 
Issue History
2015-06-12 13:07vmromanosNew Issue
2015-06-12 13:07vmromanosAssigned To => Triage Finance
2015-06-12 13:07vmromanosModules => Core
2015-06-12 13:07vmromanosTriggers an Emergency Pack => No
2015-06-12 14:11vmromanosRelationship addedblocks 0030170
2015-06-15 18:56ngarciaRelationship addedrelated to 0030185
2015-06-17 13:53aferrazAssigned ToTriage Finance => aferraz
2015-06-17 14:08aferrazStatusnew => scheduled
2015-06-17 14:47aferrazRelationship addedrelated to 0030095
2015-06-17 14:47aferrazRelationship addeddepends on 0030007
2015-06-18 12:43aferrazRelationship deleteddepends on 0030007
2015-06-18 12:43aferrazRelationship addedcaused by 0030007
2015-06-18 12:44aferrazReview Assigned To => aferraz
2015-06-18 12:44aferrazNote Added: 0078368
2015-06-18 12:44aferrazStatusscheduled => closed
2015-06-18 12:44aferrazResolutionopen => no change required
2015-06-18 12:44aferrazTarget Version3.0PR15Q4 => 3.0PR15Q3

Notes
(0078368)
aferraz   
2015-06-18 12:44   
Issue rejected as is not longer reproducible since this other backout: https://code.openbravo.com/erp/devel/pi/rev/56e313660729ba9148ad01703190a43a604ae231 [^] [^]