forked from WilldooIT/Pentaho-Odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Richard deMeester
committed
Feb 15, 2016
1 parent
f51ac6f
commit 67ead14
Showing
53 changed files
with
722 additions
and
954 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
File renamed without changes.
File renamed without changes.
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,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<odoo> | ||
<data noupdate="1"> <!-- 'noupdate' means existing data is *not* overwritten when module is updated. Don't update because users may have modified the scheduled interval etc. --> | ||
<!-- Add Scheduler --> | ||
<record id="ir_cron_scheduled_rpts" model="ir.cron"> | ||
<field name="name">Report Email Scheduler</field> | ||
<field eval="True" name="active" /> | ||
<field name="user_id" ref="base.user_root"/> | ||
<field name="interval_number">1</field> | ||
<field name="interval_type">days</field> | ||
<field name="nextcall">2000-01-01 00:00:00</field> | ||
<field name="numbercall">-1</field> | ||
<field eval="False" name="doall" /> | ||
<field name="model">ir.actions.report.scheduler</field> | ||
<field name="function">run_report_email_scheduler</field> | ||
<field name="args">([''])</field> | ||
<field name="priority">10</field> | ||
</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,63 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
<record id="view_sched_form" model="ir.ui.view"> | ||
<field name="name">view.sched.form</field> | ||
<field name="model">ir.actions.report.scheduler</field> | ||
<field name="arch" type="xml"> | ||
<form string="Report Scheduler"> | ||
<header> | ||
<button name="button_run_now" string="Run Now" type="object" icon="STOCK_GO_FORWARD"/> | ||
</header> | ||
<sheet> | ||
<div class="oe_title"> | ||
<label for="name" class="oe_edit_only"/> | ||
<h1><field name="name"/></h1> | ||
</div> | ||
<group> | ||
<field name='action_type'/> | ||
</group> | ||
<notebook> | ||
<page string='Description'> | ||
<field name="description" nolabel='1'/> | ||
</page> | ||
<page string='Reports'> | ||
<field name="line_ids" nolabel="1" colspan="4"> | ||
<tree string='Reports' editable='bottom'> | ||
<field name='sequence' widget='handle'/> | ||
<field name='report_id'/> | ||
<field name='model'/> | ||
</tree> | ||
</field> | ||
</page> | ||
<page string='Users'> | ||
<field name="user_list" nolabel="1" colspan="4"/> | ||
</page> | ||
</notebook> | ||
</sheet> | ||
</form> | ||
</field> | ||
</record> | ||
|
||
<record id="view_sched_tree" model="ir.ui.view"> | ||
<field name="name">view.sched.tree</field> | ||
<field name="model">ir.actions.report.scheduler</field> | ||
<field name="arch" type="xml"> | ||
<tree string="Report Scheduler" version="7.0"> | ||
<field name="name"/> | ||
<button name="button_run_now" string="Run Now" type="object" icon="STOCK_GO_FORWARD"/> | ||
</tree> | ||
</field> | ||
</record> | ||
|
||
<record id="action_sched_form" model="ir.actions.act_window"> | ||
<field name="name">Report Scheduler</field> | ||
<field name="res_model">ir.actions.report.scheduler</field> | ||
<field name="view_type">form</field> | ||
<field name="view_mode">tree,form</field> | ||
<field name='view_id' ref='view_sched_tree'/> | ||
</record> | ||
|
||
<menuitem id="menu_sched_form" action="action_sched_form" parent="base.menu_automation" sequence="50"/> | ||
</data> | ||
</odoo> |
File renamed without changes.
File renamed without changes.
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
3 changes: 2 additions & 1 deletion
3
...ort_scheduler_selection_sets/scheduler.py → ...ort_scheduler_selection_sets/scheduler.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
15 changes: 15 additions & 0 deletions
15
odoo_addon/pentaho_report_scheduler_selection_sets/scheduler_view.xml
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> | ||
<record id="view_sched_form_sel_sets" model="ir.ui.view"> | ||
<field name="name">view.sched.form.sel.sets</field> | ||
<field name='inherit_id' ref='pentaho_report_scheduler.view_sched_form'/> | ||
<field name="model">ir.actions.report.scheduler</field> | ||
<field name="arch" type="xml"> | ||
<field name='model' position='after'> | ||
<field name='selectionset_id'/> | ||
</field> | ||
</field> | ||
</record> | ||
</data> | ||
</odoo> |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.