18.01.26
This commit is contained in:
@@ -1005,6 +1005,11 @@ class Purchase(
|
|||||||
for purchase in purchases:
|
for purchase in purchases:
|
||||||
logger.info("PROCESS_INVOICE:%s",action)
|
logger.info("PROCESS_INVOICE:%s",action)
|
||||||
invoice = purchase.create_invoice(lots,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':
|
if action == 'prov':
|
||||||
invoice.reference = 'Provisional'
|
invoice.reference = 'Provisional'
|
||||||
elif action == 'service':
|
elif action == 'service':
|
||||||
|
|||||||
Reference in New Issue
Block a user