diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-09-17 14:30:54 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-09-17 14:30:54 +0200 |
| commit | 313c4ef511115dd598a23a3698dc8ad25fe21126 (patch) | |
| tree | ae45b346d31adff1d830ef072a71a84f311ed979 /addons/note/note_view.xml | |
| parent | 378b77a5e4e79ac761e6c072591fd84a295eb1bf (diff) | |
[IMP] note: search, css
bzr revid: chm@openerp.com-20120917123054-futj80nzfo725kiv
Diffstat (limited to 'addons/note/note_view.xml')
| -rw-r--r-- | addons/note/note_view.xml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/addons/note/note_view.xml b/addons/note/note_view.xml index 232b96f643a..5617fae4376 100644 --- a/addons/note/note_view.xml +++ b/addons/note/note_view.xml @@ -51,7 +51,7 @@ <field name="sequence"/> <field name="name"/> <field name="stage_id"/> - <field name="active"/> + <field name="open"/> <field name="memo"/> <field name="date_done"/> <field name="current_partner_id"/> @@ -65,8 +65,8 @@ <div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_global_click_edit oe_semantic_html_override oe_kanban_card #{record.group_fancy==1 ? 'oe_kanban_card_fancy' : ''}"> <div class="oe_dropdown_kanban"> <span> - <a name="onclick_note_is_done" type="object" t-if="record.active.raw_value" class="oe_e">W</a> - <a name="onclick_note_not_done" type="object" t-if="!record.active.raw_value" class="oe_e">è</a> + <a name="onclick_note_is_done" type="object" t-if="record.open.raw_value" class="oe_e">W</a> + <a name="onclick_note_not_done" type="object" t-if="!record.open.raw_value" class="oe_e">è</a> </span> <!-- dropdown menu --> @@ -80,7 +80,7 @@ </div> <!-- kanban memo --> - <div t-attf-class="oe_kanban_content #{record.active.raw_value ? '' : 'note_text_line_through'}"> + <div t-attf-class="oe_kanban_content #{record.open.raw_value ? '' : 'note_text_line_through'}"> <!-- title --> <field name="name"/> </div> @@ -107,7 +107,7 @@ <field name="arch" type="xml"> <tree string="Stages"> <field name="name"/> - <field name="active"/> + <field name="open"/> <field name="stage_id"/> <field name="tag_ids" widget="many2many_tags" groups="note.group_note_tags"/> </tree> @@ -143,8 +143,9 @@ <field name="memo" string="Sticky note"/> <field name="stage_id"/> <field name="tag_ids" groups="note.group_note_tags"/> - <filter name="active_true" string="Active" domain="['|',('active', '=', True),('date_done','=',time.strftime('%%Y-%%m-%%d'))]"/> - <filter name="active_false" string="Old" domain="[('active', '=', False)]"/> + <filter name="open_true" string="Active" domain="[('open', '=', True)]"/> + <filter name="open_today" string="Today" domain="['|',('open', '=', True),('date_done','=',time.strftime('%%Y-%%m-%%d'))]"/> + <filter name="open_false" string="Older" domain="[('open', '=', False)]"/> <group expand="0" string="Group By..."> <filter icon="terp-stock_symbol-selection" string="Stage" help="By sticky note Category" context="{'group_by':'stage_id'}"/> </group> @@ -188,7 +189,7 @@ <field name="view_type">form</field> <field name="view_mode">kanban,tree,form</field> <field name="search_view_id" ref="view_note_note_filter"/> - <field name="context">{'search_default_active_true':True}</field> + <field name="context">{'search_default_open_true':True}</field> </record> <menuitem name="Sticky notes" id="note_notes" parent="note_my_stuff" sequence="20" action="action_note_note"/> |
