Commit Graph
8 Commits
Author SHA1 Message Date
Adrian Torres 1daf8eb127 [FIX] *: set ondelete policy of required Selection fields
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 13:42:04 +00:00
Victor Feyens f0e059e601 [REF] payment* : state based publishing
Replace website_published and environment by a generic state on
payment.acquirer

Payment acquirers aren't enabled by default.  When setting their state to 'enabled' or 'test', it is verified the required fields for the provider are set.
2019-08-12 08:45:50 +00:00
Adrian Torres 4b38cc6590 [REM] *: calls to @api.multi
Multi is the default api for methods, it is not necessary to explicitly
decorate methods with it, adds clutter and most people use it because
they see that the rest of the code uses it.

Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
2019-07-17 14:13:12 +02:00
Christophe Simonis 8dd5a85267 [MERGE] forward port branch saas-12.3 up to 60e71302a3 2019-05-13 15:26:12 +02:00
Sapan Zaveri 41b1333a38 [FIX] payment_payulatam: Fix error while making payment
In https://github.com/odoo/odoo/commit/e21f185d3c6a3bac3a1a7ba482df4d6cf616a159 acquirer_reference is changed to reference for payment,
but while validating the payment values there is still acquirer_reference so it's giving traceback

Now changed acquirer_reference to reference while validating payment and
check proper transactionID with acquirer_reference.

Task-ID: 1964073
closes: #32439

Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2019-04-05 09:38:38 +00:00
Pierre Masereel e21f185d3c [FIX] payment_payulatam: fix transaction reconsiliation
The reconsiliation code was looking for the aquirer_reference instead of
the reference to find out the corresponding transaction. Which leads to
not finding the corresponding transaction.

This behavior comes from the creation of the moule setting its own tests
in error in PR: https://github.com/odoo/odoo/pull/24802

closes odoo/odoo#31365
2019-02-22 13:37:10 +00:00
Nikunj Ladava 0e71f91fa1 [ADD] payment_payulatam: Add new payment acquirer for Latin America
TaskID 1826303

closes odoo/odoo#24802
2019-02-11 11:36:14 +00:00
Prakash Prajapati 0b9d752333 [IMP] payment: typo PayU Latam.
Change the label from PayUlatam to PayU Latam.

Hide s2s Form template field where Payment Flow is not s2s.

task-1940000

closes odoo#31048

closes odoo/odoo#31048

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-04-18 13:51:45 +00:00