Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0034273 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | minor | have not tried | 2016-10-21 17:13 | 2016-10-21 17:13 | |||||||
Reporter | guilleaer | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0034273: Payment schedule due date should be correctly set for invoices based on payment terms | |||||||||||
Description | Payment schedule due date should be correctly set for invoices based on payment terms. Currently we are just setting it when pay on credit Orderloader (line 1830) if (wasPaidOnCredit) { paymentScheduleInvoice.setDueDate(getCalculatedDueDateBasedOnPaymentTerms( order.getOrderDate(), order.getPaymentTerms())); paymentScheduleInvoice.setExpectedDate(paymentScheduleInvoice.getDueDate()); } else { paymentScheduleInvoice.setDueDate(order.getOrderDate()); paymentScheduleInvoice.setExpectedDate(order.getOrderDate()); } | |||||||||||
Steps To Reproduce | Create an order using specific payment terms. Due date is not correctly calculated. Steps of issue https://issues.openbravo.com/view.php?id=33830 [^] can be followed to reproduce (using an standard payment method) | |||||||||||
Proposed Solution | execute getCalculatedDueDateBasedOnPaymentTerms always | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2016-10-21 17:13 | guilleaer | New Issue | |
2016-10-21 17:13 | guilleaer | Assigned To | => Retail |
2016-10-21 17:13 | guilleaer | Triggers an Emergency Pack | => No |
2016-10-21 17:13 | guilleaer | Relationship added | related to 0033830 |
Copyright © 2000 - 2009 MantisBT Group |