diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_internal_quantity_step_list.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_internal_quantity_step_list.xml index f33cfb26717dc4fdb739fdf231561e8c817971ba..a678356b99caad7e5db45f03a8efddc762fba112 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_internal_quantity_step_list.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_internal_quantity_step_list.xml @@ -313,7 +313,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python:[str(int(x)) for x in here.Resource_getDefaultInternalSupplyLine().getQuantityStepList()]</string> </value> + <value> <string>python:[str(x) for x in context.getInternalSupplyLineQuantityStepList([])]</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_purchase_quantity_step_list.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_purchase_quantity_step_list.xml index b7bdd712ed916add3c7ad1410a4efdf84498b0dd..20caa3b584183c98aebc3c3774b5924874b80dff 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_purchase_quantity_step_list.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_purchase_quantity_step_list.xml @@ -313,7 +313,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python:[str(int(x)) for x in here.Resource_getDefaultPurchaseSupplyLine().getQuantityStepList()]</string> </value> + <value> <string>python:[str(x) for x in context.getPurchaseSupplyLineQuantityStepList([])]</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_sale_quantity_step_list.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_sale_quantity_step_list.xml index fa4206ae4f8b5442f84dfc5aea96e50530231227..aead5007136aabd3aaada8272833c29dcd20392f 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_sale_quantity_step_list.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Base_viewPDMFieldLibrary/my_resource_sale_quantity_step_list.xml @@ -313,7 +313,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python:[str(int(x)) for x in here.Resource_getDefaultSaleSupplyLine().getQuantityStepList()]</string> </value> + <value> <string>python:[str(x) for x in context.getSaleSupplyLineQuantityStepList([])]</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision index 5c9fe11c04f8b588e89db8b6d8770af632a54799..511fa83dfa3be29e929664165b2228c4fbd9ff3e 100644 --- a/bt5/erp5_pdm/bt/revision +++ b/bt5/erp5_pdm/bt/revision @@ -1 +1 @@ -413 \ No newline at end of file +414 \ No newline at end of file