Issue 9871

Title
Add methods to ModelView.button_change
Priority
feature
Status
resolved
Superseder
Add buttons to default form view (issue 9870)
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2020-11-23.19:37:12 by ced, last changed 1 month ago by roundup-bot.

Messages

New changeset 4fb788c59789 by Cédric Krier in branch 'default':
Support other methods for button_change decorator
https://hg.tryton.org/tryton-env/rev/4fb788c59789
New changeset 8bebc87164e0 by Cédric Krier in branch 'default':
Support other methods for button_change decorator
https://hg.tryton.org/trytond/rev/8bebc87164e0
New changeset 5aa253582a2d by Cédric Krier in branch 'default':
Use methods attribute on button_change
https://hg.tryton.org/modules/production/rev/5aa253582a2d
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-11-23.19:37:12

Just like fields.depends has a methods argument, we could also have it for ModelView.button_change as it will simplify the call to other methods (like in for Production.reset_bom).

History
Date User Action Args
2020-12-05 12:09:59roundup-botsetmessages: + msg62433
2020-12-05 12:09:55roundup-botsetmessages: + msg62432
2020-12-05 12:09:52roundup-botsetmessages: + msg62431
nosy: + roundup-bot
status: testing -> resolved
2020-11-24 00:28:10reviewbotsetmessages: + msg62167
2020-11-23 19:58:53reviewbotsetmessages: + msg62149
nosy: + reviewbot
2020-11-23 19:39:53cedlinkissue9800 superseder
2020-11-23 19:38:24cedsetkeyword: + review
reviews: 314871002
status: in-progress -> testing
superseder: + Add buttons to default form view
2020-11-23 19:37:12cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)