Update issue4030.diff last analytic_account changes
This commit is contained in:
parent
6451502bea
commit
f78aa34c4c
|
@ -1,10 +1,10 @@
|
|||
diff -r 1329bfa523a8 trytond/trytond/modules/analytic_account/line.py
|
||||
--- a/trytond/trytond/modules/analytic_account/line.py Mon Apr 23 17:28:19 2018 +0200
|
||||
+++ b/trytond/trytond/modules/analytic_account/line.py Fri May 11 13:16:07 2018 +0200
|
||||
@@ -28,7 +28,7 @@
|
||||
'on_change_with_company', searcher='search_company')
|
||||
account = fields.Many2One('analytic_account.account', 'Account',
|
||||
required=True, select=True, domain=[
|
||||
@@ -29,7 +29,7 @@ class Line(ModelSQL, ModelView):
|
||||
account = fields.Many2One(
|
||||
'analytic_account.account', "Account", required=True,
|
||||
domain=[
|
||||
- ('type', 'not in', ['view', 'distribution']),
|
||||
+ ('type', 'not in', ['view', 'distribution', 'root']),
|
||||
['OR',
|
||||
|
|
Loading…
Reference in New Issue