splitline: add-2nd-unit-values extendable, new field 'feature'
This commit is contained in:
parent
4daeadce2b
commit
b6d9d06c4f
6 changed files with 36 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# This file is part of the cashbook-module from m-ds for Tryton.
|
||||
# This file is part of the cashbook-module from m-ds.de for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the
|
||||
# full copyright notices and license terms.
|
||||
|
||||
|
@ -84,6 +84,7 @@ class SplitLineTestCase(ModuleTestCase):
|
|||
self.assertEqual(books[0].lines[0].splitlines[1].rec_name,
|
||||
'Rev/Sp|6.00 usd|from cashbook [Book 2 | 0.00 usd | Open]')
|
||||
self.assertEqual(len(books[1].lines), 0)
|
||||
self.assertEqual(books[0].lines[0].splitlines[0].feature, 'gen')
|
||||
|
||||
# wf: edit -> check
|
||||
Line.wfcheck(books[0].lines)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue