Stop using deprecated function from the relation widget cube
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 22 Feb 2017 22:31:07 +0100
changeset 2371 4243eebf9124
parent 2370 36388c9744c8
child 2372 5ab82af52711
Stop using deprecated function from the relation widget cube and so avoid deprecation warning.
views/archivetransfer.py
views/archiveunit.py
--- a/views/archivetransfer.py	Wed Feb 22 21:39:46 2017 +0100
+++ b/views/archivetransfer.py	Wed Feb 22 22:31:07 2017 +0100
@@ -113,7 +113,7 @@
 
     def entity_call(self, entity, **kwargs):
         super(ArchiveTransferTabbedPrimaryView, self).entity_call(entity, **kwargs)
-        rwdg.boostrap_dialog(self.w, self._cw._, clone._import_div_id(entity), u'')
+        rwdg.bootstrap_dialog(self.w, self._cw._, clone._import_div_id(entity))
 
 
 class ArchiveTransferCodeListVersionsTab(viewlib.PrimaryTabWithoutBoxes):
--- a/views/archiveunit.py	Wed Feb 22 21:39:46 2017 +0100
+++ b/views/archiveunit.py	Wed Feb 22 22:31:07 2017 +0100
@@ -279,7 +279,7 @@
 
     def entity_call(self, entity, **kwargs):
         super(ArchiveUnitTabbedPrimaryView, self).entity_call(entity, **kwargs)
-        rwdg.boostrap_dialog(self.w, self._cw._, clone._import_div_id(entity), u'')
+        rwdg.bootstrap_dialog(self.w, self._cw._, clone._import_div_id(entity))
 
 
 # main tab for archive unit reference ##########################################