TIP: You can type at any time to perform a new search.
Account Export CSV
account_export_csv · OCA/account-financial-reporting
Security findings
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_csv_export SET data = %s WHERE id = %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/account-financial-reporting · module folder · Try on Runboat
- Module version
- 1.2.1
- Category
- Uncategorized
- Folder size
- 0.1 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-financial-reporting
- Last tracking update
- 2026-08-07 07:31:49
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza, David Beal, sergiocorato, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Code Analysis
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_csv_export_view |
Accounting Entries CSV Export | account.csv.export | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (7)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>invisible=Truestring='Company' -
dataBinaryreadonly=True args: 'CSV' -
date_endDaterequired=True -
date_range_idMany2one → date.rangecomodel_name='date.range'string='Date range' -
date_startDaterequired=True -
export_filenameChardefault='account_export.csv'size=128string='Export CSV Filename' -
journal_idsMany2many → account.journalcomodel_name='account.journal'default=<expr>help='If empty, use all journals, only used for journal entries'string='Journals'
-
action_manual_export_account(self) -
action_manual_export_analytic(self) -
action_manual_export_journal_entries(self)Here we use TemporaryFile to avoid full filling the Odoo worker Memory We also write the data to the wizard with SQL query as write seems to use too much memory as well. Those improvements permitted to improve the export from a 100k line to 200k lines with default `limit_memory_hard = 805306368` (768MB) with more lines, you might encounter a MemoryError when trying to download the file even if it has been generated. To be able to export bigger volume of data, it is advised to set limit_memory_hard to 2097152000 (2 GB) to generate the file and let Odoo load it in the wizard when trying to download it. Tested with up to a generation of 700k entry lines
Loading…
Loading…
Loading…
Loading…