diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getFormattedTitle.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getFormattedTitle.xml index 8a4f3faf0db31f08d901864b9ed67011389739c0..5c2868cd9115faee3f5902c2e269bda66f614f85 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getFormattedTitle.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getFormattedTitle.xml @@ -56,7 +56,7 @@ <value> <string>if account is None:\n account = context\n \n -gap_id = account.Account_getGapId()\n +gap_id = account.Account_getGapId(gap_root=gap_root)\n title = account.getTitle()\n \n if gap_id:\n @@ -73,7 +73,7 @@ return title\n </item> <item> <key> <string>_params</string> </key> - <value> <string>account=None</string> </value> + <value> <string>account=None, gap_root=None</string> </value> </item> <item> <key> <string>errors</string> </key> @@ -93,13 +93,14 @@ return title\n <dictionary> <item> <key> <string>co_argcount</string> </key> - <value> <int>1</int> </value> + <value> <int>2</int> </value> </item> <item> <key> <string>co_varnames</string> </key> <value> <tuple> <string>account</string> + <string>gap_root</string> <string>None</string> <string>context</string> <string>_getattr_</string> @@ -118,6 +119,7 @@ return title\n <value> <tuple> <none/> + <none/> </tuple> </value> </item> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index c1f4de8cc33d9f03029bbab6cbe34cbe36a24bec..0735b8030cacf01aa8e7467c7a15cf14be3f279d 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -903 \ No newline at end of file +904 \ No newline at end of file