mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 09:32:07 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo noupdate="1">
|
||||
<record id="attachment_ttl" model="ir.config_parameter">
|
||||
<field name="key">attachment.ttl</field>
|
||||
<field name="value">7</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="to_delete_attachment" model="ir.cron">
|
||||
<field name="name">Delete Generated Exports</field>
|
||||
<field name="model_id" ref="model_delay_export" />
|
||||
<field name="state">code</field>
|
||||
<field name="code">model.cron_delete()</field>
|
||||
<field name='interval_number'>1</field>
|
||||
<field name='interval_type'>days</field>
|
||||
<field name="numbercall">-1</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo noupdate="1">
|
||||
<record id="delay_export_mail_template" model="mail.template">
|
||||
<field name="name">Delay Export</field>
|
||||
<field
|
||||
name="subject"
|
||||
>Export {{ object.model_description }} {{ datetime.date.today() }}</field>
|
||||
<field name="model_id" ref="base_export_async.model_delay_export" />
|
||||
<field name="auto_delete" eval="True" />
|
||||
<field name="body_html" type="html">
|
||||
<p>Your export is available <a
|
||||
t-attf-href="{{ object.url }}"
|
||||
target="_blank"
|
||||
>here</a>.</p>
|
||||
<p>It will be automatically deleted the <t
|
||||
t-out="object.expiration_date"
|
||||
/>.</p>
|
||||
<br />
|
||||
<p>
|
||||
<span
|
||||
style="color: #808080;"
|
||||
>This is an automated message please do not reply.</span>
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue