Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion account_statement_import_file/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"name": "Import Statement Files",
"category": "Accounting",
"version": "19.0.1.0.0",
"version": "19.0.1.1.0",
"license": "LGPL-3",
"depends": ["account_statement_import_base"],
"author": "Odoo SA, Akretion, Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ def _create_bank_statements(self, stmts_vals, result):
context = st_vals.pop("creation_context", {})
# Create the statement with lines
st_vals["line_ids"] = [[0, False, line] for line in st_lines_to_create]
# Skip the Enterprise synchronous PDF render on create, too heavy
# for large imports (no-op if account_accountant is not installed).
context["skip_pdf_attachment_generation"] = True
statement = abs_obj.with_context(**context).create(st_vals)
statement_ids.append(statement.id)

Expand Down
Loading