| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-switzerland |
| GIT | |
| GIT | https://github.com/OCA/l10n-switzerland.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-switzerland/tree/10.0/l10n_ch_import_cresus |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp, Open Net Sàrl |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp, Open Net Sàrl |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, Akim Juillerat, OCA Transbot, oca-travis, Weblate |
| WEBSITE | |
| WEBSITE | https://odoo-community.org/ |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:20:04 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account_accountant - account - base_setup - base - web_kanban - web - product - decimal_precision - bus - web_tour - report - analytic - web_planner |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cresus_move_line_importer_form |
cresus move line importer | account.cresus.import | form | New |
view_tax_form |
account.cresus.mapping.form | account.tax | xpath | Inherits account.view_tax_form |
view_tax_tree |
account.tax.tree | account.tax | xpath | Inherits account.view_tax_tree |
company_id
Many2one → res.company
invisible=True
args: 'res.company', 'Company'
file
Binary
required=True
args: 'File'
imported_move_ids
Many2many → account.move
string='Imported moves'
args: 'account.move', 'import_cresus_move_rel'
journal_id
Many2one → account.journal
required=True
args: 'account.journal', 'Journal'
report
Text
readonly=True
args: 'Report'
state
Selection
default='draft'
readonly=True
selection=[('draft', 'Draft'), ('done', 'Done'), ('error', 'Error')]
import_file(self)
prepare_line(self, name, debit_amount, credit_amount, account_code, cresus_tax_code, analytic_account_code, tax_ids)
prepare_move(self, lines, date, ref, journal_id)
tax_cresus_mapping
Char
string='Crésus tax name'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-switzerland |
| GIT | |
| GIT | https://github.com/OCA/l10n-switzerland.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-switzerland/tree/9.0/l10n_ch_import_cresus |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp, Open Net Sàrl |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp, Open Net Sàrl |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, Louis Bettens |
| WEBSITE | |
| WEBSITE | https://odoo-community.org/ |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:15:25 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account_accountant - account - base_setup - base - web_kanban - web - product - decimal_precision - bus - report - analytic - web_tip - web_planner |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cresus_move_line_importer_form |
cresus move line importer | account.cresus.import | form | New |
view_tax_form |
account.cresus.mapping.form | account.tax | xpath | Inherits account.view_tax_form |
view_tax_tree |
account.tax.tree | account.tax | xpath | Inherits account.view_tax_tree |
company_id
Many2one → res.company
invisible=True
args: 'res.company', 'Company'
file
Binary
required=True
args: 'File'
imported_move_ids
Many2many → account.move
string='Imported moves'
args: 'account.move', 'import_cresus_move_rel'
journal_id
Many2one → account.journal
required=True
args: 'account.journal', 'Journal'
report
Text
readonly=True
args: 'Report'
state
Selection
default='draft'
readonly=True
selection=[('draft', 'Draft'), ('done', 'Done'), ('error', 'Error')]
import_file(self)
prepare_line(self, name, debit_amount, credit_amount, account_code, cresus_tax_code, analytic_account_code, tax_ids)
prepare_move(self, lines, date, ref, journal_id)
tax_cresus_mapping
Char
string='Crésus tax name'
No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-switzerland |
| GIT | |
| GIT | https://github.com/OCA/l10n-switzerland.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-switzerland/tree/8.0/l10n_ch_import_cresus |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, Yannick Vaucher, Joël Grand-Guillaume, GitHub, Stéphane Bidoul (ACSONE), OCA Transbot, vrenaville, oca-travis, Weblate, OCA-git-bot |
| WEBSITE | |
| WEBSITE | http://www.camptocamp.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:11:28 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web_kanban - web - product - decimal_precision - report - analytic - board - edi - email_template |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
cresus_move_line_importer_form |
cresus move line importer | account.cresus.import | form | New |
view_tax_form |
account.cresus.mapping.form | account.tax | group | Inherits account.view_tax_form |
view_tax_tree |
account.tax.tree | account.tax | field | Inherits account.view_tax_tree |
company_id
Many2one → res.company
invisible=True
args: 'res.company', 'Company'
file
Binary
required=True
args: 'File'
help_html
Html
default=_("\n In order to import your 'Cresus Salaires' .txt file you must complete the following requirements : </br>\n * The accounts, analytical accounts used in the Cresus file must be previously created into Odoo </br>\n * The date of the entry will determine the period used in Odoo, so please ensure the period is created already. </br>\n * If the Cresus file uses VAT codes (i.e: IPI), please make sure you have indicated this code in the related Odoo tax (new field). Warning, the Odoo tax must be 'tax included'. If the tax does not exist you have to create it. </br>\n * All PL accounts must have a deferral method = 'none' (meaning: no balance brought forward in the new fiscal year) and all\n Balance sheet account must have a deferral method = 'balance'. </br>")
readonly=True
args: 'Import help'
imported_move_ids
Many2many → account.move
string='Imported moves'
args: 'account.move', 'import_cresus_move_rel'
journal_id
Many2one → account.journal
required=True
args: 'account.journal', 'Journal'
period_id
Many2one → account.period
required=True
args: 'account.period', 'Period'
report
Text
readonly=True
args: 'Report'
state
Char
default='draft'
readonly=True
sting='Import stateReport'
format_messages(self, messages)
import_file(self)
open_account_moves(self)
tax_cresus_mapping
Char
size=128
string='Cresus tax name'
No public methods.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/l10n-switzerland |
| PULL REQUEST | |
| PULL REQUEST | [16.0][MIG] l10n_ch_import_cresus (#746) |