forked from mollie/mollie-odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
920 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,40 @@ | ||
.idea/* | ||
.idea/ | ||
*.pyc | ||
# sphinx build directories | ||
_build/ | ||
|
||
# dotfiles | ||
.* | ||
!.gitignore | ||
!.mailmap | ||
# compiled python files | ||
*.py[co] | ||
__pycache__/ | ||
# setup.py egg_info | ||
*.egg-info | ||
# emacs backup files | ||
*~ | ||
# hg stuff | ||
*.orig | ||
status | ||
# odoo filestore | ||
odoo/filestore | ||
# maintenance migration scripts | ||
odoo/addons/base/maintenance | ||
|
||
# generated for windows installer? | ||
install/win32/*.bat | ||
install/win32/meta.py | ||
|
||
# needed only when building for win32 | ||
setup/win32/static/less/ | ||
setup/win32/static/wkhtmltopdf/ | ||
setup/win32/static/postgresql*.exe | ||
|
||
# various virtualenv | ||
/bin/ | ||
/build/ | ||
/dist/ | ||
/include/ | ||
/lib/ | ||
/man/ | ||
/share/ | ||
/src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from . import models | ||
from . import controllers | ||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
{ | ||
'name': 'Mollie Settlement Sync', | ||
'version': '13.0.1.0', | ||
'description': '', | ||
'summary': 'This module settlements from mollie', | ||
'author': 'Mollie', | ||
'maintainer': 'Applix', | ||
'license': 'LGPL-3', | ||
'category': '', | ||
'depends': [ | ||
'account_accountant' | ||
], | ||
'data': [ | ||
'views/account_journal.xml', | ||
'views/bank_statement.xml', | ||
'views/templates.xml', | ||
'wizard/mollie_init_views.xml' | ||
], | ||
"qweb": ['static/src/xml/*.xml'], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from . import main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# -*- coding: utf-8 -*- | ||
import json | ||
from odoo import http, tools | ||
from odoo.http import request | ||
|
||
|
||
class MollieData(http.Controller): | ||
|
||
@http.route('/get_mollie_order_info', type='json', auth='user') | ||
def get_order_info(self, order_id, journal_id): | ||
AccountJournal = request.env["account.journal"] | ||
return AccountJournal.browse(journal_id)._api_call_get_order_meta(order_id) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from . import account_journal |
Oops, something went wrong.