Update issue4030.diff last analytic_account changes

This commit is contained in:
Raimon Esteve 2022-11-08 17:37:31 +01:00
parent 6451502bea
commit f78aa34c4c
1 changed files with 4 additions and 4 deletions

View File

@ -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',