Exclude refunded transaction
This commit is contained in:
parent
eda9896548
commit
2ab531b5b5
@ -85,6 +85,9 @@ class PosExportBcWizard(models.TransientModel):
|
||||
|
||||
order_no = 1
|
||||
for order in orders:
|
||||
if 'refund_orders_count' in order._fields and order.refund_orders_count > 0:
|
||||
continue
|
||||
|
||||
local_date = order.date_order.replace(tzinfo=pytz.UTC).astimezone(user_tz) if order.date_order else False
|
||||
|
||||
outlet = order.config_id.name or ''
|
||||
|
||||
Loading…
Reference in New Issue
Block a user