diff options
| author | Yannick Tivisse <yti@odoo.com> | 2015-08-06 17:48:09 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2015-08-10 15:22:31 +0200 |
| commit | 3d8f7c2f24e1894af973576b9cfd3ec632d675f7 (patch) | |
| tree | 961e0ed0b333ac4d6bd324efde9c3bd78cf0dd47 /addons/note | |
| parent | 522086c98b51bac0b384f067bdb1d1e65f7445fb (diff) | |
[IMP] All res_config files : Convert Booleans to Selection fields + radio buttons in views
Diffstat (limited to 'addons/note')
| -rw-r--r-- | addons/note/note.py | 7 | ||||
| -rw-r--r-- | addons/note/note_view.xml | 21 |
2 files changed, 0 insertions, 28 deletions
diff --git a/addons/note/note.py b/addons/note/note.py index f3a442b501d..b2ba017bbd1 100644 --- a/addons/note/note.py +++ b/addons/note/note.py @@ -157,13 +157,6 @@ class note_note(osv.osv): offset=offset, limit=limit, context=context, orderby=orderby,lazy=lazy) -#upgrade config setting page to configure pad -class note_base_config_settings(osv.osv_memory): - _inherit = 'base.config.settings' - _columns = { - 'module_note_pad': fields.boolean('Use collaborative pads (etherpad)'), - } - class res_users(osv.Model): _name = 'res.users' _inherit = ['res.users'] diff --git a/addons/note/note_view.xml b/addons/note/note_view.xml index 97d6a0fec3a..c0212c90eed 100644 --- a/addons/note/note_view.xml +++ b/addons/note/note_view.xml @@ -139,27 +139,6 @@ </field> </record> - - <!-- general settings --> - <record model="ir.ui.view" id="view_general_settings_note_form"> - <field name="name">note.view.general_settings.form</field> - <field name="model">base.config.settings</field> - <field name="inherit_id" ref="base_setup.view_general_configuration"/> - <field name="arch" type="xml"> - <xpath expr="//group[@name='authentication']" position="after"> - <group> - <label for="id" string="Notes"/> - <div name="note"> - <div> - <field name="module_note_pad" class="oe_inline"/> - <label for="module_note_pad"/> - </div> - </div> - </group> - </xpath> - </field> - </record> - <!-- Action --> <record model="ir.actions.act_window" id="action_note_note"> <field name="name">Notes</field> |
