Andrea
6 years ago
19 changed files with 155 additions and 188 deletions
-
10date_range/README.rst
-
1date_range/__init__.py
-
9date_range/__manifest__.py
-
9date_range/migrations/11.0.2.0.0/noupdate_changes.xml
-
3date_range/migrations/11.0.2.0.0/openupgrade_analysis.txt
-
4date_range/migrations/11.0.2.0.0/openupgrade_analysis_work.txt
-
11date_range/migrations/11.0.2.0.0/post-migration.py
-
1date_range/models/__init__.py
-
14date_range/models/date_range.py
-
14date_range/models/date_range_type.py
-
1date_range/readme/CONTRIBUTORS.rst
-
2date_range/readme/INSTALL.rst
-
18date_range/static/src/js/date_range.js
-
1date_range/tests/__init__.py
-
10date_range/tests/test_date_range.py
-
13date_range/tests/test_date_range_generator.py
-
7date_range/tests/test_date_range_type.py
-
1date_range/wizard/__init__.py
-
22date_range/wizard/date_range_generator.py
@ -1,4 +1,3 @@ |
|||
# © 2016 ACSONE SA/NV (<http://acsone.eu>) |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
|
|||
from . import models |
|||
|
@ -1,9 +0,0 @@ |
|||
<?xml version='1.0' encoding='utf-8'?> |
|||
<odoo> |
|||
<record id="date_range_type_comp_rule" model="ir.rule"> |
|||
<field name="domain_force"> ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)]</field> |
|||
</record> |
|||
<record id="date_range_comp_rule" model="ir.rule"> |
|||
<field name="domain_force"> ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)]</field> |
|||
</record> |
|||
</odoo> |
@ -1,3 +0,0 @@ |
|||
---Fields in module 'date_range'--- |
|||
---XML records in module 'date_range'--- |
|||
NEW ir.rule: date_range.date_range_generator_comp_rule (noupdate) |
@ -1,4 +0,0 @@ |
|||
---Fields in module 'date_range'--- |
|||
---XML records in module 'date_range'--- |
|||
NEW ir.rule: date_range.date_range_generator_comp_rule (noupdate) |
|||
# NOTHING TO DO |
@ -1,11 +0,0 @@ |
|||
# Copyright 2017 Eficent <http://www.eficent.com> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from openupgradelib import openupgrade |
|||
|
|||
|
|||
@openupgrade.migrate() |
|||
def migrate(env, version): |
|||
openupgrade.load_data( |
|||
env.cr, 'date_range', 'migrations/11.0.2.0.0/noupdate_changes.xml', |
|||
) |
@ -1,4 +1,3 @@ |
|||
# © 2016 ACSONE SA/NV (<http://acsone.eu>) |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
|
|||
from . import date_range_type |
|||
|
@ -1,3 +1,4 @@ |
|||
* Laurent Mignon <laurent.mignon@acsone.eu> |
|||
* Alexis de Lattre <alexis.delattre@akretion.com> |
|||
* Miquel Raïch <miquel.raich@eficent.com> |
|||
* Andrea Stirpe <a.stirpe@onestein.nl> |
@ -1,3 +1 @@ |
|||
The addon use the daterange method from postgres. This method is supported as of postgresql 9.2 |
|||
|
|||
|
@ -1,4 +1,3 @@ |
|||
# © 2016 ACSONE SA/NV (<http://acsone.eu>) |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
|
|||
from . import date_range_generator |
Write
Preview
Loading…
Cancel
Save
Reference in new issue