- Create a new action, very similar to the one from the Adding a menu item and window action recipe:
<act_window id="action_all_customers_fr" name="Tous les clients" res_model="res.partner" domain="[('customer', '=', True)]" context="{'lang': 'fr_FR', 'default_lang': 'fr_FR',
'active_test': False}" />
- Add a menu that calls this action. This is left as an exercise for the reader.
When you open this menu, the views will show up in French, and if you create a new partner, they will have French as their pre-selected language. A less obvious difference is that you will also see the deactivated partner records.