Browse Source

[IMP] Add new field 'Place of Issuance'

pull/255/head
Laurent Mignon (ACSONE) 9 years ago
parent
commit
13194576fe
  1. 2
      partner_identification/README.rst
  2. 1
      partner_identification/models/res_partner_id_number.py
  3. 1
      partner_identification/views/res_partner_id_number_view.xml

2
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:

1
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")

1
partner_identification/views/res_partner_id_number_view.xml

@ -13,6 +13,7 @@
<field name="name" />
<field name="partner_issued_id" />
<field name="date_issued" />
<field name="place_issuance" />
<field name="valid_from" />
<field name="valid_until" />
<field name="status" />

Loading…
Cancel
Save