Fee CN/DN
This commit is contained in:
@@ -1017,6 +1017,9 @@ class Purchase(
|
||||
logger.info("PROCESS_INVOICE:%s",action)
|
||||
invoice = purchase.create_invoice(lots,action)
|
||||
if not invoice:
|
||||
logger.info(
|
||||
"PROCESS_INVOICE_NO_INVOICE: purchase=%s action=%s",
|
||||
getattr(purchase, 'id', None), action)
|
||||
continue
|
||||
if action == 'prov':
|
||||
invoice.reference = 'Provisional'
|
||||
@@ -1028,6 +1031,7 @@ class Purchase(
|
||||
|
||||
if invoices:
|
||||
cls._save_invoice(invoices,prepayment)
|
||||
return invoices
|
||||
|
||||
@classmethod
|
||||
def _save_invoice(cls, invoices,prepayment=None):
|
||||
|
||||
Reference in New Issue
Block a user