Commit Graph
8 Commits
Author SHA1 Message Date
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