-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TA#57414 [ADD] event_allowed_ceu : new module (#830)
- Loading branch information
1 parent
bc8bf76
commit 07e3f60
Showing
9 changed files
with
103 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,9 @@ | ||
Event Allowed CEU | ||
================= | ||
This module adds Continuing Education Units field on event. | ||
|
||
.. image:: static/description/ceu_field.png | ||
|
||
Contributors | ||
------------ | ||
* Numigi (tm) and all its contributors (https://bit.ly/numigiens) |
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 @@ | ||
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
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,18 @@ | ||
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Event Allowed CEU", | ||
"version": "1.0.0", | ||
"author": "Numigi", | ||
"maintainer": "Numigi", | ||
"website": "https://bit.ly/numigi-com", | ||
"license": "AGPL-3", | ||
"category": "Other", | ||
"depends": ["event"], | ||
"summary": "Add Continuing Education Units field on event.", | ||
"data": [ | ||
"views/event_event_views.xml", | ||
], | ||
"installable": 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,42 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * event_allowed_ceu | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-10-17 06:32+0000\n" | ||
"PO-Revision-Date: 2023-10-17 06:32+0000\n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: event_allowed_ceu | ||
#: model:ir.model.fields,field_description:event_allowed_ceu.field_event_event__event_allowed_ceu | ||
#: model_terms:ir.ui.view,arch_db:event_allowed_ceu.view_event_form_ceu_inherited | ||
msgid "Continuing Education Units (CEU)" | ||
msgstr "Unités de formation continue (CEU)" | ||
|
||
#. module: event_allowed_ceu | ||
#: model:ir.model.fields,field_description:event_allowed_ceu.field_event_event__display_name | ||
msgid "Display Name" | ||
msgstr "Nom d'affichage" | ||
|
||
#. module: event_allowed_ceu | ||
#: model:ir.model,name:event_allowed_ceu.model_event_event | ||
msgid "Event" | ||
msgstr "Événement" | ||
|
||
#. module: event_allowed_ceu | ||
#: model:ir.model.fields,field_description:event_allowed_ceu.field_event_event__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: event_allowed_ceu | ||
#: model:ir.model.fields,field_description:event_allowed_ceu.field_event_event____last_update | ||
msgid "Last Modified on" | ||
msgstr "Dernière modification le" |
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 @@ | ||
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import event_event |
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 @@ | ||
# © 2023 Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class EventEvent(models.Model): | ||
_inherit = "event.event" | ||
|
||
event_allowed_ceu = fields.Text( | ||
"Continuing Education Units (CEU)" | ||
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,14 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo> | ||
<record model="ir.ui.view" id="view_event_form_ceu_inherited"> | ||
<field name="name"> event.event.form.ceu.inherited</field> | ||
<field name="model">event.event</field> | ||
<field name="inherit_id" ref="event.view_event_form" /> | ||
<field name="arch" type="xml"> | ||
<field name="auto_confirm" position="after"> | ||
<field name="event_allowed_ceu" string="Continuing Education Units (CEU)"/> | ||
</field> | ||
</field> | ||
</record> | ||
|
||
</odoo> |