Commit Graph

3 Commits

Author SHA1 Message Date
Olivier Dony 9cfe9b6112 [IMP] portal,portal_sale: fine-tuning of payment block appearance, added amount, converted paypal example to <form>
bzr revid: odo@openerp.com-20121025113502-fye11iuur4x0ewm2
2012-10-25 13:35:02 +02:00
Olivier Dony 20c81b5e2f [ADD] portal: added portal.payment.acquirer model
portal.payment.acquirer stores payment processor
options (formally called payment acquirers). Each
acquirer is just a name and an HTML form template,
used to render an HTML snippet that can be included
in views where a payment option should be displayed.
The aquirer model has a generic method for rendering
a complete block of HTML to be included in form views
directly (with matching CSS): render_payment_block().

This method takes a few parameters to figure out
the name/reference, amount, currency, etc. to pay.

bzr revid: odo@openerp.com-20121024131554-j01ucniecjmoz3jq
2012-10-24 15:15:54 +02:00
Antonin Bourguignon e9b97f6bbe [ADD] a (temporary) little touch of joy in the portal module
bzr revid: abo@openerp.com-20120522160241-dpvg44e6v12xkair
2012-05-22 18:02:41 +02:00