mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
aii: stock reconciliation with test case
This commit is contained in:
@@ -24,9 +24,9 @@ from buying.utils import get_item_details
|
||||
from setup.utils import get_company_currency
|
||||
from webnotes.model.utils import round_floats_in_doc
|
||||
|
||||
from controllers.accounts_controller import AccountsController
|
||||
from controllers.stock_controller import StockController
|
||||
|
||||
class BuyingController(AccountsController):
|
||||
class BuyingController(StockController):
|
||||
def validate(self):
|
||||
if self.meta.get_field("currency"):
|
||||
self.company_currency = get_company_currency(self.doc.company)
|
||||
|
||||
Reference in New Issue
Block a user