diff --git a/partner_identification/README.rst b/partner_identification/README.rst index e11df091a..dcb4885fd 100644 --- a/partner_identification/README.rst +++ b/partner_identification/README.rst @@ -48,6 +48,8 @@ ID Number: The ID itself. For example, Driver License number of this person Issued by: Another partner, who issued this ID. For example, Traffic National Institution +Place of Issuance: + The place where the ID has been issued. For example the country for passports and visa Valid from: Issued date. For example, date when person approved his driving exam, 21/10/2009 Valid until: diff --git a/partner_identification/models/res_partner_id_number.py b/partner_identification/models/res_partner_id_number.py index 57e427102..87483683a 100644 --- a/partner_identification/models/res_partner_id_number.py +++ b/partner_identification/models/res_partner_id_number.py @@ -27,6 +27,7 @@ class ResPartnerIdNumber(models.Model): comodel_name='res.partner') partner_issued_id = fields.Many2one(string="Issued by", comodel_name='res.partner') + place_issuance = fields.Char(string="Place of Issuance") date_issued = fields.Date(string="Issued on") valid_from = fields.Date(string="Valid from") valid_until = fields.Date(string="Valid until") diff --git a/partner_identification/views/res_partner_id_number_view.xml b/partner_identification/views/res_partner_id_number_view.xml index fb3b54266..00f325ff8 100644 --- a/partner_identification/views/res_partner_id_number_view.xml +++ b/partner_identification/views/res_partner_id_number_view.xml @@ -13,6 +13,7 @@ +