Vishal Parmar(Open ERP) (vpa-openerp) has assigned this bug to you for OpenERP Web Client:
Observed in trunk and v6 To reproduce: create two account moves, one in the current period and one in a previous one. Go to Account/Statistics/entries analysis and try the "current year" and "current period" buttons. There is no effect. This has to do with stuff going on in http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/account/report/account_entries_report_view.xml#L77 pressing the "this period" button sets che context, whereas in http://bazaar.launchpad.net/~openerp/openobject- addons/trunk/view/head:/account/report/account_entries_report.py#L83 not the context, but the domain search args are used. Changing the xml to set the args instead of the context quickly fixes that, i.e. substituting line http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/account/report/account_entries_report_view.xml#L77 with domain="[('period_id','=','current_period')]" Still, before proposing a merge, can someone come up with something cleaner that writing strange stuff into "args" and then deleting it in the 'search' method? Thanks a lot ** Affects: openobject-client-web Importance: Medium Assignee: OpenERP SA's Web Client R&D (openerp-dev-web) Status: Confirmed ** Tags: account -- Entries analysis: current year and period filters doesn't work in https://bugs.launchpad.net/bugs/783915 You received this bug notification because you are a member of OpenERP SA's Web Client R&D, which is a bug assignee. _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-web Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-web More help : https://help.launchpad.net/ListHelp

