* (1, '=', 1) is a noop domain section
* list.append. A thing.
* converting an int to an int is not useful
* search_count avoids having to fetch all product.template ids from
the database just to call len() on the result when it's not
necessary
* when using a dict value 5 times in a row, it's simpler to get it
just once and refer a local variable thereafter
bzr revid: xmo@openerp.com-20131121141647-2w9z2a7b8p5sek22
- confirmation is now a page displaying a sale order, which polls on the
related transaction to have its status
- when receiving an incoming notification thorugh the acquirer controller
the sale order is updated, then the confirmation page is displayed
- this allows to have a confirmation page that is independant from the
rest of the checkout process
- cleaned confirmation page, removed order details
bzr revid: tde@openerp.com-20131121120902-fm8b7u94gmepohgi
- added a controller that validates the payment: confirm the quotation (if paid)
and send it by email
- some fixes in payment routes
- some cleaning in payment template, removed unnecessary code, added a class on a
div to ease the submit button management
bzr revid: tde@openerp.com-20131120140321-mderltwy8xp2vfn4
- now going to shop/confirmation when coming back from the acquirer
- added poll on the confirmation page to wait for data from acquirer
- misc cleaning of checkout process, order and transaction management
- added cancel state on payment.transaction, when canceled by the
customer
bzr revid: tde@openerp.com-20131119160129-fkwkhjvk1bh0uarf
The action of the rendered button is catched, re-routed to a custom controller in sale that
creates the payment.transaction, or fetch an already-existing one.
Once the transaction is found or created, the user is redirected to the acquirer
transaction url.
Next step: display the transaction status in the payment page.
bzr revid: tde@openerp.com-20131115133414-jiob0gkpv106db27
TODO: website.prompt() should be finished for Add a blog post link
Added @id=editable_scripts_hook in layout template so modules can easly add *.editor.js files
bzr revid: fme@openerp.com-20131113171438-3l0wo08ta5vsulq3
context was not passed while setting request.website
forced to refactor a bit in order to make true model methods but stopped
because it will be duplicated work when migrating to the new api
bzr revid: fme@openerp.com-20131107151400-9dmtgz7xs34qmbmq
* fix creation controller to redirect to the id of the *product
template* implicitly created when the product is created, not to the
product, as "product" URLs actually display information about a
product template
* ensure the controller is only POST-ed to, not GET
* fix button to POST the creation request (use form and actual button,
not link)
* fix template (foreach -> t-foreach)
bzr revid: xmo@openerp.com-20131030133019-5pq3qekwu465x1k6