Skip to content

Commit

Permalink
[FIX] comments from @moylop260
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHForgeFlow committed Jul 12, 2016
1 parent c777518 commit 5f0bffe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions operating_unit/models/operating_unit.py
Expand Up @@ -11,9 +11,9 @@ class OperatingUnit(models.Model):
_name = 'operating.unit'
_description = 'Operating Unit'

name = fields.Char('Name', required=True)
code = fields.Char('Code', required=True)
active = fields.Boolean('Active', default=True)
name = fields.Char(required=True)
code = fields.Char(required=True)
active = fields.Boolean(default=True)
company_id = fields.Many2one(
'res.company', 'Company', required=True, default=lambda self:
self.env['res.company']._company_default_get('account.account'))
Expand Down
2 changes: 1 addition & 1 deletion operating_unit/security/ir.model.access.csv
@@ -1,3 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_account_operating_unit_erp_manager,operating.unit erp.manager,model_operating_unit,base.group_erp_manager,1,1,1,1
access_account_operating_unit_user,operating_unit user,model_operating_unit,,1,0,0,0
access_account_operating_unit_user,operating_unit user,model_operating_unit,,1,0,0,0

0 comments on commit 5f0bffe

Please sign in to comment.