From a3f4c4974d80718a84b9e6fd2cfd815aaeb7d304 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Mon, 27 Feb 2017 12:43:11 +0100 Subject: [PATCH] [IMP] pos: correct outdated comment So 2015 --- addons/point_of_sale/wizard/pos_payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/wizard/pos_payment.py b/addons/point_of_sale/wizard/pos_payment.py index 9351dbd919f..e4b494badde 100644 --- a/addons/point_of_sale/wizard/pos_payment.py +++ b/addons/point_of_sale/wizard/pos_payment.py @@ -51,7 +51,7 @@ class PosMakePayment(models.TransientModel): order = self.env['pos.order'].browse(self.env.context.get('active_id', False)) amount = order.amount_total - order.amount_paid data = self.read()[0] - # this is probably a problem of osv_memory as it's not compatible with normal OSV's + # add_payment expect a journal key data['journal'] = data['journal_id'][0] if amount != 0.0: order.add_payment(data)