~akretion-team/openerp-pos/8.0-pos-pay-small-enhancements

« back to all changes in this revision

Viewing changes to pos_pay_invoice/static/src/js/pos_pay_invoice_screen.js

  • Committer: adrien.peiffer at etspeiffer
  • Date: 2014-08-08 07:22:11 UTC
  • Revision ID: adrien.peiffer@etspeiffer.be-20140808072211-x3phkklxfrduijpo
[ADD] Add cash deposit module

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        start: function () {
16
16
            var self = this;
17
17
            this.invoice_list_widget = new module.InvoiceListWidget(this, {
18
 
                click_invoice_action: function(product){
19
 
                    self.pos.get('selectedOrder').addProduct(product);
 
18
                click_invoice_action: function(message, amount){
 
19
                    self.pos_widget.cash_deposit_popup.create_cash_deposit(message, amount);
20
20
                },
21
21
                hide_fct: function() {
22
22
                    self.pos_widget.screen_selector.set_current_screen('products');