mreficent
7 years ago
committed by
Pedro M. Baeza
14 changed files with 207 additions and 26 deletions
-
1date_range/README.rst
-
2date_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
-
20date_range/models/date_range.py
-
17date_range/models/date_range_type.py
-
4date_range/security/date_range_security.xml
-
63date_range/tests/test_date_range.py
-
44date_range/tests/test_date_range_generator.py
-
31date_range/tests/test_date_range_type.py
-
22date_range/wizard/date_range_generator.py
@ -0,0 +1,9 @@ |
|||
<?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> |
@ -0,0 +1,3 @@ |
|||
---Fields in module 'date_range'--- |
|||
---XML records in module 'date_range'--- |
|||
NEW ir.rule: date_range.date_range_generator_comp_rule (noupdate) |
@ -0,0 +1,4 @@ |
|||
---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 |
@ -0,0 +1,11 @@ |
|||
# 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', |
|||
) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue