fix: Sider issues
This commit is contained in:
parent
f977c65e80
commit
f9356ee642
@ -868,8 +868,8 @@ class PurchaseInvoice(BuyingController):
|
||||
"account": tax.account_head,
|
||||
"against": self.supplier,
|
||||
dr_or_cr: base_amount,
|
||||
dr_or_cr + "_in_account_currency": base_amount \
|
||||
if account_currency==self.company_currency \
|
||||
dr_or_cr + "_in_account_currency": base_amount
|
||||
if account_currency==self.company_currency
|
||||
else amount,
|
||||
"cost_center": tax.cost_center
|
||||
}, account_currency, item=tax)
|
||||
|
@ -1057,6 +1057,7 @@ class SalesInvoice(SellingController):
|
||||
if orginal_schedule_date == posting_date_of_original_invoice:
|
||||
return True
|
||||
return False
|
||||
|
||||
@property
|
||||
def enable_discount_accounting(self):
|
||||
if not hasattr(self, "_enable_discount_accounting"):
|
||||
|
Loading…
Reference in New Issue
Block a user