Fix/move buttons to action menu
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
241 241 for record in self: 242 242 record.write({"state": "draft"}) 243 243 244 def validate_state(self, state): I searched a bit how to avoid this validation (I understand why did you implemented this way) and I found that you can inherit
fields_view_get
where you can modifyres['toolbar']['action']
depending on logic, but it adds a lot of complexity.
added ToBeMerged label
added 1 commit
- 148d34b5 - [FIX] energy_selfconsumption: change the actions names
added 1 commit
- 422a1844 - [FIX] energy_selfconsumption: send correct id to url
mentioned in commit 4f97f163
mentioned in merge request !334 (merged)
Please register or sign in to reply