Wizards no longer working in version 6.0

Bug #709300 reported by James Jesudason
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Critical
OpenERP R&D Web Team

Bug Description

None of the wizard-based reports are working in version 6.0 trunk in the web client. They work fine in the GTK client. When clicking the 'Print' button of a wizard, it puts the form into an edit state.

bzr web revno: 4486
bzr server revno: 3331

Example reports:
  Accounting module: General Ledger, Balance Sheet, Taxes Report and more...
  HR_Timesheet module: Employee Timesheet, Employees Timesheet

Here's the requests sent to the web server on clicking 'Print' on the wizard i.e. 'form/save' followed by 'form/edit'

127.0.0.1 - - [28/Jan/2011:15:31:39] "POST /openerp/form/save?_terp_button%2Fname=check_report&_terp_button%2Fbtype=object&_terp_button%2Fmodel=account.report.general.ledger&_terp_button%2Fid= HTTP/1.1" 303 1214 "http://localhost:8080/openerp/execute?payload=eJxdUktOwzAQvUp3plIVQStQxQFgww5Yocoa4kkwcmzLH0KJcnc8Tt2kXVkev3kfzwwM6iCNZo-rgbXOROu5FOn2cdismDAdSHp7AuUxFb5Q2cX1R2LPw9FiqkXWGNexVIUYDPcIrv5K9TcXCerQ884IVBkKdW2iDpVDa1yoWtToQFUKRYuOFeZs5Gb3sN-klucJs3qZMOsEmjT4jC2-sgOHTRIlC7eFkAxcWD21-hI4s2y3SZAFcC2GjNbYE9jYZEHMkbqoglyoaugm9iurBEUd_dXHZdGSLhtak4VGqpCaZqx39fnnSk1IbxUcOfHyIJczUbKTZHtPqWujA_5OKYaRnEQPLS7g5-lJV02r4OnkvdTC9GwkMQiQ92NmG5gC3eY-1Pz9lZjD34K2VhI1IVmPn_RqnfnGxHsxJ4EWXEghTvUdyZWs5CjKiiKyMpq7-23eJdqasnjMimYC5B9NkMM4_gPYkOee" "Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13"
127.0.0.1 - - [28/Jan/2011:15:31:39] "GET /openerp/form/edit?domain=%5B%5D&search_data=&requested_with=XMLHttpRequest&view_mode=%5Bu%27form%27%5D&offset=0&view_ids=%5B368%5D&id=1&notebook_tab=0&count=1&filter_domain=%5B%5D&search_domain=&ids=%5B1%5D&source=None&limit=20&context=%7B%27lang%27%3A+u%27en_US%27%2C+%27active_ids%27%3A+%5B152%5D%2C+%27tz%27%3A+False%2C+%27active_model%27%3A+%27ir.ui.menu%27%2C+%27_terp_view_name%27%3A+u%27General+Ledger%27%2C+%27active_id%27%3A+152%2C+%27client%27%3A+%27web%27%2C+%27project_id%27%3A+False%2C+%27department_id%27%3A+3%7D&model=account.report.general.ledger HTTP/1.1" 200 44054 "http://localhost:8080/openerp/execute?payload=eJxdUktOwzAQvUp3plIVQStQxQFgww5Yocoa4kkwcmzLH0KJcnc8Tt2kXVkev3kfzwwM6iCNZo-rgbXOROu5FOn2cdismDAdSHp7AuUxFb5Q2cX1R2LPw9FiqkXWGNexVIUYDPcIrv5K9TcXCerQ884IVBkKdW2iDpVDa1yoWtToQFUKRYuOFeZs5Gb3sN-klucJs3qZMOsEmjT4jC2-sgOHTRIlC7eFkAxcWD21-hI4s2y3SZAFcC2GjNbYE9jYZEHMkbqoglyoaugm9iurBEUd_dXHZdGSLhtak4VGqpCaZqx39fnnSk1IbxUcOfHyIJczUbKTZHtPqWujA_5OKYaRnEQPLS7g5-lJV02r4OnkvdTC9GwkMQiQ92NmG5gC3eY-1Pz9lZjD34K2VhI1IVmPn_RqnfnGxHsxJ4EWXEghTvUdyZWs5CjKiiKyMpq7-23eJdqasnjMimYC5B9NkMM4_gPYkOee" "Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13"
127.0.0.1 - - [28/Jan/2011:15:31:39] "GET /openerp/j18n/en_US HTTP/1.1" 200 30 "http://localhost:8080/openerp/execute?payload=eJxdUktOwzAQvUp3plIVQStQxQFgww5Yocoa4kkwcmzLH0KJcnc8Tt2kXVkev3kfzwwM6iCNZo-rgbXOROu5FOn2cdismDAdSHp7AuUxFb5Q2cX1R2LPw9FiqkXWGNexVIUYDPcIrv5K9TcXCerQ884IVBkKdW2iDpVDa1yoWtToQFUKRYuOFeZs5Gb3sN-klucJs3qZMOsEmjT4jC2-sgOHTRIlC7eFkAxcWD21-hI4s2y3SZAFcC2GjNbYE9jYZEHMkbqoglyoaugm9iurBEUd_dXHZdGSLhtak4VGqpCaZqx39fnnSk1IbxUcOfHyIJczUbKTZHtPqWujA_5OKYaRnEQPLS7g5-lJV02r4OnkvdTC9GwkMQiQ92NmG5gC3eY-1Pz9lZjD34K2VhI1IVmPn_RqnfnGxHsxJ4EWXEghTvUdyZWs5CjKiiKyMpq7-23eJdqasnjMimYC5B9NkMM4_gPYkOee" "Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13"

