mirror of
https://github.com/bringout/oca-ocb-technical.git
synced 2026-04-24 08:12:07 +02:00
19.0 vanilla
This commit is contained in:
parent
5faf7397c5
commit
2696f14ed7
721 changed files with 220375 additions and 91221 deletions
|
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
|
@ -61,12 +60,12 @@ class TestResPartner(TransactionCase):
|
|||
'perm_read': True,
|
||||
'perm_create': False,
|
||||
'perm_write': False})
|
||||
|
||||
Event.create({'name': 'event_9',
|
||||
# create generally requires read -> prevented by above test rule
|
||||
Event.sudo().create({'name': 'event_9',
|
||||
'partner_ids': [(6, 0, [test_partner_2.id,
|
||||
test_partner_3.id])]})
|
||||
|
||||
Event.create({'name': 'event_10',
|
||||
Event.sudo().create({'name': 'event_10',
|
||||
'partner_ids': [(6, 0, [test_partner_5.id])]})
|
||||
|
||||
self.assertEqual(test_partner_1.meeting_count, 7)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue