|
|
@ -39,9 +39,13 @@ public class ProductProductJob extends OdooAbstrackob {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected Map<String, List<String>> getQueryFieldMap() {
|
|
|
|
protected Map<String, List<String>> getQueryFieldMap() {
|
|
|
|
|
|
|
|
// return new HashMap() {{
|
|
|
|
|
|
|
|
// put("fields", Arrays.asList("id","default_code", "name", "description_purchase"
|
|
|
|
|
|
|
|
// , "qty_available", "incoming_qty","cost","categ_id.name", "packaging_ids"));
|
|
|
|
|
|
|
|
// }};
|
|
|
|
return new HashMap() {{
|
|
|
|
return new HashMap() {{
|
|
|
|
put("fields", Arrays.asList("id","default_code", "name", "description_purchase"
|
|
|
|
put("fields", Arrays.asList("id","default_code", "name", "description_purchase"
|
|
|
|
, "qty_available", "incoming_qty","cost","categ_id.name", "packaging_ids"));
|
|
|
|
, "qty_available", "incoming_qty", "packaging_ids"));
|
|
|
|
}};
|
|
|
|
}};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -62,6 +66,6 @@ public class ProductProductJob extends OdooAbstrackob {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected TableRelationTypeEnum syncLarkType() {
|
|
|
|
protected TableRelationTypeEnum syncLarkType() {
|
|
|
|
return TableRelationTypeEnum.SYNC_ODOO_ACCOUNT_MOVE_LINE;
|
|
|
|
return TableRelationTypeEnum.SYNC_ODOO_PRODUCT_PRODUCT;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|