Enforce the usage of account kind

issue2475
review295005
This commit is contained in:
Cédric Krier committed 2012-03-30 14:21:17 +02:00
1 parent d022bade8d
commit e33692e15f
1 file changed
+1 -1
+1 -1
View File
@@ -111,7 +111,7 @@ Create chart of accounts::
... ('company', '=', company.id),
... ])
>>> stock, stock_supplier, stock_lost_found, stock_customer = Account.find([
... ('kind', '=', 'other'),
... ('kind', '=', 'stock'),
... ('company', '=', company.id),
... ('name', 'like', 'Stock%'),
... ], order=[('name', 'ASC')])