Skip to content

Commit

Permalink
Merge pull request #527 from sergiocorato/fix_fiscal_position_multi_c…
Browse files Browse the repository at this point in the history
…ompany

[8.0][9.0][FIX] default multicompany in fiscal_position
  • Loading branch information
pedrobaeza committed Aug 16, 2016
2 parents d61536f + 19f3f90 commit 280f711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/account/partner.py
Expand Up @@ -46,6 +46,7 @@ class account_fiscal_position(osv.osv):

_defaults = {
'active': True,
'company_id': lambda self, cr, uid, ctx: self.pool['res.company']._company_default_get(cr, uid, object='account', context=ctx)
}

def _check_country(self, cr, uid, ids, context=None):
Expand Down

0 comments on commit 280f711

Please sign in to comment.