Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [IMP]:#5816:openeducat:xml,demo data: udpate demo data to have dates dynamic around current dates and to have data in the dashboard * [IMP]:#5816:openeducat:xml,demo data: udpate demo data to have dates dynamic around current dates and to have data in the dashboard * [FIX]:#5817:openeducat:xml,demo data: fix the date by giving relativedelta in addition of months and dates to generate it dynamicaly * [FIX] Fix for the pep8 and flake8 and pylint issues * [FIX] change the version with prefix 9.0 and set license in openerp
- Loading branch information
1 parent
75dff8c
commit dd79b3f
Showing
461 changed files
with
6,232 additions
and
2,611 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
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
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
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,39 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
|
||
<record id="op_achievement_1" model="op.achievement"> | ||
<field name="description">Got first rank in paper presentation at | ||
tech first. | ||
</field> | ||
<field name="achievement_date" | ||
eval="(DateTime.today() - relativedelta(months=2)).strftime('%Y-%m-14 %H:%M')" /> | ||
<field name="faculty_id" ref="openeducat_core.op_faculty_6" /> | ||
<field name="student_id" ref="openeducat_core.op_student_1" /> | ||
<field name="achievement_type" ref="op_achievement_type_2" /> | ||
</record> | ||
|
||
<record id="op_achievement_2" model="op.achievement"> | ||
<field name="description">Got gold medal in national level | ||
competition. | ||
</field> | ||
<field name="achievement_date" | ||
eval="(DateTime.today() - relativedelta(months=3)).strftime('%Y-%m-22 %H:%M')" /> | ||
<field name="faculty_id" ref="openeducat_core.op_faculty_1" /> | ||
<field name="student_id" ref="openeducat_core.op_student_6" /> | ||
<field name="achievement_type" ref="op_achievement_type_1" /> | ||
</record> | ||
|
||
<record id="op_achievement_3" model="op.achievement"> | ||
<field name="description">Got first rank in code master at tech | ||
first. | ||
</field> | ||
<field name="achievement_date" | ||
eval="(DateTime.today() - relativedelta(months=10)).strftime('%Y-%m-03 %H:%M')" /> | ||
<field name="faculty_id" ref="openeducat_core.op_faculty_3" /> | ||
<field name="student_id" ref="openeducat_core.op_student_20" /> | ||
<field name="achievement_type" ref="op_achievement_type_2" /> | ||
</record> | ||
|
||
</data> | ||
</odoo> |
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,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
|
||
<record id="op_achievement_type_1" model="op.achievement.type"> | ||
<field name="name">Gold Medal</field> | ||
<field name="code">gm</field> | ||
</record> | ||
<record id="op_achievement_type_2" model="op.achievement.type"> | ||
<field name="name">First Rank in National Level Event</field> | ||
<field name="code">nle</field> | ||
</record> | ||
|
||
</data> | ||
</odoo> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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 |
---|---|---|
|
@@ -21,6 +21,3 @@ | |
|
||
from . import models | ||
from . import wizard | ||
|
||
|
||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
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
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
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,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
|
||
<record id="op_activity_1" model="op.activity"> | ||
<field name="description">Migrated in higher standard</field> | ||
<field name="date" | ||
eval="(DateTime.today() - relativedelta(months=1)).strftime('%Y-%m-14 %H:%M')" /> | ||
<field name="faculty_id" ref="openeducat_core.op_faculty_1" /> | ||
<field name="student_id" ref="openeducat_core.op_student_1" /> | ||
<field name="type_id" ref="op_activity_type_1" /> | ||
</record> | ||
|
||
<record id="op_activity_2" model="op.activity"> | ||
<field name="description">Reached 1 hour late</field> | ||
<field name="date" | ||
eval="(DateTime.today() - relativedelta(months=1)).strftime('%Y-%m-12 %H:%M')" /> | ||
<field name="faculty_id" ref="openeducat_core.op_faculty_2" /> | ||
<field name="student_id" ref="openeducat_core.op_student_2" /> | ||
<field name="type_id" ref="op_activity_type_2" /> | ||
</record> | ||
|
||
</data> | ||
</odoo> |
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> | ||
<data noupdate="1"> | ||
<record id="op_activity_type_1" model="op.activity.type"> | ||
<field name="name">Migration</field> | ||
</record> | ||
<record id="op_activity_type_2" model="op.activity.type"> | ||
<field name="name">Late Application</field> | ||
</record> | ||
<record id="op_activity_type_3" model="op.activity.type"> | ||
<field name="name">Misbehaviour</field> | ||
</record> | ||
</data> | ||
</odoo> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.