main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit 2ebbe334bf - Show all commits

View File

@@ -1005,6 +1005,11 @@ class Purchase(
for purchase in purchases:
logger.info("PROCESS_INVOICE:%s",action)
invoice = purchase.create_invoice(lots,action)
#check if forex
forex_rate = invoice.get_forex()
if forex_rate:
invoice.selection_rate = 'forex'
if action == 'prov':
invoice.reference = 'Provisional'
elif action == 'service':