Skip to content

Commit

Permalink
Merge 69a1c7d into 3033193
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed Jul 18, 2014
2 parents 3033193 + 69a1c7d commit df47131
Show file tree
Hide file tree
Showing 7 changed files with 247 additions and 244 deletions.
9 changes: 4 additions & 5 deletions exportsage50/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
##############################################################################
###############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2013 Gestion-Ressources (<http://www.gestion-ressources.com>).
Expand All @@ -11,13 +11,12 @@
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
###############################################################################

import wizard
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
from . import wizard
95 changes: 43 additions & 52 deletions exportsage50/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
##############################################################################
###############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2013 Gestion-Ressources (<http://www.gestion-ressources.com>).
Expand All @@ -11,7 +11,7 @@
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
Expand All @@ -23,56 +23,60 @@
'name': 'Export to Sage50',
'version': '1.0',
"category": 'Accounting & Finance',
'complexity': "easy",
'description': """
French version below
Export accounting data from OpenErp to Sage50.
====================================
Export accounting data from OpenErp to Sage50. The exportation generates the imp file to import in Sage50.
Export accounting data from OpenERP to Sage50
=============================================
Export accounting data from OpenERP to Sage50. The export generates the imp file to import in Sage50.
Documentation : layout of the import file (.IMP)
====================================
------------------------------------------------
A PDF document (in the /doc repository) gives more details about the .IMP file layout that can be imported
into Sage 50.This document is part of the Sage 50 SDK (Software Development Kit) available for download at
into Sage 50. This document is part of the Sage 50 SDK (Software Development Kit) available for download at
the following address : http://na.sage.com/sage-simply-accounting/lp/partners/sdk/?isnow=ssa.
Sage 50: After creating .IMP file
====================================
---------------------------------
Solution:
Importing purchase invoices, purchase quotes, sales invoices and sales orders into Sage 50
* Importing purchase invoices, purchase quotes, sales invoices and sales orders into Sage 50
How to import purchase invoices, purchase quotes, sales invoices and sales orders?
You can import purchase invoices, purchase quotes, sales invoices and sales orders into Sage 50.
The transaction(s) details should be in a text file with extension .IMP.
After you have created the .IMP file, you can import the transaction(s) into Sage 50 by following these steps:
(Account information is not included in the .IMP format because when importing the file, you will receive
a pop-up screen to ask you "Select an Account to match".)
From the Home Window, go to File, Import/Export
Click on Import Transactions (the Import Transactions Wizard appears)
Select on 'Import purchase invoices, purchase quotes, sales invoices, sales orders or time slips' and click Next
You can now create a backup of your file
Click Next
Click on Browse and select the .IMP file previously created
If the customer (or vendor) in the transaction(s) you are trying to import does not exist in the Sage 50 company,
* From the Home Window, go to File, Import/Export
* Click on Import Transactions (the Import Transactions Wizard appears)
* Select on 'Import purchase invoices, purchase quotes, sales invoices, sales orders or time slips' and click Next
* You can now create a backup of your file
* Click Next
* Click on Browse and select the .IMP file previously created
* If the customer (or vendor) in the transaction(s) you are trying to import does not exist in the Sage 50 company,
you will get a new window asking you if you want to add this customer (or vendor), or if you want to select
another customer (or vendor) from the existing ones
You will also get a similar window if the import file uses an inventory item which does not exist in Sage 50.
You will see a summary of the imported transactions, click OK and then Finish.
If you got any errors importing the data, open the .IMP file in Notepad and use the attached .PDF document
* You will also get a similar window if the import file uses an inventory item which does not exist in Sage 50.
* You will see a summary of the imported transactions, click OK and then Finish.
* If you got any errors importing the data, open the .IMP file in Notepad and use the attached .PDF document
to verify the file format. Once the errors have been corrected, you can try the import again.
Note: View KB25664 for information about some possible errors when importing .IMP file.
Sage Business Care plan does NOT include support for SDK. Please, contact one of our partners website
for further assistance.
Possible errors when importing purchase invoices, purchase quotes, sales invoices and/or sales orders
====================================
=====================================================================================================
Questions and Answers
Import started... Errors occurred while importing.
Line x does not contain compatible tax information.
Invalid date. The date must be between <date1> and <date2>.
Expand All @@ -81,48 +85,35 @@
A: These are the possible reasons for getting any of these error messages when importing transactions
into Simply Accounting:
- The import file (extension .IMP) you are using does not have the proper format.
* The import file (extension .IMP) you are using does not have the proper format.
Refer to the KB article 25659 for more information about the format of the import file.
- The transaction type is not enabled in the Simply Accounting company. To enable the feature, from the Home Window
* The transaction type is not enabled in the Simply Accounting company. To enable the feature, from the Home Window
in Simply Accounting, go to Setup, Settings, Company, Features, make sure the type of transaction you want to import
is checked
- The dates in the import file do not match the fiscal year dates in Simply Accounting.
* The dates in the import file do not match the fiscal year dates in Simply Accounting.
Open the import file in Notepad and make the necessary changes
Contributors
------------
Exportation des données comptables de OpenERP vers Sage50.
==============================================
Ce module exporte des données comptables de OpenERP vers Sage50. Le module génére un fichier imp file qui peut
être importé dans Sage50.
Documentation : Format du fichier à importer (.IMP)
====================================
Un document .PDF (dans le répertoire /doc) donne plus de détails sur le format du fichier .IMP qui peut être
importé dans Sage 50. Ce document fait parti du Kit de développement - SDK de Sage 50 qui peut-être téléchargé
à l'adresse suivante : http://na.sage.com/sage-simply-accounting/lp/partners/sdk/?isnow=ssa.
Guide d'utilisation export Sage 50
========================================
Comment exporter les données comptables à partir d'OpenERP?
Un manuel d'utilisation est disponible dans le répertoire /doc du module.
* El Hadji Dem <elhadji.dem@savoirfairelinux.com>
* Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
""",
"author": "Gestion-Ressources",
"website": "http://www.gestion-ressources.com",
'author': 'Savoir-faire Linux',
'maintainer': 'Savoir-faire Linux',
'website': 'http://www.savoirfairelinux.com',
"license": "AGPL-3",
'images': [],
'depends': ['account'],
'update_xml': [
'wizard/exportsage50.xml',
'data': [
'security/ir.model.access.csv',
'wizard/exportsage50_view.xml'
],
'demo_xml': [],
'test':[],
'demo': [],
'test': [],
'installable': True,
'auto_install': False,
'certificate': '',
'application': True,
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
92 changes: 58 additions & 34 deletions exportsage50/i18n/exportsage50.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,113 +4,137 @@
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 6.1\n"
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-11-15 15:35+0000\n"
"PO-Revision-Date: 2013-11-15 15:35+0000\n"
"POT-Creation-Date: 2013-11-15 16:22+0000\n"
"PO-Revision-Date: 2013-11-15 16:22+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: exportsage50
#: field:exportsage,name:0
msgid "Filename"
msgstr ""

#. module: exportsage50
#: field:exportsage,format:0
msgid "File Format"
msgstr ""

#. module: exportsage50
#: help:exportsage,invoice_ids:0
msgid "This is the list of invoices that have been generated for this sales order. The same sales order may have been invoiced in several times (by line for example)."
#: field:exportsage,state:0
msgid "unknown"
msgstr ""

#. module: exportsage50
#: view:exportsage:0
msgid "Export done"
msgid "Here is the exported file:"
msgstr ""

#. module: exportsage50
#: model:ir.model,name:exportsage50.model_exportsage
msgid "Create imp file to export in sage50"
msgstr ""

#. module: exportsage50
#: selection:exportsage,state:0
msgid "get"
msgid "choose"
msgstr ""

#. module: exportsage50
#: view:exportsage:0
#: field:exportsage,invoice_ids:0
msgid "Invoices"
msgid "Unicode/UTF-8"
msgstr ""

#. module: exportsage50
#: field:exportsage,state:0
msgid "unknown"
#: view:exportsage:0
msgid "file encoding, please be sure to view and edit using the same encoding."
msgstr ""

#. module: exportsage50
#: selection:exportsage,state:0
msgid "get"
msgstr ""

#. module: exportsage50
#: view:exportsage:0
msgid "Create"
msgid "This file was generated using the universal"
msgstr ""

#. module: exportsage50
#: code:addons/exportsage50/wizard/exportsage50.py:71
#, python-format
msgid "You have to select at least 1 Invoice. And try again"
#: view:exportsage:0
msgid "Cancel"
msgstr ""

#. module: exportsage50
#: field:exportsage,name:0
msgid "Filename"
#: code:addons/exportsage50/wizard/exportsage50.py:68
#, python-format
msgid "Error"
msgstr ""

#. module: exportsage50
#: view:exportsage:0
#: model:ir.ui.menu,name:exportsage50.menu_report
msgid "Export to Sage50"
msgid "Export Complete"
msgstr ""

#. module: exportsage50
#: view:exportsage:0
msgid "This action allows you to export accounting data from OpenErp to Simply account.You should have the same configuration about the tax information"
msgid "Export Settings"
msgstr ""

#. module: exportsage50
#: model:ir.model,name:exportsage50.model_exportsage
msgid "Create imp file to export in sage50"
#: help:exportsage,invoice_ids:0
msgid "This is the list of invoices that have been generated for this sales order. The same sales order may have been invoiced in several times (by line for example)."
msgstr ""

#. module: exportsage50
#: selection:exportsage,state:0
msgid "choose"
#: model:ir.actions.act_window,name:exportsage50.action_account_invoice_generate_export_view
#: model:ir.ui.menu,name:exportsage50.menu_account_invoice_generate_export_view
msgid "Export accounting data to Sage50"
msgstr ""

#. module: exportsage50
#: field:exportsage,data:0
msgid "File"
#: field:exportsage,invoice_ids:0
msgid "Invoices"
msgstr ""

#. module: exportsage50
#: code:addons/exportsage50/wizard/exportsage50.py:71
#: view:exportsage:0
msgid "or"
msgstr ""

#. module: exportsage50
#: code:addons/exportsage50/wizard/exportsage50.py:68
#, python-format
msgid "Error"
msgid "You have to select at least 1 Invoice. And try again"
msgstr ""

#. module: exportsage50
#: view:exportsage:0
msgid "Cancel"
msgid "This action allows you to export accounting data from OpenErp to Simply account.You should have the same configuration about the tax information"
msgstr ""

#. module: exportsage50
#: field:exportsage,data:0
msgid "File"
msgstr ""

#. module: exportsage50
#: view:exportsage:0
msgid "_Close"
msgid "Export to Sage50"
msgstr ""

#. module: exportsage50
#: field:exportsage,config_logo:0
msgid "Image"
#: view:exportsage:0
msgid "Close"
msgstr ""

#. module: exportsage50
#: model:ir.actions.act_window,name:exportsage50.action_account_invoice_generate_export
msgid "Export accounting data to Sage50"
#: view:exportsage:0
msgid "Export"
msgstr ""

9 changes: 4 additions & 5 deletions exportsage50/wizard/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
##############################################################################
###############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2013 Gestion-Ressources (<http://www.gestion-ressources.com>).
Expand All @@ -11,13 +11,12 @@
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
###############################################################################

import exportsage50
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
from . import exportsage50
Loading

0 comments on commit df47131

Please sign in to comment.