base_partner_one2many_phone: make it work with the asterisk connector

This commit is contained in:
Alexis de Lattre
2017-08-31 09:55:31 +02:00
parent ad362a11ce
commit 210ac987a0

View File

@@ -13,6 +13,7 @@ import phonenumbers
class ResPartnerPhone(models.Model):
_name = 'res.partner.phone'
_order = 'partner_id, type'
_phone_name_sequence = 8
partner_id = fields.Many2one('res.partner', string='Related Partner')
type = fields.Selection([