tabelle 'reconciliation' neu
This commit is contained in:
parent
ae5303658e
commit
01825cc09c
13 changed files with 571 additions and 36 deletions
3
line.py
3
line.py
|
@ -77,6 +77,8 @@ class Line(Workflow, ModelSQL, ModelView):
|
|||
required=True, readonly=True, depends=['currency_digits'])
|
||||
credit = fields.Numeric(string='Credit', digits=(16, Eval('currency_digits', 2)),
|
||||
required=True, readonly=True, depends=['currency_digits'])
|
||||
reconciliation = fields.Many2One(string='Reconciliation', readonly=True,
|
||||
model_name='cashbook.recon', ondelete='SET NULL')
|
||||
|
||||
balance = fields.Function(fields.Numeric(string='Balance',
|
||||
digits=(16, Eval('currency_digits', 2)),
|
||||
|
@ -494,7 +496,6 @@ class LineContext(ModelView):
|
|||
""" get number of accessible cashbooks,
|
||||
depends on user-permissions
|
||||
"""
|
||||
print('-- on_change_with_num_cashbook:', Transaction().context)
|
||||
LineContext = Pool().get('cashbook.line.context')
|
||||
return LineContext.default_num_cashbook()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue