add list of booking lines on scheduled bookings
This commit is contained in:
parent
be92110ae1
commit
9b0af0d64e
7 changed files with 118 additions and 3 deletions
10
cashbook.py
10
cashbook.py
|
@ -18,3 +18,13 @@ class Cashbook(metaclass=PoolMeta):
|
|||
states={'invisible': ~Bool(Eval('btype'))})
|
||||
|
||||
# end Cashbook
|
||||
|
||||
|
||||
class CashbookLine(metaclass=PoolMeta):
|
||||
__name__ = 'cashbook.line'
|
||||
|
||||
planners = fields.Many2Many(
|
||||
string='Scheduled Bookings', relation_name='cashbook.planner_rel',
|
||||
origin='line', target='planner')
|
||||
|
||||
# end CashbookLine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue