Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
kittiu committed Mar 25, 2017
1 parent 3cea819 commit 4ae1390
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions l10n_th_address/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ class ResPartner(models.Model):
'res.country.province',
domain="[('country_id','=',country_id)]",
ondelete='restrict'
)
)
district_id = fields.Many2one(
'res.country.district',
domain="[('province_id','=',province_id)]",
ondelete='restrict'
)
)
township_id = fields.Many2one(
'res.country.township',
domain="[('district_id','=',district_id)]",
ondelete='restrict'
)
)
name = fields.Char(translate=True)
street = fields.Char(translate=True)
street2 = fields.Char(translate=True)

Expand Down

0 comments on commit 4ae1390

Please sign in to comment.