[IMP] test_exceptions: show close button instead of save/discard

before this commit, when opening the test exception form from Tests -> Test exceptions -> Test exceptions, in the bottom of the form it currently shows Save and Discard button.

after this commit, on opening the same form, instead of save and discard, it will show Close button to close the opened form.

closes odoo/odoo#110361

Signed-off-by: Julien Castiaux <juc@odoo.com>
This commit is contained in:
niyasraphy
2023-01-20 16:54:14 +01:00
parent 81dadd9731
commit 19210a44a8
+3
View File
@@ -76,6 +76,9 @@
<label for="generate_validation_error_safe_eval" string="Validation Error-description"/>
</div>
</group>
<footer>
<button special="cancel" data-hotkey="z" string="Close"/>
</footer>
</form>
</field>
</record>