Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033122Retail ModulesWeb POSpublic2016-06-02 18:162016-06-02 18:16
shuehner 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0033122: OrderLoader has special code targeting MP13, MP14 of ERP, which should no longer be required today.
OrderLoader.java has code to at runtime check presence of a core field to make it work with newer core having this mandatory field but without requiring this new core version.
        if (ModelProvider.getInstance().getEntity(FIN_PaymentSchedule.class)
            .hasProperty("origDueDate")) {
          // This property is checked and set this way to force compatibility with both MP13, MP14
          // and
          // later releases of Openbravo. This property is mandatory and must be set. Check issue
          paymentSchedule.set("origDueDate", paymentSchedule.getDueDate());
        }

However from the comment that seems to be very old and should no longer be required today.

Dependency of webpos should be checked and if it requires new enough core to be sure that this field exists this dynamic code should be replaced by simple. setOrigDueDate

Note: There are 2 instances of this in OrderLoader
-
No tags attached.
Issue History
2016-06-02 18:16shuehnerNew Issue
2016-06-02 18:16shuehnerAssigned To => Retail
2016-06-02 18:16shuehnerTriggers an Emergency Pack => No

There are no notes attached to this issue.