mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 00:32:05 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -6,7 +6,7 @@ import datetime
|
|||
from dateutil.relativedelta import relativedelta
|
||||
|
||||
from odoo.addons.event_sale.tests.common import TestEventSaleCommon
|
||||
from odoo.tests.common import Form
|
||||
from odoo.tests import Form
|
||||
|
||||
|
||||
class TestEventSpecific(TestEventSaleCommon):
|
||||
|
|
@ -30,7 +30,6 @@ class TestEventSpecific(TestEventSaleCommon):
|
|||
event_event_form.date_begin = datetime.datetime.now() + relativedelta(days=2)
|
||||
event_event_form.date_end = datetime.datetime.now() + relativedelta(days=3)
|
||||
event_event_form.event_type_id = event_type # Set the template
|
||||
event_event_form.auto_confirm = True
|
||||
# Create second ticket (VIP)
|
||||
with event_event_form.event_ticket_ids.new() as ticket_line:
|
||||
ticket_line.name = 'VIP (Very Important Pastafarian)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue