Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
4097418
[ADd] module to import cresus csv files
vrenaville Apr 24, 2015
9768cd4
[FIX] code refactoring + api improvement
vrenaville May 1, 2015
499269f
[FIX] api multi method + view improvement + translation
vrenaville May 1, 2015
e3a1dc3
[FIX] import result issue
vrenaville May 1, 2015
08b36c5
[FIX] loading many2many field
vrenaville May 1, 2015
e33abab
[ADD] README.rst + pep8 cleaning
vrenaville May 1, 2015
2c28181
[FIX] documentation of modules
vrenaville May 1, 2015
a9a89d1
[FIX] pep8 + change update dict
vrenaville May 4, 2015
022ada3
Add Odoo Community Association (OCA) as author
jgrandguillaume May 6, 2015
df16b62
Add bug tracker link on README.rst
yvaucher May 22, 2015
cf10aff
OCA Transbot updated translations from Transifex
oca-transbot Sep 1, 2015
68243fc
OCA Transbot updated translations from Transifex
oca-transbot Sep 27, 2015
f892df0
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
77c3180
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
c9f8c52
[FIX] Use xpath for `...position=*>` in xml
Jul 5, 2016
9366c50
reenable module
Jul 7, 2016
6bfe5f7
remove period_id
Jul 7, 2016
abd3a5b
add an input date format
Jul 7, 2016
ecdedd5
adapt to 9.0 database structure
Jul 7, 2016
db8259b
add support for input multi-line moves
Jul 7, 2016
c299cb5
disable logging
Jul 7, 2016
73c93b0
update readme
Jul 8, 2016
d9fc4b7
update and beautify embedded html help
Jul 11, 2016
ebdeda4
update __openerp__.py
Jul 11, 2016
57d6d7b
make self.state a selection
Jul 11, 2016
1652501
improve UI
Jul 11, 2016
16faa0d
make into a popup
Jul 11, 2016
50f7ac3
remove "view imported moves" and short-circuit
Jul 11, 2016
007ec1a
pep8
Jul 11, 2016
f9213a9
lint
Jul 11, 2016
680d0af
switch to recommended module layout
Jul 12, 2016
e523627
update translations
Jul 12, 2016
605d707
fix condition for previous_pce
Jul 14, 2016
27a0cc0
add unit test
Jul 14, 2016
8f34095
rewrite to use create instead of load
Jul 14, 2016
102b265
add the error popup back
Jul 14, 2016
295b0df
[FIX] Do not set a default partner on move line
vrenaville Oct 19, 2015
2db0c69
lint
Jul 15, 2016
c0b2a26
add a test case for negative amount
Jul 15, 2016
b0f227e
update translation
Jul 15, 2016
07b2d64
add case for yesterday's bug
Jul 15, 2016
a317ca2
let category = 'accounting'
Jul 25, 2016
86b6773
don't break indent
Jul 25, 2016
8d91e93
I give up on the translation
Jul 25, 2016
926e781
unnecessary calls to browse
Jul 25, 2016
fb5d33c
put <footer> at bottom of file
Jul 25, 2016
55866d1
rename helpers
Jul 25, 2016
186c285
update translatable fields
Jul 25, 2016
6e22299
shouldn't have commented out my asserts
Jul 25, 2016
a4a80b1
DRY prepare_{move,line}
Jul 25, 2016
6e2d627
pep8
Jul 25, 2016
6bdebd7
extra pep8
Jul 25, 2016
8f16b3d
use babel for reading numbers
Jul 25, 2016
578b057
use literal list instead of str.split()
Jul 26, 2016
3a060ea
try translating
Jul 26, 2016
0e9b50f
lint+pep8
Jul 26, 2016
e9195c1
depend on account_accountant
Jul 26, 2016
e644f4d
add more translating _
Jul 26, 2016
b570db6
beautify unit test
Jul 26, 2016
a6d9286
update translation
Jul 26, 2016
8c20bfa
remove redundant translations
Jul 26, 2016
fb9ef10
change popup title
Jul 26, 2016
61041ca
remove unused form string
Jul 26, 2016
c31ffa5
update french translation
Jul 26, 2016
ecc1b43
fix problem with exceptions during unit tests
Jul 27, 2016
61b9b06
Remove legacy size limit
Jul 27, 2016
b0309a0
OCA Transbot updated translations from Transifex
oca-transbot Jul 31, 2016
491701d
OCA Transbot updated translations from Transifex
oca-transbot Aug 7, 2016
be11cef
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 26, 2016
f4040d0
OCA Transbot updated translations from Transifex
oca-transbot Sep 17, 2016
ae48d0d
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
27f8283
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
b03316c
[MINOR] add icons to our modules
Sep 29, 2016
d6f2a09
add full test case
Aug 8, 2016
befd60b
improve performance with a simple trick
Aug 9, 2016
9e54863
fill in tax_ids field on main line
Aug 9, 2016
dcd4be4
fix rst and add the Crésus acute accent
Aug 9, 2016
7b5ff2b
update translation
Aug 9, 2016
f52565a
[FIX] access to `self.index` before assignment
Aug 17, 2016
26d507f
remove include_initial_balance test
Aug 19, 2016
0eb4f7c
update instructions
Aug 19, 2016
e452f28
update copyright
Sep 23, 2016
0c0d031
[MIG][10.0] l10n_ch_import_cresus
grindtildeath Aug 10, 2017
0493b3d
OCA Transbot updated translations from Transifex
oca-transbot Oct 8, 2016
8f3478a
OCA Transbot updated translations from Transifex
oca-transbot Dec 2, 2017
8decb37
[UPD] Update l10n_ch_import_cresus.pot
oca-travis Jun 23, 2018
b6c4b22
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
2226781
Translated using Weblate (Italian)
francesco-ooops Jan 18, 2023
3374384
Translated using Weblate (Italian)
mymage Jun 7, 2023
f05c9a3
[IMP] l10n_ch_import_cresus: pre-commit stuff
em230418 Jun 7, 2024
8b6c3af
[MIG] l10n_ch_import_cresus: Migration to 16.0
em230418 Jul 5, 2024
a68ab00
fixup! [MIG] l10n_ch_import_cresus: Migration to 16.0
em230418 May 30, 2025
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
70 changes: 70 additions & 0 deletions l10n_ch_import_cresus/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

