File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1204,6 +1204,7 @@ def set_advances(self):
1204
1204
"advance_amount" : flt (d .amount ),
1205
1205
"allocated_amount" : allocated_amount ,
1206
1206
"ref_exchange_rate" : flt (d .exchange_rate ), # exchange_rate of advance entry
1207
+ "difference_posting_date" : self .posting_date ,
1207
1208
}
1208
1209
if d .get ("paid_from" ):
1209
1210
advance_row ["account" ] = d .paid_from
@@ -1509,7 +1510,6 @@ def make_exchange_gain_loss_journal(
1509
1510
gain_loss_account = frappe .get_cached_value (
1510
1511
"Company" , self .company , "exchange_gain_loss_account"
1511
1512
)
1512
-
1513
1513
je = create_gain_loss_journal (
1514
1514
self .company ,
1515
1515
args .get ("difference_posting_date" ) if args else self .posting_date ,
@@ -1595,6 +1595,7 @@ def update_against_document_in_jv(self):
1595
1595
"Company" , self .company , "exchange_gain_loss_account"
1596
1596
),
1597
1597
"exchange_gain_loss" : flt (d .get ("exchange_gain_loss" )),
1598
+ "difference_posting_date" : d .get ("difference_posting_date" ),
1598
1599
}
1599
1600
)
1600
1601
lst .append (args )
You can’t perform that action at this time.
0 commit comments