Browse Source

[CHG] b_base: country_id is not belgium by default anymore

pull/134/head
Rémy Taymans 5 years ago
parent
commit
dafdf345ba
  1. 2
      beesdoo_base/models/partner.py

2
beesdoo_base/models/partner.py

@ -12,7 +12,7 @@ class Partner(models.Model):
barcode = fields.Char(compute="_get_bar_code", string='Barcode', store=True)
parent_barcode = fields.Char(compute="_get_bar_code", string='Parent Barcode', store=True)
member_card_ids = fields.One2many('member.card', 'partner_id')
country_id = fields.Many2one(required=True, default=lambda self: self.env.ref('base.be'))
country_id = fields.Many2one(required=True)
member_card_to_be_printed = fields.Boolean('Print BEES card?')
last_printed = fields.Datetime('Last printed on')

Loading…
Cancel
Save