Skip to content

Commit

Permalink
[FIX] l10n_es_aeat_mod347: Propagate commercial field
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobaeza committed Feb 23, 2015
1 parent cd564d9 commit 2aaf6a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions l10n_es_aeat_mod347/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ class ResPartner(orm.Model):
_defaults = {
'not_in_mod347': False,
}

def _commercial_fields(self, cr, uid, context=None):
res = super(ResPartner, self)._commercial_fields(
cr, uid, context=context)
res += ['not_in_mod347']
return res

0 comments on commit 2aaf6a4

Please sign in to comment.