Merge branch 'main' into 6.0
This commit is contained in:
commit
df9ff9c47c
1 changed files with 2 additions and 2 deletions
|
@ -65,6 +65,7 @@ class Incoming(metaclass=PoolMeta):
|
||||||
Defaults to False.
|
Defaults to False.
|
||||||
"""
|
"""
|
||||||
for document in documents:
|
for document in documents:
|
||||||
|
if document.type == 'supplier_invoice':
|
||||||
document._facturx_detect_content()
|
document._facturx_detect_content()
|
||||||
super().process(documents, with_children)
|
super().process(documents, with_children)
|
||||||
|
|
||||||
|
@ -90,7 +91,6 @@ class Incoming(metaclass=PoolMeta):
|
||||||
invoice = self._readxml_update_invoice(invoice)
|
invoice = self._readxml_update_invoice(invoice)
|
||||||
invoice.save()
|
invoice.save()
|
||||||
self._readxml_check_invoice(invoice)
|
self._readxml_check_invoice(invoice)
|
||||||
# raise ValueError('stop')
|
|
||||||
return invoice
|
return invoice
|
||||||
|
|
||||||
def _readxml_check_invoice(self, invoice):
|
def _readxml_check_invoice(self, invoice):
|
||||||
|
|
Loading…
Reference in a new issue