Beispiel #1
0
 def create_model(self, store):
     return CostCenter(store=store)
Beispiel #2
0
 def create_cost_center(self, name=u'Cost Center', is_active=True):
     from stoqlib.domain.costcenter import CostCenter
     return CostCenter(name=name, is_active=is_active, store=self.store)