validate with prevdoc

This commit is contained in:
Nabin Hait
2013-07-08 19:00:29 +05:30
parent 11eda08cd5
commit 2bd37771ca
21 changed files with 174 additions and 225 deletions

View File

@@ -358,6 +358,7 @@ class AccountsController(TransactionBase):
def get_company_default(self, fieldname):
from accounts.utils import get_company_default
return get_company_default(self.doc.company, fieldname)
@property
def stock_items(self):