Technical module that applies some refactoring on built-in pos_discount
module to allow easily extend its methods.
More details:
- method
button_click
is moved to OrderWidget with new namediscount_button_click
. - callback on confirming discount is a new method
confirm_discount
in OrderWidget - method
apply_discount
is moved to OrderWidget with the same name.
Demo: http://runbot.it-projects.info/demo/pos-addons/10.0
HTML Description: https://apps.odoo.com/apps/modules/10.0/pos_discount_base/
Usage instructions: doc/index.rst
Changelog: doc/changelog.rst
Tested on Odoo 10.0 a63ecee47ac271b1f0a23528d9d5eab7f63ae528