Commit Graph
17 Commits
Author SHA1 Message Date
tbe-odoo be650c5979 [IMP] Fixing the code to fit the reviews 2017-08-29 17:16:42 +02:00
tbe-odoo ad095e492f [IMP] payment,website_payment: Change payment.option model name to payment.icon 2017-08-29 17:16:42 +02:00
tbe-odoo 64ae5e2bc3 [IMP] payment: Supported payment options
- Added the ability to specify which payment option each payment acquirer supports and,
    displays those payment option on e-commerce footer.
2017-08-29 17:11:23 +02:00
Thibault Delavallée faa9ace977 [REF] website_payment: remove website published mixin on payment acquirer
Indeed payment module already adds a website_published button to ease
acquirer management directly in payment without link to website. The
mixin added in website_payment adds a website_url field that has no use
for payment acquirers and is not used at all in the current codebase.
As there is no website url the website publish button method is not
different than the one already implemented in payment. There is
therefore no need for this override, lessening model code in
website payment.
2017-06-06 11:05:33 +02:00
xmo-odoo b4429c2a91 [FIX] Various P3-related import changes
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
2017-04-28 09:06:53 +02:00
ptr 5b79505bb1 [IMP] account*: Improve the settings form view 2016-12-29 15:46:37 +01:00
Christophe Simonis f4738e7bb5 [MERGE] forward port branch saas-12 up to 78e9c7f 2016-08-26 18:06:17 +02:00
Joren Van Onder cae2c74985 [FIX] website_{payment,portal_sale}: move code depending on sale
From website_payment to website_portal_sale.
2016-08-24 11:19:15 +02:00
Thibault Delavallée c8a313d51e [IMP] various: use odoo for imports instead of openerp and update class names 2016-08-10 15:48:07 +02:00
Joren Van Onder 65b1220008 [IMP] website_payment: when invoicing always ignore invoice policy
Sale orders created through the website that have to be automatically
invoiced should ignore the delivery invoicing policy.

Otherwise you can end up with either an invoice not being generated at
all. This means the user has to manually generate and add the payment to
it. Even worse is if only some purchased products have invoice policy
delivery. In this case a partial invoice would be generated to which the
payment would be added, leading to a mismatch between invoice total and
payment amount.
2016-06-17 13:09:18 +02:00
Joren Van Onder 8a761721d1 [IMP] payment: add options to automatically confirm SO's through website
Introduces two new options:
- confirm_so: to confirm the sale order on acquirer confirmation
- generate_and_pay_invoice: confirm_so + generation of invoice and
                            payment registration
2016-06-17 13:09:18 +02:00
Joren Van Onder 303e585371 [IMP] website_*: consolidate some duplicate payment logic
website_sale and website_quote both did their own
form_feedback. This causes issues because:

1. it would force upcoming features to have to be duplicated as well
2. there's a risk that improvements/bug fixes will only be applied to
one module, an example of this happening is
46c5f93b6c.
2016-06-17 13:09:18 +02:00
Yannick Tivisse ab833656bc [FIX] crm,website_payment: group_configuration doesn't exist anymore
The goal of commits
https://github.com/odoo/odoo/commit/56a06b73f25ba31ff8c33b04e3af33eb8722f7d3
https://github.com/odoo/odoo/commit/f4006d22ef29ebeb04ce2dfea6670cca4e1cb98e

were to allow admistration users others than 'Administrators' to
create ir.values. As the lowest group 'group_configuration' doesn't
exist anymore since saas-10, we use sudo if the user has the new
lowest access right, which is erp_manager

See https://github.com/odoo/odoo/commit/fdb3ad7082a572d71182b9460b274b94c6bd7560
2016-06-09 10:01:32 +02:00
Denis Ledoux 56a06b73f2 [FIX] website_payment: set default payment acquirer for configuration users
By default, users other than the admin cannot create
default values for all users,
`ir.values` for all users can only be created as sudo.

opw-672400
2016-03-21 10:30:03 +01:00
Damien Bouvy f341ca62ab [IMP] website_payment: generic payment controller
- generate payment from the frontend using a simple form
- send a payment with a simple url
- define a default provider for payments
2015-09-04 16:08:22 +02:00
Antony Lesuisse 4a3a3e5f3a [FIX] payment: Move website_published field to website_payment
We have to keep website_published defined in payemnt so that demo data publish
only payment_transfer for the website_sale tour.
2015-08-06 00:14:24 +02:00
Jeremy Kersten d6a30df5cc [IMP] website_payment: add payment method in footer
(optionnal and desactivate by defaut)

Add all acquirers published in the automatic footer
2015-06-10 21:50:50 +02:00