add (ppa - pvg - ug - shp - stklim) inheritance (saleOrder stockMove Invoice(s))
This commit is contained in:
@@ -1340,6 +1340,11 @@ public class StockMoveServiceImpl implements StockMoveService {
|
||||
// Set quantity in new stock move line
|
||||
newStockMoveLine = stockMoveLineRepo.copy(moveLine, false);
|
||||
newStockMoveLine.setQty(moveLine.getQty());
|
||||
newStockMoveLine.setUg(moveLine.getUg());
|
||||
newStockMoveLine.setPpa(moveLine.getPpa());
|
||||
newStockMoveLine.setPvg(moveLine.getPvg());
|
||||
newStockMoveLine.setStklim(moveLine.getStklim());
|
||||
newStockMoveLine.setShp(moveLine.getShp());
|
||||
newStockMoveLine.setRealQty(moveLine.getQty());
|
||||
newStockMoveLine.setProductTypeSelect(moveLine.getProductTypeSelect());
|
||||
// add stock move line
|
||||
|
||||
@@ -69,6 +69,12 @@
|
||||
<enum name="natureOfTransaction" ref="com.axelor.apps.stock.db.NatureOfTransaction"/>
|
||||
<many-to-one name="countryOfOrigin" ref="com.axelor.apps.base.db.Country"/>
|
||||
|
||||
<decimal name="ppa" title="PPA" precision="20" scale="10"/>
|
||||
<decimal name="pvg" title="PVG" precision="20" scale="10"/>
|
||||
<decimal name="ug" title="UG" precision="20" scale="10"/>
|
||||
<decimal name="stklim" title="Stklim" precision="20" scale="10" />
|
||||
<decimal name="shp" title="SHP" precision="20" scale="10" />
|
||||
|
||||
<extra-code><![CDATA[
|
||||
// CONFORMITY SELECT
|
||||
public static final int CONFORMITY_NONE = 1;
|
||||
|
||||
Reference in New Issue
Block a user