Revision history for this message
James Jesudason (jamesj) wrote :
Download full text (3.9 KiB)

Just tested against the same database using revno 4453 (tagged rel. 6.0.1), and that version works. So, this is a new bug that has been introduced. Here are the equivalent messages send to the web server:

127.0.0.1 - - [28/Jan/2011:15:49:24] "POST /openerp/form/save?_terp_button%2Fname=check_report&_terp_button%2Fbtype=object&_terp_button%2Fmodel=account.report.general.ledger&_terp_button%2Fid= HTTP/1.1" 200 1547 "http://localhost:8080/openerp/execute?payload=eJxdUktOwzAQvUp3plIVQStQxQFgww5Yocoa4kkwcmzLH0KJcnc8Tt2kXVkev3kfzwwM6iCNZo-rgbXOROu5FOn2cdismDAdSHp7AuUxFb5Q2cX1R2LPw9FiqkXWGNexVIUYDPcIrv5K9TcXCerQ884IVBkKdW2iDpVDa1yoWtToQFUKRYuOFeZs5Gb3sN-klucJs3qZMOsEmjT4jC2-sgOHTRIlC7eFkAxcWD21-hI4s2y3SZAFcC2GjNbYE9jYZEHMkbqoglyoaugm9iurBEUd_dXHZdGSLhtak4VGqpCaZqx39fnnSk1IbxUcOfHyIJczUbKTZHtPqWujA_5OKYaRnEQPLS7g5-lJV02r4OnkvdTC9GwkMQiQ92NmG5gC3eY-1Pz9lZjD34K2VhI1IVmPn_RqnfnGxHsxJ4EWXEghTvUdyZWs5CjKiiKyMpq7-23eJdqasnjMimYC5B9NkMM4_gPYkOee" "Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13"
127.0.0.1 - - [28/Jan/2011:15:49:35] "GET /openerp/report?context={%27lang%27:%20u%27en_US%27,%20%27project_id%27:%20False,%20%27tz%27:%20False,%20%27active_model%27:%20%27ir.ui.menu%27,%20%27department_id%27:%203,%20%27_terp_view_name%27:%20u%27General%20Ledger%27,%20%27client%27:%20%27web%27,%20%27active_ids%27:%20[152],%20%27active_id%27:%20152}&model=ir.ui.menu&ids=[152]&form={%27initial_balance%27:%20False,%20%27chart_account_id%27:%2030,%20%27display_account%27:%20u%27bal_all%27,%20%27date_from%27:%20False,%20%27landscape%27:%20True,%20%27period_to%27:%20False,%20%27journal_ids%27:%20[3,%202,%201],%20%27used_context%27:%20{%27chart_account_id%27:%2030,%20%27journal_ids%27:%20[3,%202,%201],%20%27fiscalyear%27:%201},%20%27filter%27:%20u%27filter_no%27,%20%27period_from%27:%20False,%20%27fiscalyear_id%27:%201,%20%27periods%27:%20[],%20%27date_to%27:%20False,%20%27amount_currency%27:%20True,%20%27id%27:%204,%20%27target_move%27:%20u%27posted%27,%20%27sortby%27:%20u%27sort_date%27}&report_name=account.general.ledger_landscape HTTP/1.1" 200 64167 "http://localhost:8080/openerp/execute?payload=eJxdUktOwzAQvUp3plIVQStQxQFgww5Yocoa4kkwcmzLH0KJcnc8Tt2kXVkev3kfzwwM6iCNZo-rgbXOROu5FOn2cdismDAdSHp7AuUxFb5Q2cX1R2LPw9FiqkXWGNexVIUYDPcIrv5K9TcXCerQ884IVBkKdW2iDpVDa1yoWtToQFUKRYuOFeZs5Gb3sN-klucJs3qZMOsEmjT4jC2-sgOHTRIlC7eFkAxcWD21-hI4s2y3SZAFcC2GjNbYE9jYZEHMkbqoglyoaugm9iurBEUd_dXHZdGSLhtak4VGqpCaZqx39fnnSk1IbxUcOfHyIJczUbKTZHtPqWujA_5OKYaRnEQPLS7g5-lJV02r4OnkvdTC9GwkMQiQ92NmG5gC3eY-1Pz9lZjD34K2VhI1IVmPn_RqnfnGxHsxJ4EWXEghTvUdyZWs5CjKiiKyMpq7-23eJdqasnjMimYC5B9NkMM4_gPYkOee" "Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13"
127.0.0.1 - - [28/Jan/2011:15:49:35] "GET /openerp/execute?payload=eJxdUktOwzAQvUp3plIVQStQxQFgww5Yocoa4kkwcmzLH0KJcnc8Tt2kXVkev3kfzwwM6iCNZo-rgbXOROu5FOn2cdismDAdSHp7AuUxFb5Q2cX1R2LPw9FiqkXWGNexVIUYDPcIrv5K9TcXCerQ884IVBkKdW2iDpVDa1yoWtToQFUKRYuOFeZs5Gb3sN-klucJs3qZMOsEmjT4jC2-sgOHTRIlC7eFkAxcWD21-hI4s2y3SZAFcC2GjNbYE9jYZEHMkbqoglyoaugm9iurBEUd_dXHZdGSLhtak4VGqpCaZqx39fnnSk1IbxUcOfHyIJczUbKTZHtPqWujA_5OKYaRnEQPLS7g5-lJV02r4OnkvdTC9GwkMQiQ...

Read more...

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Yes this was introduced when I merged the "trunk" fixes back into 6.0, fixes to the handling of report actions (non-wizard based) were committed there, then some cleaning was performed to things which seemed not useful but those were still in use by wizard-based reports.

They broke at ~15:21 UTC, fwiw. I pushed the fix.

Changed in openobject-client-web:
milestone: none → 6.0.2
status: New → Confirmed
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
importance: Undecided → Critical
status: Confirmed → Fix Released
Revision history for this message
James Jesudason (jamesj) wrote :

I've retested this with the changes that have been merged into trunk, and the problem is still there. Looking at the message traces, it is sending an 'edit' when it should be calling 'report'.

web revno: 4487
server revno: 3332

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

That would be correct, since you talked about version 6.0 I fixed them in the 6.0 branch, the fix has not yet been merged to trunk

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.