base contact: add sequence_partner field on job

bzr revid: mra@tinyerp.com-20080916101945-r3np9ia9gx9ec4t1
This commit is contained in:
Mustufa Rangwala
2008-09-16 15:49:45 +05:30
parent 1a91fbe7d3
commit 28b053ebd1
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -111,6 +111,7 @@ class res_partner_job(osv.osv):
'contact_id':fields.many2one('res.partner.contact','Contact', required=True),
'function_id': fields.many2one('res.partner.function','Function', required=True),
'sequence_contact':fields.integer('Sequence (Contact)',help='order of importance of this address in the list of addresses of the linked contact'),
'sequence_partner':fields.integer('Sequence (Partner)',help='order of importance of this function in the list of functions of the linked partner'),
'email': fields.char('E-Mail', size=240),
'phone': fields.char('Phone', size=64),
}
@@ -112,12 +112,14 @@
<newline/>
<field name="job_ids" mode="tree, form" colspan="4">
<tree string="Contacts" editable="top">
<field name="sequence_partner"/>
<field name="contact_id"/>
<field name="function_id"/>
<field name="phone"/>
<field name="email"/>
</tree>
<form string="Contacts">
<field name="sequence_partner"/>
<field name="contact_id"/>
<field name="function_id"/>
<field name="phone"/>
@@ -277,6 +279,7 @@
<field name="email" select="2"/>
<field name="phone" select="2"/>
<field name="sequence_contact" select="2"/>
<field name="sequence_partner" select="2"/>
</page>
</notebook>
</form>