Factorise rec_name in tree
We have a frequent pattern to construct rec_name like "parent \ name" but often we forget to implement the right searcher [1].
I think we could have a Mixin for that.
[1] https://groups.google.com/d/msg/tryton-dev/l_OlrlD1f48/Cq8AndnVAAAJ
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Cédric Krier added type::feature + 1 deleted label
added type::feature + 1 deleted label
- Cédric Krier assigned to @ced
assigned to @ced
- Cédric Krier added trytond + 1 deleted label and removed 1 deleted label
added trytond + 1 deleted label and removed 1 deleted label
- Cédric Krier added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
New review48281002 at https://codereview.tryton.org/48281002/#ps1
New review45011002 at https://codereview.tryton.org/45011002/#ps1
New review46391002 at https://codereview.tryton.org/46391002/#ps1
New review48291002 at https://codereview.tryton.org/48291002/#ps1
New review45021002 at https://codereview.tryton.org/45021002/#ps1
New review45421002 at https://codereview.tryton.org/45421002/#ps1
New review45011003 at https://codereview.tryton.org/45011003/#ps1
New review42121002 at https://codereview.tryton.org/42121002/#ps1
New review48301002 at https://codereview.tryton.org/48301002/#ps1
New review50291002 at https://codereview.tryton.org/50291002/#ps1
New review46401002 at https://codereview.tryton.org/46401002/#ps1
review48281002 updated at https://codereview.tryton.org/48281002/#ps20001
This is great idea.
Since I cannot log in without g$ggl$ account, I mention here only
that perhaps the variable SEPARATOR, where used, can be removed as you
are using class input argument 'separator' for the value now.
(example, line 71 in trytond/ir/ui/menu.py: SEPARATOR = ' / ')review48281002 updated at https://codereview.tryton.org/48281002/#ps40001
New review45431002 at https://codereview.tryton.org/45431002/#ps1
review45431002 updated at https://codereview.tryton.org/45431002/#ps20001
review48281002 updated at https://codereview.tryton.org/48281002/#ps60001
review45011002 updated at https://codereview.tryton.org/45011002/#ps20001
review46391002 updated at https://codereview.tryton.org/46391002/#ps20001
New changeset 389fb32207ed by Cédric Krier in branch 'default':
Add tree mixin
http://hg.tryton.org/trytond/rev/389fb32207ed- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed
New changeset c5b2448cbddc by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/account/rev/c5b2448cbddcNew changeset b2309b6d20dc by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/analytic_account/rev/b2309b6d20dcNew changeset 7678d2de1f0e by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/company/rev/7678d2de1f0eNew changeset d345b7523f3d by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/party/rev/d345b7523f3dNew changeset 64114b9a3942 by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/product/rev/64114b9a3942New changeset ca7eec96e29f by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/product_classification/rev/ca7eec96e29fNew changeset ec44815c66a6 by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/project/rev/ec44815c66a6New changeset 311388817387 by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/project_plan/rev/311388817387New changeset 2d9a20a40f9c by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/stock/rev/2d9a20a40f9cNew changeset fd982907a4a2 by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/stock_package/rev/fd982907a4a2New changeset 9ecdbdd11780 by Cédric Krier in branch 'default':
Use tree mixin
http://hg.tryton.org/modules/production_work/rev/9ecdbdd11780