[FIX] point_of_sale: Correct the return payment date
When registering payment, we display now the date + time instead just the date. closes odoo/odoo#58667 X-original-commit: eb534d078dcdf58aedf09131dd57c8f6da69a910 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
This commit is contained in:
@@ -178,7 +178,7 @@ class PosOrder(models.Model):
|
||||
'name': _('return'),
|
||||
'pos_order_id': order.id,
|
||||
'amount': -pos_order['amount_return'],
|
||||
'payment_date': fields.Date.context_today(self),
|
||||
'payment_date': fields.Datetime.now(),
|
||||
'payment_method_id': cash_payment_method.id,
|
||||
'is_change': True,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user