=============
Import Cresus
=============

This module add the ability to import CSV file from Cresus software (www.cresus.ch)

Installation
============

Nothing special to install this module. Just click on install in module list.

Configuration
=============

No configuration is required to use this module.

Usage
=====
In order to import your 'Cresus Salaires' .txt file you must complete the following requirements :

* The accounts, analytical accounts used in the Cresus file must be previously created into Odoo.

* If the Cresus file uses VAT codes (i.e: IPI), please make sure you have indicated this code in the related Odoo tax (field : Cresus tax name). Warning, the Odoo tax must be 'tax included'. If the tax does not exist you have to create it.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/125/10.0

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/{project_repo}/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

* Vincent Renaville <[email protected]>
* Louis Bettens <[email protected]>

Do not contact contributors directly about support or help with technical issues.

Maintainer
----------

.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.
6 changes: 6 additions & 0 deletions l10n_ch_import_cresus/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2015 Camptocamp SA
# Copyright 2016 Open Net Sàrl
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import wizard
from . import models
25 changes: 25 additions & 0 deletions l10n_ch_import_cresus/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2015 Camptocamp SA
# Copyright 2016 Open Net Sàrl
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Accounting Import Cresus",
"summary": "Allows to import Crésus .txt files containing journal entries "
"into Odoo.",
"version": "16.0.1.0.0",
"category": "accounting",
"website": "https://github.com/OCA/l10n-switzerland",
"author": "Camptocamp, Open Net Sàrl, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": [
"account",
],
"data": [
"security/ir.model.access.csv",
"wizard/l10n_ch_import_cresus_view.xml",
"views/account_tax_view.xml",
"views/menu.xml",
],
}
193 changes: 193 additions & 0 deletions l10n_ch_import_cresus/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_ch_import_cresus
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-08 10:38+0000\n"
"PO-Revision-Date: 2016-09-08 10:38+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: l10n_ch_import_cresus
#: model:ir.actions.act_window,name:l10n_ch_import_cresus.action_account_cresus_import
#: model:ir.ui.menu,name:l10n_ch_import_cresus.menu_account_cresus_import
msgid "Accounting Cresus Import"
msgstr ""

