-
Notifications
You must be signed in to change notification settings - Fork 1
ODOO-159: Refactor module structure by splitting core and enhanced fe… #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
zulquer
wants to merge
20
commits into
19.0
Choose a base branch
from
ODOO-159
base: 19.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d618122
ODOO-159: Refactor module structure by splitting core and enhanced fe…
zulquer 14f358e
Merge branch '19.0' into ODOO-159
danielcivit 4155ea5
ODOO-159: Apply OCA formatting
zulquer 5545891
ODOO-159: Exclude ruff rules C901, B904
zulquer 9792c1a
ODOO-159: Remove price_list_id from the core module
zulquer f68c840
Merge branch 19.0 into ODOO-159
zulquer f6ed5e0
Update payment_multisafepay/models/__init__.py
zulquer 7ece45f
Update payment_multisafepay/__manifest__.py
zulquer 5ce27fe
Update payment_multisafepay/models/__init__.py
zulquer 4bc8807
Update payment_multisafepay/models/payment_method.py
zulquer f28de92
Update payment_multisafepay/models/payment_method.py
zulquer 8b7da43
Update payment_multisafepay/models/payment_method.py
zulquer b7c2ab5
Update payment_multisafepay/models/payment_method.py
zulquer 36263b4
Update payment_multisafepay/tests/test_payment_transaction.py
zulquer 1027e1b
Update payment_multisafepay/views/payment_templates.xml
zulquer c1aac0a
Update payment_multisafepay/views/payment_templates.xml
zulquer dcbb599
Update payment_multisafepay_enhaced/__manifest__.py
zulquer 3e63272
Update payment_multisafepay/controllers/main.py
zulquer f8702b3
Update payment_multisafepay/views/payment_templates.xml
zulquer 1294b0e
Update payment_multisafepay/views/payment_templates.xml
zulquer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,27 @@ | ||
| { | ||
| "name": "MultiSafepay", | ||
| "description": """ | ||
| Accept, manage and stimulate online sales with MultiSafepay. | ||
| Increase conversion rates with MultiSafepay unique solutions, | ||
| create the perfect checkout experience and the best payment method mix. | ||
| """, | ||
| "summary": """E-commerce is part of our DNA""", | ||
| "author": "MultiSafepay", | ||
| "website": "https://github.com//multisafepay", | ||
| "license": "AGPL-3", | ||
| "category": "eCommerce", | ||
| "version": "19.0.2.0.0", | ||
| "application": True, | ||
| "post_init_hook": "post_init_hook", | ||
| "uninstall_hook": "uninstall_hook", | ||
| "depends": [ | ||
| "payment", | ||
| ], | ||
| "external_dependencies": {"python": ["multisafepay"]}, | ||
| "data": [ | ||
| "views/payment_templates.xml", | ||
| "views/payment_provider_views.xml", | ||
| "views/payment_method_views.xml", | ||
| "data/payment_provider_data.xml", | ||
| ], | ||
| } |
This file contains hidden or 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,79 @@ | ||
| # Copyright (c) MultiSafepay, Inc. All rights reserved. | ||
| # This file is licensed under the GNU Affero General Public License (AGPL) version 3.0. | ||
| # See the LICENSE.md file for more information. | ||
| # See the DISCLAIMER.md file for disclaimer details | ||
|
|
||
| # Payment method code prefix | ||
| PAYMENT_METHOD_PREFIX = "multisafepay_" | ||
|
|
||
| SUPPORTED_CURRENCIES = [ | ||
| "AED", | ||
| "AUD", | ||
| "BGN", | ||
| "BRL", | ||
| "CAD", | ||
| "CHF", | ||
| "CLP", | ||
| "CNY", | ||
| "COP", | ||
| "CZK", | ||
| "DKK", | ||
| "EUR", | ||
| "GBP", | ||
| "HKD", | ||
| "HRK", | ||
| "HUF", | ||
| "ILS", | ||
| "INR", | ||
| "ISK", | ||
| "JPY", | ||
| "KRW", | ||
| "MXN", | ||
| "MYR", | ||
| "NOK", | ||
| "NZD", | ||
| "PEN", | ||
| "PHP", | ||
| "PLN", | ||
| "RON", | ||
| "RUB", | ||
| "SEK", | ||
| "SGD", | ||
| "THB", | ||
| "TRY", | ||
| "TWD", | ||
| "USD", | ||
| "VEF", | ||
| "ZAR", | ||
| ] | ||
|
|
||
| STATUS_MAPPING = { | ||
| "draft": ("initialized",), | ||
| "pending": (), | ||
| "authorized": ("reserved",), | ||
| "done": ("completed", "partial_refunded", "refunded", "uncleared"), | ||
| "cancel": ("canceled", "cancelled", "void", "expired"), | ||
| "error": ("declined", "chargedback", "charged_back"), | ||
| } | ||
|
|
||
| PAYMENT_METHOD_PENDING = [ | ||
| "banktrans", | ||
| "multibanco", | ||
| ] | ||
|
|
||
| BNPL_METHODS = [ | ||
| "afterpay", | ||
| "einvoice", | ||
| "in3", | ||
| "klarna", | ||
| "payafter", | ||
| "bnpl_instm", | ||
| "bnpl_inst", | ||
| "in3b2b", | ||
| "santander", | ||
| "zinia", | ||
| "zinia_in3", | ||
| "bnpl_ob", | ||
| "bnpl_mf", | ||
| "billink", | ||
| ] |
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because, in this context, a folder at that level is considered an Odoo module, and 'bin' is not an Odoo module