138
136
context.update({'account_company_create':True})
139
137
#~ pattern = vals['pattern']
140
138
#~ vals['num_pattern'] = self._get_pattern(pattern)
141
139
return super(res_company, self).create(cr, uid, vals, context)
143
141
def write(self, cr, uid, ids, vals, context=None):
145
146
#~ pattern = vals['pattern']
146
147
#~ vals['num_pattern'] = self._get_pattern(pattern)
147
148
return super(res_company, self).write(cr, uid, ids, vals, context)