Beispiel #1
0
 def validate_step(self):
     if (self.wizard.product_type == Product.TYPE_GRID
             and not GridGroup.has_group(self.wizard.store)):
         warning(_("You need to register an attribute group first"))
         return False
     return True
Beispiel #2
0
 def validate_step(self):
     if (self.wizard.product_type == Product.TYPE_GRID and
             not GridGroup.has_group(self.wizard.store)):
         warning(_("You need to register an attribute group first"))
         return False
     return True