[ 
https://issues.apache.org/jira/browse/OFBIZ-11431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073689#comment-17073689
 ] 

Pierre Smits commented on OFBIZ-11431:
--------------------------------------

Data migration at an adopter's implementation due to data model updates require 
a bit more (not only the implementing the changes, but also planning for 
testing and execution). This, obviously, would not happen while the system 
would be active during operation hours.

Nevertheless, the suggestion regarding the 'deprecated-entitymodel.xml' would 
help the adopters (and their supporting system integrators/devops staff). We 
could consider this approach to be included in the project's data-migration 
guide. But the project should not consider it to make it part of the code base.

> InvoiceItem: uomID is wrongly defined
> -------------------------------------
>
>                 Key: OFBIZ-11431
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11431
>             Project: OFBiz
>          Issue Type: Bug
>          Components: datamodel
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Priority: Critical
>              Labels: refactoring
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently the InvoiceItem entity has the field uomId, per:
> {code:java}
>       <field name="uomId" type="id"></field>
> {code}
> per the demo data this field is used to capture the currency of the invoice 
> item. This is, however, wrong. The currency for invoice items is set in the 
> invoice entity record (with field currencyUomId. 
> The uomId in the invoice item is related to the quantity set, and must be 
> correctly named: 'quantityUomId.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to