diff options
| author | Hitesh Trivedi <htr@openerp.com> | 2014-12-08 12:09:57 +0530 |
|---|---|---|
| committer | Richard Mathot <rim@odoo.com> | 2015-01-08 18:14:28 +0100 |
| commit | c38bd48532f357d7b30d743ef21e55e8430524a7 (patch) | |
| tree | 66e64ad61281de4f4b0acd0f20331c2dd557c915 /addons/document/document_view.xml | |
| parent | 0d1fba08e52e3ec2590cebb137c50fc4bad33efa (diff) | |
[REF] company_id fields: replace selection widget by options = {'no_create': True} in all views
Originally, selection widget was used to prevent the creation of new
companies, but now, we have an option for that in m2o widgets.
Diffstat (limited to 'addons/document/document_view.xml')
| -rw-r--r-- | addons/document/document_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml index 634af7193cd..907976a1643 100644 --- a/addons/document/document_view.xml +++ b/addons/document/document_view.xml @@ -12,7 +12,7 @@ <field name="name"/> <field name="parent_id"/> <field name="user_id" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'base.group_document_user']}"/> - <field name="company_id" groups="base.group_multi_company" widget="selection"/> + <field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/> </group> <notebook colspan="4"> <page string="Definition"> |
