File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,6 +68,15 @@ Contributors
6868
6969- Arnaud Pineux (ACSONE SA/NV) authored the initial prototype.
7070- Guewen Baconnier (Camptocamp)
71+ - Stéphane Mangin (ACSONE SA/NV)
72+
73+ Other credits
74+ -------------
75+
76+ The migration of this module from 16.0 to 17.0 was financially supported
77+ by:
78+
79+ - ACSONE SA/NV (https://www.acsone.eu/)
7180
7281Maintainers
7382-----------
Original file line number Diff line number Diff line change 44{
55 "name" : "Base Export Async" ,
66 "summary" : "Asynchronous export with job queue" ,
7- "version" : "16 .0.1.2 .0" ,
7+ "version" : "17 .0.1.0 .0" ,
88 "license" : "AGPL-3" ,
99 "author" : "ACSONE SA/NV, Odoo Community Association (OCA)" ,
1010 "website" : "https://github.com/OCA/queue" ,
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<odoo noupdate =" 1" >
3- <record id =" attachment_ttl" model =" ir.config_parameter" >
4- <field name =" key" >attachment.ttl</field >
5- <field name =" value" >7</field >
6- </record >
3+ <record id =" attachment_ttl" model =" ir.config_parameter" >
4+ <field name =" key" >attachment.ttl</field >
5+ <field name =" value" >7</field >
6+ </record >
77</odoo >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<odoo >
3- <record id =" to_delete_attachment" model =" ir.cron" >
4- <field name =" name" >Delete Generated Exports</field >
5- <field name =" model_id" ref =" model_delay_export" />
6- <field name =" state" >code</field >
7- <field name =" code" >model.cron_delete()</field >
8- <field name =' interval_number' >1</field >
9- <field name =' interval_type' >days</field >
10- <field name =" numbercall" >-1</field >
11- </record >
3+ <record id =" to_delete_attachment" model =" ir.cron" >
4+ <field name =" name" >Delete Generated Exports</field >
5+ <field name =" model_id" ref =" model_delay_export" />
6+ <field name =" state" >code</field >
7+ <field name =" code" >model.cron_delete()</field >
8+ <field name =' interval_number' >1</field >
9+ <field name =' interval_type' >days</field >
10+ <field name =" numbercall" >-1</field >
11+ </record >
1212</odoo >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<odoo noupdate =" 1" >
3- <record id =" delay_export_mail_template" model =" mail.template" >
4- <field name =" name" >Delay Export</field >
5- <field
6- name =" subject"
7- >Export {{ object.model_description }} {{ datetime.date.today() }}</field >
8- <field name =" model_id" ref =" base_export_async.model_delay_export" />
9- <field name =" auto_delete" eval =" True" />
10- <field name =" body_html" type =" html" >
11- <p >Your export is available <a
12- t-attf-href =" {{ object.url }}"
13- target =" _blank"
14- >here</a >.</p >
15- <p >It will be automatically deleted the <t
16- t-out =" object.expiration_date"
17- />.</p >
18- <br />
19- <p >
20- <span
21- style =" color: #808080;"
22- >This is an automated message please do not reply.</span >
23- </p >
24- </field >
25- </record >
3+ <record id =" delay_export_mail_template" model =" mail.template" >
4+ <field name =" name" >Delay Export</field >
5+ <field
6+ name =" subject"
7+ >Export {{ object.model_description }} {{ datetime.date.today() }}</field >
8+ <field name =" model_id" ref =" base_export_async.model_delay_export" />
9+ <field name =" auto_delete" eval =" True" />
10+ <field name =" body_html" type =" html" >
11+ <p >Your export is available <a
12+ t-attf-href =" {{ object.url }}"
13+ target =" _blank"
14+ >here</a >.</p >
15+ <p >It will be automatically deleted the <t t-out =" object.expiration_date" />.</p >
16+ <br />
17+ <p >
18+ <span
19+ style =" color: #808080;"
20+ >This is an automated message please do not reply.</span >
21+ </p >
22+ </field >
23+ </record >
2624</odoo >
Original file line number Diff line number Diff line change 11- Arnaud Pineux (ACSONE SA/NV) authored the initial prototype.
22- Guewen Baconnier (Camptocamp)
3+ - Stéphane Mangin (ACSONE SA/NV)
Original file line number Diff line number Diff line change 1+ The migration of this module from 16.0 to 17.0 was financially supported by:
2+
3+ - ACSONE SA/NV (< https://www.acsone.eu/ > )
Original file line number Diff line number Diff line change 1- Standard Export can be delayed in asynchronous jobs executed in the
2- background and then send by email to the user.
1+ Standard Export can be delayed in asynchronous jobs executed in the background and then
2+ send by email to the user.
Original file line number Diff line number Diff line change 1- The user is presented with a new checkbox "Asynchronous export" in the
2- export screen. When selected, the export is delayed in a background job.
1+ The user is presented with a new checkbox "Asynchronous export" in the export screen.
2+ When selected, the export is delayed in a background job.
33
4- The .csv or .xls file generated by the export will be sent by email to
5- the user who execute the export.
4+ The .csv or .xls file generated by the export will be sent by email to the user who
5+ execute the export.
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<odoo noupdate =" 1" >
3- <record id =" delay_export_user_only" model =" ir.rule" >
4- <field name =" name" >Only user can read delay.export</field >
5- <field name =" model_id" ref =" model_delay_export" />
6- <field name =" groups" eval =" [(4, ref('base.group_user'))]" />
7- <field name =" perm_read" eval =" True" />
8- <field name =" perm_create" eval =" False" />
9- <field name =" perm_write" eval =" False" />
10- <field name =" perm_unlink" eval =" False" />
11- <field name =" domain_force" >[('user_ids', 'in', user.id)]</field >
12- </record >
3+ <record id =" delay_export_user_only" model =" ir.rule" >
4+ <field name =" name" >Only user can read delay.export</field >
5+ <field name =" model_id" ref =" model_delay_export" />
6+ <field name =" groups" eval =" [(4, ref('base.group_user'))]" />
7+ <field name =" perm_read" eval =" True" />
8+ <field name =" perm_create" eval =" False" />
9+ <field name =" perm_write" eval =" False" />
10+ <field name =" perm_unlink" eval =" False" />
11+ <field name =" domain_force" >[('user_ids', 'in', user.id)]</field >
12+ </record >
1313</odoo >
You can’t perform that action at this time.
0 commit comments