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