Skip to content

Commit

Permalink
[FLAKE8]
Browse files Browse the repository at this point in the history
  • Loading branch information
hbto committed Nov 10, 2015
1 parent 0fd4bf0 commit 7b0b954
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ifrs_report/model/ifrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def onchange_company_id(self, cr, uid, ids, company_id, context=None):
required=False, readonly=True, states={},
default=lambda self: self.env['res.company']._company_default_get(
'ifrs.ifrs'), help='Company name')
currency_id = fields.Many2one('res.currency', string='Currency',
currency_id = fields.Many2one(
'res.currency', string='Currency',
required=False, readonly=True, states={},
related='company_id.currency_id',
help=('Currency at which this report will be expressed. If not '
Expand Down
4 changes: 2 additions & 2 deletions ifrs_report/model/ifrs_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,8 @@ def write(self, cr, uid, ids, vals, context=None):
('constant', 'Constant'),
('total', 'Total')],
string='Type', required=True, default='abstract',
help= ('Line type of report: \n-Abstract(A),\n-Detail(D), '
'\n-Constant(C),\n-Total(T)'))
help=('Line type of report: \n-Abstract(A),\n-Detail(D), '
'\n-Constant(C),\n-Total(T)'))
constant = fields.Float(
string='Constant',
help=('Fill this field with your own constant that will be used '
Expand Down

0 comments on commit 7b0b954

Please sign in to comment.