Merge lp:~openerp-dev/openobject-addons/trunk-improve_default_filter_account-jap into lp:openobject-addons

Proposed by Jagdish Panchal (Open ERP)
Status: Work in progress
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-improve_default_filter_account-jap
Merge into: lp:openobject-addons
Diff against target: 60 lines (+5/-5)
4 files modified
account/account_end_fy.xml (+1/-1)
account/account_view.xml (+1/-1)
account_analytic_analysis/account_analytic_analysis_menu.xml (+2/-2)
account_analytic_default/account_analytic_default_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-improve_default_filter_account-jap
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+94318@code.launchpad.net

Description of the change

Hello,

Account: Remove the default filter on list view from the following files
  1) account/account_end_fy.xml
  2) account/account_view.xml
  3) account_analytic_analysis/account_analytic_analysis_menu.xml
  4) account_analytic_default/account_analytic_default_view.xml

Thanks,
JAP

To post a comment you must log in.

Unmerged revisions

6628. By Jagdish Panchal (Open ERP)

[IMP] account: Remove the default filter on list view

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_end_fy.xml'
2--- account/account_end_fy.xml 2011-01-14 00:11:01 +0000
3+++ account/account_end_fy.xml 2012-02-23 06:15:25 +0000
4@@ -7,7 +7,7 @@
5 <field name="res_model">account.period</field>
6 <field name="view_type">form</field>
7 <field name="view_id" ref="view_account_period_tree"/>
8- <field name="context">{'search_default_draft': 1}</field>
9+ <field name="context">{}</field>
10 <field name="help">A period is a fiscal period of time during which accounting entries should be recorded for accounting related activities. Monthly period is the norm but depending on your countries or company needs, you could also have quarterly periods. Closing a period will make it impossible to record new accounting entries, all new entries should then be made on the following open period. Close a period when you do not want to record new entries and want to lock this period for tax related calculation.</field>
11 </record>
12 <menuitem
13
14=== modified file 'account/account_view.xml'
15--- account/account_view.xml 2012-02-14 11:07:04 +0000
16+++ account/account_view.xml 2012-02-23 06:15:25 +0000
17@@ -146,7 +146,7 @@
18 <field name="res_model">account.period</field>
19 <field name="view_type">form</field>
20 <field name="view_mode">tree,form</field>
21- <field name="context">{'search_default_draft': 1}</field>
22+ <field name="context">{}</field>
23 <field name="help">Here you can define a financial period, an interval of time in your company's financial year. An accounting period typically is a month or a quarter. It usually corresponds to the periods of the tax declaration. Create and manage periods from here and decide whether a period should be closed or left open depending on your company's activities over a specific period.</field>
24 </record>
25 <menuitem action="action_account_period_form" id="menu_action_account_period_form" parent="account.next_id_23"/>
26
27=== modified file 'account_analytic_analysis/account_analytic_analysis_menu.xml'
28--- account_analytic_analysis/account_analytic_analysis_menu.xml 2012-02-09 16:15:44 +0000
29+++ account_analytic_analysis/account_analytic_analysis_menu.xml 2012-02-23 06:15:25 +0000
30@@ -8,7 +8,7 @@
31 <field name="view_type">form</field>
32 <field name="view_mode">tree,form</field>
33 <field name="domain">[('invoice_id','=',False)]</field>
34- <field name="context">{'search_default_to_invoice': 1}</field>
35+ <field name="context">{}</field>
36 <field name="search_view_id" ref="account.view_account_analytic_line_filter"/>
37 </record>
38 <menuitem action="action_hr_tree_invoiced_all" id="menu_action_hr_tree_invoiced_all" parent="base.menu_invoiced"/>
39@@ -62,7 +62,7 @@
40 <field name="res_model">account.analytic.account</field>
41 <field name="view_type">form</field>
42 <field name="view_mode">tree,form,graph</field>
43- <field name="context">{'search_default_has_partner':1, 'search_default_user_id':uid, 'search_default_draft':1, 'search_default_pending':1, 'search_default_open':1, 'search_default_renew':1}</field>
44+ <field name="context">{}</field>
45 <field name="domain">[('type','=','normal')]</field>
46 <field name="search_view_id" ref="view_account_analytic_account_overdue_search"/>
47 <field name="help">You will find here the contracts to be renewed because the deadline is passed or the working hours are higher than the allocated hours. OpenERP automatically sets these analytic accounts to the pending state, in order to raise a warning during the timesheets recording. Salesmen should review all pending accounts and reopen or close the according to the negotiation with the customer.</field>
48
49=== modified file 'account_analytic_default/account_analytic_default_view.xml'
50--- account_analytic_default/account_analytic_default_view.xml 2012-01-31 13:36:57 +0000
51+++ account_analytic_default/account_analytic_default_view.xml 2012-02-23 06:15:25 +0000
52@@ -73,7 +73,7 @@
53 <field name="view_type">form</field>
54 <field name="view_mode">tree,form</field>
55 <field name="search_view_id" ref="view_account_analytic_default_form_search"/>
56- <field name="context">{"search_default_current":1}</field>
57+ <field name="context">{}</field>
58 </record>
59
60 <act_window

Subscribers

People subscribed via source and target branches

to all changes: