Browse Source
[IMP] add cron for deleting temporary report, improve view and fix period creation
pull/189/head
[IMP] add cron for deleting temporary report, improve view and fix period creation
pull/189/head
Sébastien BEAU
9 years ago
4 changed files with 35 additions and 14 deletions
-
1mis_builder/__openerp__.py
-
18mis_builder/datas/ir_cron.xml
-
13mis_builder/models/mis_builder.py
-
17mis_builder/views/mis_builder.xml
@ -0,0 +1,18 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<openerp> |
||||
|
<data noupdate="1"> |
||||
|
|
||||
|
<record id="ir_cron_crm_action" model="ir.cron"> |
||||
|
<field name="name">Vaccum temporary report</field> |
||||
|
<field name="interval_number">4</field> |
||||
|
<field name="interval_type">hours</field> |
||||
|
<field name="numbercall">-1</field> |
||||
|
<field eval="False" name="doall"/> |
||||
|
<field eval="'mis.report.instance'" name="model"/> |
||||
|
<field eval="'_vacuum_report'" name="function"/> |
||||
|
<field eval="'(24,)'" name="args"/> |
||||
|
<field name="active" eval="True" /> |
||||
|
</record> |
||||
|
|
||||
|
</data> |
||||
|
</openerp> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue