Browse Source

[MERGE][S0016] Pays obligatoire pour fournisseur/client

pull/14/head
Thibault Francois 8 years ago
parent
commit
8649403bd4
  1. 1
      beesdoo_base/models/partner.py

1
beesdoo_base/models/partner.py

@ -16,6 +16,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'))
member_card_to_be_printed = fields.Boolean('Print BEES card?')
last_printed = fields.Datetime('Last printed on')

Loading…
Cancel
Save