[fixes][aii] cancelled gl entry for delivery note and patch

This commit is contained in:
Nabin Hait
2013-05-23 17:41:52 +05:30
parent 5dc36f416a
commit b56412c646
3 changed files with 31 additions and 1 deletions

View File

@@ -419,4 +419,4 @@ class DocType(SellingController):
if gl_entries:
from accounts.general_ledger import make_gl_entries
make_gl_entries(gl_entries)
make_gl_entries(gl_entries, cancel=(self.doc.docstatus == 2))