~camptocamp/magentoerpconnect/oerp6.1-oldstable-stock-config-1070726

« back to all changes in this revision

Viewing changes to magentoerpconnect_payment/__openerp__.py

[MRG] from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
##############################################################################
 
3
#
 
4
#    Author: Guewen Baconnier
 
5
#    Copyright 2012 Camptocamp SA
 
6
#
 
7
#    This program is free software: you can redistribute it and/or modify
 
8
#    it under the terms of the GNU Affero General Public License as
 
9
#    published by the Free Software Foundation, either version 3 of the
 
10
#    License, or (at your option) any later version.
 
11
#
 
12
#    This program is distributed in the hope that it will be useful,
 
13
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
#    GNU Affero General Public License for more details.
 
16
#
 
17
#    You should have received a copy of the GNU Affero General Public License
 
18
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
19
#
 
20
##############################################################################
 
21
 
 
22
 
 
23
{'name': 'Magentoerpconnect Payment',
 
24
 'version': '1.0',
 
25
 'category': 'Generic Modules',
 
26
 'author': "Camptocamp",
 
27
 'license': 'AGPL-3',
 
28
 'description': """Module to extend the module magentoerpconnect.
 
29
 
 
30
It aims to ease the workflow of the payments for the sale orders done on Magento.
 
31
Actually, there is mainly, without deep into details, 2 workflows:
 
32
1. (Pre)-Payments done on Magento (credit card, paypal, ...) with a "need to update" flag.
 
33
2. Payments by cheque or bank, for which we wait a payment, before treat the order with a standard / manual workflow (bank statement / voucher, ...).
 
34
 
 
35
With Magentoerpconnect, the pre-payments are fully automatic, OpenERP wait until the payment is done on Magento, then manage its sale order workflow
 
36
(prepaid, postpaid, ...), create and auto-reconcile the payment with the invoice.
 
37
 
 
38
It's a mess that the payment done by cheque or other "unsure" payment does not benefit from a so advanced workflow,
 
39
because we also have all the data to automatically create payments and reconcile them.
 
40
 
 
41
So, this module adds a button "Magento Payment" to create the payment on Magento once you've received your payment.
 
42
This button also update your order ("need to update") and let it continues its workflow as defined in its Base Sale Payment Type
 
43
exactly as it was a pre-payment.
 
44
 
 
45
This allow to have one and only one Magento -> OpenERP payment worlflow.
 
46
 
 
47
""",
 
48
 'images': ['images/magentocoreeditors.png',
 
49
            'images/magentoerpconnect.png', ],
 
50
 'website': "https://launchpad.net/magentoerpconnect",
 
51
 'depends': ['magentoerpconnect',
 
52
             'sale',
 
53
             'sale_exceptions'],
 
54
 'init_xml': [],
 
55
 'update_xml': ['sale_view.xml',
 
56
                'invoice_view.xml',
 
57
                'payment_type_view.xml'],
 
58
 'demo_xml': [],
 
59
 'installable': True,
 
60
 'auto_install': False
 
61
}