minor fixes
This commit is contained in:
parent
9cc28a77c9
commit
3c56aa9c1d
@ -1143,7 +1143,7 @@ class SalesInvoice(SellingController):
|
|||||||
''', (self.company, item.deferred_revenue_account, "Sales Invoice", self.name, item.name), as_dict=True)[0]
|
''', (self.company, item.deferred_revenue_account, "Sales Invoice", self.name, item.name), as_dict=True)[0]
|
||||||
base_amount = flt(item.base_net_amount - gl_entries_details.total_debit, item.precision("base_net_amount"))
|
base_amount = flt(item.base_net_amount - gl_entries_details.total_debit, item.precision("base_net_amount"))
|
||||||
if account_currency==self.company_currency:
|
if account_currency==self.company_currency:
|
||||||
amount =
|
amount = base_amount
|
||||||
else:
|
else:
|
||||||
amount = flt(item.net_amount - gl_entries_details.total_debit_in_account_currency, item.precision("net_amount"))
|
amount = flt(item.net_amount - gl_entries_details.total_debit_in_account_currency, item.precision("net_amount"))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user