Group invoices that shipment_party is none

This commit is contained in:
Raimon Esteve 2023-01-23 12:01:56 +01:00
parent bdc07a9df2
commit 5e0e3f50dd
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ class Sale(metaclass=PoolMeta):
else:
invoice_domain.append(
('shipment_party', '=', self.shipment_party))
else:
invoice_domain.append(('shipment_party', '=', None))
return invoice_domain
def _get_invoice_sale(self):