diff --git a/CHANGELOG b/CHANGELOG index 1c5638ce82..8f12ad3ff8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Merge all kind of buttons * Use XML id for board action instead of id * Add states attribute to notebook * Allow to use tuple for Reference diff --git a/doc/ref/models/models.rst b/doc/ref/models/models.rst index 2a24c3a72d..72def97bd6 100644 --- a/doc/ref/models/models.rst +++ b/doc/ref/models/models.rst @@ -117,6 +117,11 @@ Static methods: Decorate button method to check group access. +.. staticmethod:: ModelView.button_action(action) + + Same as :stat:`ModelView.button` but return the action id of the XML `id` + action. + Instance methods: .. method:: ModelView.fields_view_get([view_id[, view_type[, toolbar]]]) diff --git a/trytond/ir/module/module.xml b/trytond/ir/module/module.xml index 2ec2b309c7..79ad2644df 100644 --- a/trytond/ir/module/module.xml +++ b/trytond/ir/module/module.xml @@ -18,18 +18,12 @@ this repository contains the full copyright notices and license terms. -->