summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-03-16 09:10:01 +0100
committerNicolas Lempereur <nle@odoo.com>2015-03-19 09:56:12 +0100
commitb97578f689bb8be6e86de9885dd7613f37a0a7ac (patch)
tree4d9cd4988a45d392f3ebe77a9f5f02c1634d46e4 /addons/analytic_user_function/analytic_user_function_view.xml
parente1daaff8e0711f4fc39a8360ace01f8529a4754e (diff)
[FIX] view_form: sequence at item creation
The sequence for new items in some models is simply set to a constant 10. Hence if 3 items had after reordering sequences 10, 11 and 12. If a new item is added, it would get after saving at the second position. This fix set the sequence of a new item to the maximum+1 or minimum-1 sequence of current items sequences (max if tree has editable="bottom", min if tree has editable="top"). opw-627830
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions