mirror of
https://github.com/NaN-tic/trytond-account_invoice_tree.git
synced 2023-12-14 04:03:00 +01:00
Fill lines_tree add_remove attribute. Extra depend to account_invoice_line_standalone
This commit is contained in:
parent
278d9c1c43
commit
76d83f86d5
2 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,8 @@ class Invoice:
|
|||
super(Invoice, cls).__setup__()
|
||||
if cls.lines.domain:
|
||||
cls.lines_tree._field.domain.extend(cls.lines.domain)
|
||||
if cls.lines.add_remove:
|
||||
cls.lines_tree._field.add_remove = cls.lines.add_remove[:]
|
||||
cls.lines_tree._field.states = cls.lines.states
|
||||
cls.lines_tree._field.context = cls.lines.context
|
||||
cls.lines_tree._field.depends = cls.lines.depends
|
||||
|
|
|
@ -2,5 +2,7 @@
|
|||
version=3.4.0
|
||||
depends:
|
||||
account_invoice
|
||||
extras_depend:
|
||||
account_invoice_line_standalone
|
||||
xml:
|
||||
invoice.xml
|
||||
|
|
Loading…
Reference in a new issue