summaryrefslogtreecommitdiff
path: root/addons/payment_sips
AgeCommit message (Collapse)Author
2021-05-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-27[I18N] *: Update translation terms from TransifexMartin Trigaux
Except Spanish, waiting for cleanup closes odoo/odoo#60848 Related: odoo/enterprise#14421 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-21[REV] *: revert fb7407c for spanish translationsOlivier Dony
There was a problem in the Transifex translations for Spanish and all translations were overwritten by mistake with english defaults. This commit reverts all modified es.po files to their previous version while we work to restore the translations on Transifex.
2020-10-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-01[I18N] export saas-13.5 source termsMartin Trigaux
Without demo data closes odoo/odoo#56839 Related: odoo/enterprise#12821 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-17[IMP] payment_sips: code improvementsDamien Bouvy
Extend support for all currencies listed in the SIPS documentation, including the decimal numbers per currency. Move this hardcoded data is a less annoying place. Remove unnecessary code (e.g. checking if there is more than one payment with the same reference, which can't happen due to a SQL unique constraint from the payment module). Code clarity while I'm at it. Task-2259942 closes odoo/odoo#51473 Related: odoo/upgrade#1216 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2020-08-17[IMP] payment_sips: testing valuesDamien Bouvy
Prior to this revision, setting the provider to the 'test' mode caused hardcoded values for merchantId, secret and keyVersion to be used without any possibility to override them. While somewhat useful, it was quite limiting since it used the 'simu' environment of Atos Wordline, preventing you from testing any other platform and from using the 'test' environment for Atos. This revision removes these hardcoded values, which gives more flexibility as far as testing goes at the cost of a bit more setup (since you might need to change some values manually, notably the keyVersion). Task-2259942
2020-08-17[IMP] payment_sips: convert config param to proper fieldDamien Bouvy
The config param 'sips.key_version' was introduced "some time ago" in revision a62480ad0f6 to allow setting the `keyVersion` POST param to an arbitrary value, allowing other SIPS-comptatible providers to be used with this module. This revision (finally) converts this fix to a proper field. Task-2259942
2020-08-14[IMP] various: Reseuence the module and module categoryBarad Mahendra
The purpose of this task is to improve the UI of the 'Apps', by improving the clarity of the kanban, sequencing the apps and simplifying the app categories in the searchpanel So in this commit, Added the new sequences for ir.module.module and ir.module.category records. TaskID: 2240257 Related Enterprise: https://github.com/odoo/enterprise/pull/12413 Closes: #55907
2020-07-16[IMP] payment(_*): Remove dependency to AccountTestCommonLaurent Smet
l10n runbot builds are all failing when running at least one test depending of AccountTestCommon because it: - doesn't create a sandboxed testing environnement to manage the multi-currency, multi-company, the default company's currency, the exchange rates... - doesn't setup a testing user then all tests are done using the superuser. - doesn't provide a fully setup chart of accounts: exchange difference journal is not set, accounts have bad types, etc... - is run sometimes at-install. --task: 2296213
2020-06-18[IMP] *: replace to new _() syntaxMartin Trigaux
Using a few regex like \((_\(.*%s.*)(\) % )([\w\[\]][\w .\[\]\(\)'"]*)\) ($1, $3)) Old syntax is still compatible but starts the migration to the new syntax that catches error.
2020-04-14[FIX] payment_sips: propagate environment -> state variable renamingThibault Delavallée
Some bits of code still use old variable. Task ID 2237300 Closes PR #49462 closes odoo/odoo#49501 X-original-commit: 4d402e94cb18cf5cc7e89ba9a9c305d02542a7f9 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-04-09[FIX] payment_sips: stop log pollutionDamien Bouvy
SIPS sometimes send empty notifications. I have been unable to find out why or to reproduce the issue; it seems to be linked to a delay on their end since these notifications usually arrive after a customer is redirected back to Odoo (at least on their test account). I'd rather log a warning for those cases (since nothing is wrong on Odoo's side, there's just no info to act upon) instead of a full traceback. closes odoo/odoo#49335 X-original-commit: 100ef1bdb7b90edbeccfa6cd10297acb824b8083 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-04-09[FIX] payment_sips: add basic test caseDamien Bouvy
Render the payment form and process feedback from the provider. X-original-commit: 60445af209d4fef1f93e26c4b5b912df2fffdb50
2020-04-09[FIX] payment_sips: datetime parsingDamien Bouvy
SIPS date format can be somewhat variable, some sanitation is required before using the data raw for the ORM. opw-2224926 X-original-commit: 620e987f326d6da7c3a9b2c1aca7bff16d9ce6c4 Co-authored-by: Nicolas Martinelli <nim@odoo.com>
2020-04-06[REV] payment_sips: 9372ff3ac010bd3428eb866ddd3ecfaf939127c4Richard Mathot
Python 3.7 is required for function datetime.datetime.fromisoformat to work. Ref: https://docs.python.org/3.7/library/datetime.html?highlight=fromisoformat#datetime.datetime.fromisoformat This is a temporary revert, to avoid rejecting perfectly valid transactions. Ref: https://github.com/odoo/odoo/pull/48581 opw-2179123 closes odoo/odoo#49091 X-original-commit: dedac4efd0872bab71e06796f5a3158e2cf7bf15 Signed-off-by: Richard Mathot (rim) <rim@openerp.com>
2020-04-02[FIX] payment_*: reset payment acquirers to default on uninstallAdrian Torres
The `payment` module introduces a certain amount of payment acquirers, each one corresponding to a `payment_` module. When a `payment_` module is installed, this data is updated so that payments done with the corresponding acquirer change in behaviour using the provider installed by the `payment_` module. When a `payment_` module is uninstalled, this data should be reset to default, more especifically the `view_template_id` and the `provider` fields of `payment.acquirer`. This was not possible before this commit, and more importantly it would make the uninstallation of such `payment_` module impossible as the `view_template_id` is a required m2o ondelete='set null', which will make the registry crash. Even if the former wasn't a problem, the provider field would remain set to a non-existing selection option, which would make the registry crash (eventually, when checking a record with such a selection option). With this commit, we reset these fields to their default value upon module uninstall. In 13, the issue with `view_template_id` should be fixed, as required m2o that are ondelete='set null' are no longer possible. As for the provider Selection field, a fix should arrive in master soon. opw-2225333 closes odoo/odoo#48916 X-original-commit: 4f0c1c1bfd71dd1ff6793d0a91b49984c54d1351 Signed-off-by: Raphael Collet (rco) <rco@openerp.com> Signed-off-by: Adrian Torres (adt) <adt@odoo.com>
2020-03-30[FIX] *: set ondelete policy of required Selection fieldsAdrian Torres
With this commit, Selection fields with `required=True` which are extended via `selection_add` are given proper ondelete policies to ensure the cleanup of records containing these extended options during uninstall of the extending module. This commit also cleans up leftover uninstall hooks that were being used to handle the same set of problems prior to the ondelete mechanism being implemented for Selection fields. closes odoo/odoo#46325 Related: odoo/enterprise#9117 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2020-03-30[FIX] payment_sips: datetime parsingDamien Bouvy
SIPS date format can be somewhat variable, some sanitation is required before using the data raw for the ORM. opw-2224926 closes odoo/odoo#48604 X-original-commit: db998d39d7d692779a64522e168bba29b82f1d03 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2020-03-23[FIX] payment_sips: rounding errorNicolas Martinelli
- Activate SIPS - Make a payment of 263.90 on the eCommerce The SO is not confirmed because there is 0.01 of difference. This is due to the fact that 263.90 * 100 = 26389.9999... Using `round` instead of `int` prevents truncating the value. opw-2179123 closes odoo/odoo#48169 X-original-commit: 60f9cea444df37e685b7f4312c9ff28c395822b3 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-03-05[IMP] base: Display searchpanel on ir.module.module viewsYannick Tivisse
Purpose ======= The current kanban view is messy. It is difficult to identify which apps are installed or not. The user can completely miss a module that might have interested him. A search panel would make things way more readable. closes odoo/odoo#44401 Taskid: 2181557 Related: odoo/enterprise#8144 Related: odoo/upgrade#879 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-24[FIX] payment_sips: correct automaticResponse URLDamien Bouvy
The automaticResponseURL should not be the same as the one the customer uses, as this might mess up with the payment processing page when the customer actually returns. Add some logging while I'm here, and remove a useless write on a non-existing field that generates log warnings (but nothing else). closes odoo/odoo#46047 X-original-commit: 2e25ff3b1114a222ae8cff76c2ce8d31adf599e4 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-12-10[I18N] *: remove es_AR translationsMartin Trigaux
Followup of a425695e The terms were back in 12.0 Courtesy of Juan José Scarafía closes odoo/odoo#41624 X-original-commit: 85d0c7001a997748d7691205bbb8d066597591a5 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-31[FIX] payment_*: multiwebsite base_urlJorge Pinna Puissant
Fine-tunning of 937b5c076e7175bec664ed0cf4b77505e342f1e2 Have a multiwebsite setup have a payment installed for one of the two websites Make an order on that website and try to pay Before this commit, the transaction doesn't come back to odoo's payment success controller This was because the return url was set to the web base url ICP After this commit, the payment success page is opened as we took the request's url as the return url opw-2080352 closes odoo/odoo#39643 X-original-commit: a9fb15b33fd041ee420581a5ba450017db06e0c7 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
2019-10-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-10-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-25[IMP] * : manifest module categories cleanupVictor Feyens
closes odoo/odoo#35754 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-09-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-13[MERGE] forward port branch saas-12.4 up to fe59754c520Christophe Simonis
closes odoo/odoo#36721 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-11[MERGE] forward port branch saas-12.3 up to 50e571acf7cChristophe Simonis
closes odoo/odoo#36491 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-10[FIX] payment_sips: Wrong test and production URLsGoffin Simon
The production/test urls were inverted. opw:2061123 closes odoo/odoo#36623 X-original-commit: 5325c4388c5cae38b78b88d74220f3a5dca3fc26 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2019-09-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-03[FIX] i18n: missing Slovenian translationJorge Pinna Puissant
Slovenian language, as many others languages, is not present in the beta/master projects in Transifex. For some reason, Transiflex removed all current translations, this was already fixed in 12, but as there are not automatic forward-port for translations, this is a manual forward-port. opw-2060055 closes odoo/odoo#36374 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-09-03[MERGE] forward port branch 12.0 up to 82c0e9b620bChristophe Simonis
2019-09-03[FIX] payment: Publish Sips online paymentGoffin Simon
Steps to reproduce the bug: - When trying to publish the sips payment acquirer not in debug mode Bug: It raised a access rights error because the fields: sips_test_url, sips_prod_url, sips_version were not readable in function _check_required_if_provider and a default value was set for all these fields. opw:2061123 closes odoo/odoo#36346 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2019-09-01[I18N] Update translation terms from TransifexOdoo Translation Bot