|
|
@ -15,12 +15,12 @@ class PartnerContactInSeveralCompaniesCase(common.TransactionCase): |
|
|
|
# Get test records reference |
|
|
|
self.main_partner = self.env.ref('base.main_partner') |
|
|
|
self.bob_contact = self.env.ref( |
|
|
|
current_module + 'res_partner_contact1') |
|
|
|
'%s.res_partner_contact1' % current_module) |
|
|
|
self.bob_job1 = self.env.ref( |
|
|
|
current_module + 'res_partner_contact1_work_position1') |
|
|
|
'%s.res_partner_contact1_work_position1' % current_module) |
|
|
|
self.roger_contact = self.env.ref('base.res_partner_main2') |
|
|
|
self.roger_job2 = self.env.ref( |
|
|
|
current_module + 'res_partner_main2_position_consultant') |
|
|
|
'%s.res_partner_main2_position_consultant' % current_module) |
|
|
|
|
|
|
|
def test_00_show_only_standalone_contact(self): |
|
|
|
"""Check that only standalone contact are shown if context |
|
|
|