diff --git a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewFieldLibrary/my_resource_title.xml b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewFieldLibrary/my_resource_title.xml index 5791d6224b7c06cbc341e30303a3ba5e87ca3201..252a5371dba55f72881b1b38c4b884ed88d680da 100644 --- a/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewFieldLibrary/my_resource_title.xml +++ b/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/InvoiceLine_viewFieldLibrary/my_resource_title.xml @@ -79,6 +79,10 @@ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> <item> <key> <string>field_id</string> </key> <value> <string></string> </value> @@ -109,15 +113,15 @@ <value> <dictionary> <item> - <key> <string>base_category</string> </key> + <key> <string>base_category</string> </key> <value> <string>resource</string> </value> </item> <item> - <key> <string>catalog_index</string> </key> + <key> <string>catalog_index</string> </key> <value> <string>title</string> </value> </item> <item> - <key> <string>columns</string> </key> + <key> <string>columns</string> </key> <value> <list> <tuple> @@ -144,7 +148,7 @@ </value> </item> <item> - <key> <string>default</string> </key> + <key> <string>default</string> </key> <value> <string></string> </value> </item> <item> @@ -152,7 +156,7 @@ <value> <string>resource_module</string> </value> </item> <item> - <key> <string>description</string> </key> + <key> <string>description</string> </key> <value> <string>The product or service which is traded</string> </value> </item> <item> @@ -164,7 +168,7 @@ <value> <string>Base_viewFieldLibrary</string> </value> </item> <item> - <key> <string>portal_type</string> </key> + <key> <string>portal_type</string> </key> <value> <list> <tuple> @@ -179,7 +183,7 @@ <value> <string>Click to edit the target</string> </value> </item> <item> - <key> <string>title</string> </key> + <key> <string>title</string> </key> <value> <string>Product or Service</string> </value> </item> </dictionary> @@ -215,7 +219,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: map( lambda x: (x,x), here.getPortalResourceTypeList())</string> </value> + <value> <string>python: [(x, x) for x in (list(here.getPortalProductTypeList()) + list(here.getPortalServiceTypeList()))]</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_invoicing/bt/revision b/bt5/erp5_invoicing/bt/revision index 4b6f9c39e5c757bf387d465c53026b336dd8b96c..d1cbcfa54043559204a5b30b0d1b808dfe9cb552 100644 --- a/bt5/erp5_invoicing/bt/revision +++ b/bt5/erp5_invoicing/bt/revision @@ -1 +1 @@ -64 \ No newline at end of file +66 \ No newline at end of file