|
|
@ -3,12 +3,14 @@ |
|
|
|
|
|
|
|
<record model="ir.cron" id="account_analytic_cron_for_invoice"> |
|
|
|
<field name="name">Generate Recurring Invoices from Contracts</field> |
|
|
|
<field name="model_id" ref="analytic.model_account_analytic_account"/> |
|
|
|
<field name="state">code</field> |
|
|
|
<field name="code">model.cron_recurring_create_invoice()</field> |
|
|
|
<field name="user_id" ref="base.user_root" /> |
|
|
|
<field name="interval_number">1</field> |
|
|
|
<field name="interval_type">days</field> |
|
|
|
<field name="numbercall">-1</field> |
|
|
|
<field name="model" eval="'account.analytic.account'"/> |
|
|
|
<field name="function" eval="'cron_recurring_create_invoice'"/> |
|
|
|
<field name="args" eval="'()'"/> |
|
|
|
<field eval="False" name="doall" /> |
|
|
|
</record> |
|
|
|
|
|
|
|
</odoo> |