-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
175dcd8
commit 12e2db3
Showing
14 changed files
with
676 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
============================ | ||
Event Track Speaker Catering | ||
============================ | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:b68a380bf957a04f6f20f29ec5d8d1c62121548ca3853a7735dc98e82229043a | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Faddons-lightgray.png?logo=github | ||
:target: https://github.com/coopiteasy/addons/tree/16.0/event_track_speaker_catering | ||
:alt: coopiteasy/addons | ||
|
||
|badge1| |badge2| |badge3| | ||
|
||
Manage Speaker's Catering | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/addons/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/coopiteasy/addons/issues/new?body=module:%20event_track_speaker_catering%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Coop IT Easy SC | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* `Coop IT Easy SC <https://coopiteasy.be>`_: | ||
|
||
* Victor Champonnois | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
.. |maintainer-victor-champonnois| image:: https://github.com/victor-champonnois.png?size=40px | ||
:target: https://github.com/victor-champonnois | ||
:alt: victor-champonnois | ||
|
||
Current maintainer: | ||
|
||
|maintainer-victor-champonnois| | ||
|
||
This module is part of the `coopiteasy/addons <https://github.com/coopiteasy/addons/tree/16.0/event_track_speaker_catering>`_ project on GitHub. | ||
|
||
You are welcome to contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# SPDX-FileCopyrightText: 2024 Coop IT Easy SC | ||
# | ||
# SPDX-License-Identifier: AGPL-3.0-or-later | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# SPDX-FileCopyrightText: 2024 Coop IT Easy SC | ||
# | ||
# SPDX-License-Identifier: AGPL-3.0-or-later | ||
|
||
{ | ||
"name": "Primevere Event Custom", | ||
"summary": """Primevere Customisation For Event Management""", | ||
"version": "16.0.1.0.0", | ||
"category": "Uncategorized", | ||
"website": "https://github.com/coopiteasy/addons", | ||
"author": "Coop IT Easy SC", | ||
"maintainers": ["victor-champonnois"], | ||
"license": "AGPL-3", | ||
"application": False, | ||
"depends": ["event_track_multi_speaker", | ||
"event_track_multi_date", | ||
"event_speaker_travel", | ||
"event_track_speaker_catering"], | ||
"excludes": [], | ||
"data": [ | ||
"views/event_track_speaker.xml", | ||
"views/event_track.xml", | ||
"views/event_track_speaker_booking.xml", | ||
"views/menuitems.xml", | ||
], | ||
"demo": [], | ||
"qweb": [], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from . import event_track_speaker | ||
from . import event_track | ||
from . import event_speaker_travel_booking | ||
from . import event_speaker_travel_expense |
12 changes: 12 additions & 0 deletions
12
primevere_event_custom/models/event_speaker_travel_booking.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright 2017 David Vidal<[email protected]> | ||
# Copyright 2017 Tecnativa - Pedro M. Baeza | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class EventTravelBooking(models.Model): | ||
_inherit = "event.speaker.travel.booking" | ||
|
||
constraints = fields.Text() | ||
discount_info = fields.Text() |
11 changes: 11 additions & 0 deletions
11
primevere_event_custom/models/event_speaker_travel_expense.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright 2017 David Vidal<[email protected]> | ||
# Copyright 2017 Tecnativa - Pedro M. Baeza | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class EventTravelExpense(models.Model): | ||
_inherit = "event.speaker.travel.expense" | ||
|
||
status = fields.Selection(selection_add=[("to_pay_in_hand", "To Pay In Hand")]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 2017 David Vidal<[email protected]> | ||
# Copyright 2017 Tecnativa - Pedro M. Baeza | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import api, fields, models | ||
from datetime import date, timedelta | ||
|
||
class EventTrack(models.Model): | ||
_inherit = "event.track" | ||
|
||
commission_summary = fields.Text() | ||
information = fields.Text() | ||
contacts = fields.Text() | ||
all_event = fields.Boolean() | ||
# all_event = fields.Boolean(compute="_compute_all_event", store=True) | ||
welcomer_id = fields.Many2one("res.partner", string = "Welcomer") | ||
electricity_watt = fields.Integer() | ||
com_info_speaker_short = fields.Char(size=50) | ||
com_info_speaker_long = fields.Char(size=300) | ||
com_info_event = fields.Char(size=800) | ||
com_info_contacts = fields.Text() | ||
com_info_age = fields.Text() | ||
com_info_note = fields.Text() | ||
|
||
# @api.depends("event_id.date_begin", "event_id.date_end") | ||
# def _compute_all_event(self): | ||
# self.all_event = False | ||
# date_begin = self.event_id.date_begin.to_date() | ||
# date_end = self.event_id.date_end.to_date() | ||
# delta = date_end-date_begin | ||
# if delta.days < 0: | ||
# days = [] | ||
# for n in range(delta.days + 1): | ||
# days.append(date_begin + timedelta(days=n)) | ||
# if days == self.date: | ||
# self.all_event = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2017 David Vidal<[email protected]> | ||
# Copyright 2017 Tecnativa - Pedro M. Baeza | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class EventTrackSpeaker(models.Model): | ||
_inherit = "event.track.speaker" | ||
|
||
curriculum_vitae = fields.Text() | ||
invitation_number = fields.Integer() | ||
invitation_code = fields.Integer() | ||
need_ticket = fields.Boolean() | ||
need_reserved_car_place = fields.Boolean() | ||
slot_wishes = fields.Text() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* `Coop IT Easy SC <https://coopiteasy.be>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Primevere Customisation For Event Management |
Oops, something went wrong.