#. module: l10n_ch_import_cresus
#: code:addons/l10n_ch_import_cresus/wizard/l10n_ch_import_cresus.py:214
#, python-format
msgid "Accounting Crésus Import"
msgstr ""

#. module: l10n_ch_import_cresus
#: code:addons/l10n_ch_import_cresus/wizard/l10n_ch_import_cresus.py:103
#, python-format
msgid ""
"CSV file is malformed\n"
"Please choose the correct separator\n"
"the error detail is:\n"
"%r"
msgstr ""

#. module: l10n_ch_import_cresus
#: code:addons/l10n_ch_import_cresus/wizard/l10n_ch_import_cresus.py:127
#, python-format
msgid "Can't parse date '%s'"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_company_id
msgid "Company"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_create_uid
msgid "Created by"
msgstr "Creado por"

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_create_date
msgid "Created on"
msgstr "Creado en"

#. module: l10n_ch_import_cresus
#: model:ir.ui.view,arch_db:l10n_ch_import_cresus.view_tax_form
msgid "Crésus"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_tax_tax_cresus_mapping
msgid "Crésus tax name"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_display_name
msgid "Display Name"
msgstr ""

#. module: l10n_ch_import_cresus
#: selection:account.cresus.import,state:0
msgid "Done"
msgstr ""

#. module: l10n_ch_import_cresus
#: selection:account.cresus.import,state:0
msgid "Draft"
msgstr ""

#. module: l10n_ch_import_cresus
#: selection:account.cresus.import,state:0
msgid "Error"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model,name:l10n_ch_import_cresus.model_account_cresus_import
msgid "Export Accounting"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_file
msgid "File"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_id
msgid "ID"
msgstr "ID"

#. module: l10n_ch_import_cresus
#: model:ir.ui.view,arch_db:l10n_ch_import_cresus.cresus_move_line_importer_form
msgid ""
"If the Crésus file uses VAT codes (i.e: IPI), please make sure you have "
"indicated this code in the related Odoo tax (field: Crésus tax name). "
"Warning, the Odoo tax must be 'tax included'. If the tax does not exist you "
"have to create it."
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.ui.view,arch_db:l10n_ch_import_cresus.cresus_move_line_importer_form
msgid "Import file"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.ui.view,arch_db:l10n_ch_import_cresus.cresus_move_line_importer_form
msgid "Import help"
msgstr ""

#. module: l10n_ch_import_cresus
#: code:addons/l10n_ch_import_cresus/wizard/l10n_ch_import_cresus.py:224
#, python-format
msgid "Imported Journal Entries"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_imported_move_ids
msgid "Imported moves"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.ui.view,arch_db:l10n_ch_import_cresus.cresus_move_line_importer_form
msgid ""
"In order to import your Crésus file you must complete the following "
"requirements:"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_journal_id
msgid "Journal"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import___last_update
msgid "Last Modified on"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: l10n_ch_import_cresus
#: code:addons/l10n_ch_import_cresus/wizard/l10n_ch_import_cresus.py:64
#, python-format
msgid "No account with code %s"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_report
#: model:ir.ui.view,arch_db:l10n_ch_import_cresus.cresus_move_line_importer_form
msgid "Report"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model.fields,field_description:l10n_ch_import_cresus.field_account_cresus_import_state
msgid "State"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.model,name:l10n_ch_import_cresus.model_account_tax
msgid "Tax"
msgstr ""

#. module: l10n_ch_import_cresus
#: model:ir.ui.view,arch_db:l10n_ch_import_cresus.cresus_move_line_importer_form
msgid ""
"The accounts, analytical accounts used in the Crésus file must be previously "
"created into Odoo."
msgstr ""
Loading
Loading