Asegurarme de que better_errors funciona bien con passenger :)
The user can cancel a sale, and a refund ticket is created
Discounts in sales without test
test for discounts
Do adjust in method total, 
improve views
Merge pull request #10 from suyccom/cancel_sales

The user can cancel a sale, and a refund ticket is created
Pequeño fix en cantidad al cancelar una venta
fix merge
change name of migration because we have 2 migrations with same name
Merge pull request #11 from suyccom/issue_10437_descuentos_pantalla_de_ventas

issue 10437 discounts
Allow add products with amount field.
* Sales may be 'day sale'
* Save the amount of the sale on database
* Get complete and not day sale recordset on Sale index
* Allow to destroy day sale records.
* First running version of the test: unfinished.
Complete the test
Complete the test and improve usability
* Substitute the checkbox for day sales by a toggleable button.
* Complete the test.
cleaned code by removing style's and improve details commented in github
* Provider code must be required, so barcode could be automatically generated.
* Barcode could not be editable in any way by the user (edit and new views).
* Test.
Merge pull request #12 from suyccom/issue_10439_teclar_cantidad_venta

Allow add products with amount field.
Reduce stock after sale and increase after cancelling a sale
Comment for future reviews
Merge pull request #15 from suyccom/reduce_stock_on_sale

Reduce stock after sale and increase after cancelling a sale