diff --git a/pos_session_summary/models/pos_session.py b/pos_session_summary/models/pos_session.py index d9d42030..5857937b 100644 --- a/pos_session_summary/models/pos_session.py +++ b/pos_session_summary/models/pos_session.py @@ -31,7 +31,9 @@ class PosSession(models.Model): session.order_qty = len(session.order_ids) total_amount = fields.Monetary( - compute='_compute_total_amount', string='Transactions Total') + compute='_compute_total_amount', string='Transactions Total', + store=True) order_qty = fields.Integer( - compute='_compute_order_qty', string='Orders Qty') + compute='_compute_order_qty', string='Orders Qty', + store=True)