# Fermer simplement la fenêtre
return {'type': 'ir.actions.act_window_close'}
- #-----------------------------------------------------------------------
+ #======================================================================
# # Renvoi vers la vue du modèle
# return {
# "type": 'ir.actions.act_window',
# #'target': 'new', = pop-up
# 'context': context,
# }
- #-----------------------------------------------------------------------
+ #======================================================================
_columns = {
"main": fields.boolean(string="Domaine principal ?"),