Repository
OCA/account-financial-tools · module folder · Try on Runboat
Module version
0.1.2
Category
Accounting
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.camptocamp.com
Last tracking update
2026-08-07 07:17:46
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp
Committers
Pedro M. Baeza
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows you to import moves / move lines via CSV asynchronously.

You can access model in the journal entries menu -> Moves/ Move lines importer.
User must be an account manger.

To import a CSV simply save an UTF8 CSV file in the "file" field.
Then you can choose a CSV separator.

If volumetry is important you can tick "Fast import" check box.
When enabled import will be faster but it will not use orm and may
not support all CSV canvas.

- Entry posted option of journal will be skipped.
- AA lines will only be created when moves are posted.
- Tax lines computation will be skipped until the move are posted.

This option should be used with caution and preferably in conjunction with
provided canvas in tests/data

Then simply press import file button. The process will be run in background
and you will be able to continue your work.

When the import is finished you will received a notification and an
import report will be available on the record

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
move_line_importer_form move line importer form move.line.importer form New
move_line_importer_tree move line importer tree move.line.importer tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • create(self, cr, uid, vals, context=None)
    Please refer to orm.BaseModel.create documentation

New fields (0)

No new fields.

Public methods (1)
  • create(self, cr, uid, vals, context=None)
    Please refer to orm.BaseModel.create documentation

New fields (0)

No new fields.

Public methods (5)
  • copy(self, cr, uid, id, default=None, context=None)
  • format_messages(self, messages)
    Format error messages generated by the BaseModel.load method :param messages: return of BaseModel.load messages key :returns: formatted string
  • import_file(self, cr, uid, imp_id, context=None)
    Will do an asynchronous load of a CSV file. Will generate an success/failure report and generate some maile threads. It uses BaseModel.load to lookup CSV. If you set bypass_orm to True then the load function will use a totally overridden create function that is a lot faster but that totally bypass the ORM
  • track_error(sef, cr, uid, obj, context=None)
    Used by mail subtype
  • track_success(sef, cr, uid, obj, context=None)
    Used by mail subtype

Loading…

Loading…

Loading…