Commit 0b834c3c authored by Jérome Perrin's avatar Jérome Perrin

Merge remote-tracking branch 'upstream/master' into zope4py2

parents 1a8aef60 ce63a24d
from Products.ERP5Type.Document import newTempBase
from Products.ERP5Type.Cache import CachingMethod
from Products.ERP5.Document.BusinessTemplate import TemplateConditionError
import six
# get selected business templates
p = context.getPortalObject()
......
from Products.ERP5Type.Document import newTempBase
from Products.ERP5Type.Cache import CachingMethod
from Products.ERP5Type.Utils import ensure_list
import six
Base_translateString = context.Base_translateString
......
......@@ -47,7 +47,7 @@ save_and_remove_title = Base_translateString('Backup And Remove')
for bt in bt_id_list:
bt_title, modified_object_list = bt_object_dict[bt]
for i, (object_id, value) in enumerate(sorted(six.iteritems(modified_object_list))):
object_state, object_class = modified_object_list[object_id]
object_state, object_class = value
object_id = bt+'|'+object_id
line = newTempBase(context, 'tmp_install_%s' % i)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment