@ -2,7 +2,7 @@
# Copyright 2019 Jacques-Etienne Baudoux (BCIM sprl) <je@bcim.be>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, models, fields
from openerp import api, models
class PosOrder(models.Model):
@ -34,7 +34,8 @@ class PosMakePayment(models.TransientModel):
if amount != 0.0:
data = self.read()[0]
data['journal'] = data['journal_id'][0]
self.pool['pos.order'].add_payment(self._cr, self._uid, active_id, data, self._context)
self.pool['pos.order'].add_payment(
self._cr, self._uid, active_id, data, self._context)
if order.test_paid():
order.signal_workflow('paid')
@ -1 +0,0 @@
../../../hw_customer_display
../../../hw_telium_payment_terminal
../../../pos_autoreconcile
../../../pos_customer_display
../../../pos_customer_required
../../../pos_default_empty_image
../../../pos_gift_ticket
../../../pos_invoice_journal
../../../pos_order_load
../../../pos_order_picking_link
../../../pos_order_pricelist_change
../../../pos_payment_terminal
../../../pos_pricelist
../../../pos_product_template
../../../pos_remove_pos_category