Jagdish Panchal (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-improve_default_filter_account-jap into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-improve_default_filter_account-jap/+merge/94318
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
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-improve_default_filter_account-jap/+merge/94318
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-improve_default_filter_account-jap.
=== modified file 'account/account_end_fy.xml'
--- account/account_end_fy.xml 2011-01-14 00:11:01 +0000
+++ account/account_end_fy.xml 2012-02-23 06:15:25 +0000
@@ -7,7 +7,7 @@
<field name="res_model">account.period</field>
<field name="view_type">form</field>
<field name="view_id" ref="view_account_period_tree"/>
- <field name="context">{'search_default_draft': 1}</field>
+ <field name="context">{}</field>
<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>
</record>
<menuitem
=== modified file 'account/account_view.xml'
--- account/account_view.xml 2012-02-14 11:07:04 +0000
+++ account/account_view.xml 2012-02-23 06:15:25 +0000
@@ -146,7 +146,7 @@
<field name="res_model">account.period</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
- <field name="context">{'search_default_draft': 1}</field>
+ <field name="context">{}</field>
<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>
</record>
<menuitem action="action_account_period_form" id="menu_action_account_period_form" parent="account.next_id_23"/>
=== modified file 'account_analytic_analysis/account_analytic_analysis_menu.xml'
--- account_analytic_analysis/account_analytic_analysis_menu.xml 2012-02-09 16:15:44 +0000
+++ account_analytic_analysis/account_analytic_analysis_menu.xml 2012-02-23 06:15:25 +0000
@@ -8,7 +8,7 @@
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="domain">[('invoice_id','=',False)]</field>
- <field name="context">{'search_default_to_invoice': 1}</field>
+ <field name="context">{}</field>
<field name="search_view_id" ref="account.view_account_analytic_line_filter"/>
</record>
<menuitem action="action_hr_tree_invoiced_all" id="menu_action_hr_tree_invoiced_all" parent="base.menu_invoiced"/>
@@ -62,7 +62,7 @@
<field name="res_model">account.analytic.account</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form,graph</field>
- <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>
+ <field name="context">{}</field>
<field name="domain">[('type','=','normal')]</field>
<field name="search_view_id" ref="view_account_analytic_account_overdue_search"/>
<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>
=== modified file 'account_analytic_default/account_analytic_default_view.xml'
--- account_analytic_default/account_analytic_default_view.xml 2012-01-31 13:36:57 +0000
+++ account_analytic_default/account_analytic_default_view.xml 2012-02-23 06:15:25 +0000
@@ -73,7 +73,7 @@
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="view_account_analytic_default_form_search"/>
- <field name="context">{"search_default_current":1}</field>
+ <field name="context">{}</field>
</record>
<act_window
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp