Activity log for bug #1282641

Date Who What changed Old value New value Message
2014-02-20 15:41:13 Leonardo Donelli bug added bug
2014-02-20 15:43:05 Leonardo Donelli description Description: I had an action that opened the view of a wizard appearing under the 'more' button when viewing an invoice. I wanted to make it appear under the 'print' button, so I went where the action was defined in the xml file and edited the act_window tag, particularly I changed the 'key2' attribute from 'client_action_multi' to 'client_print_multi'. After updating the module I found the action under the 'Print' button, as I desired, but it still was under the 'More' button also. After a little debugging I've found out that is because there were 2 records in the table ir_values, identical except for the key2 value: one was client_action_multi, the other client_print_multi. Instead of changing the value it created an identical new one, pointing to the same action! I then deleted manually from psql the record with key2 = action_client_multi and the action correctly disappeared from the 'more' button. Context: I had an action that opened the view of a wizard appearing under the 'more' button when viewing an invoice. I wanted to make it appear under the 'print' button, so I went where the action was defined in the xml file and edited the act_window tag, particularly I changed the 'key2' attribute from 'client_action_multi' to 'client_print_multi'. Problem: After updating the module I found the action under the 'Print' button, as I desired, but it still was under the 'More' button also. Cause and workaround: After a little debugging I've found out that is because there were 2 records in the table ir_values, identical except for the key2 value: one was client_action_multi, the other client_print_multi. Instead of changing the value it created an identical new one, pointing to the same action! I then deleted manually from psql the record with key2 = action_client_multi and the action correctly disappeared from the 'more' button.
2014-02-20 15:50:52 Leonardo Donelli description Context: I had an action that opened the view of a wizard appearing under the 'more' button when viewing an invoice. I wanted to make it appear under the 'print' button, so I went where the action was defined in the xml file and edited the act_window tag, particularly I changed the 'key2' attribute from 'client_action_multi' to 'client_print_multi'. Problem: After updating the module I found the action under the 'Print' button, as I desired, but it still was under the 'More' button also. Cause and workaround: After a little debugging I've found out that is because there were 2 records in the table ir_values, identical except for the key2 value: one was client_action_multi, the other client_print_multi. Instead of changing the value it created an identical new one, pointing to the same action! I then deleted manually from psql the record with key2 = action_client_multi and the action correctly disappeared from the 'more' button. Context: I had an action that opened the view of a wizard appearing under the 'more' button when viewing an invoice. I wanted to make it appear under the 'print' button, so I went where the action was defined in the xml file and edited the act_window tag, particularly I changed the 'key2' attribute from 'client_action_multi' to 'client_print_multi'. Problem: After updating the module I found the action under the 'Print' button, as I desired, but it still was under the 'More' button also. Cause and workaround: After a little debugging I've found out that is because there were 2 records in the table ir_values, identical except for the key2 value: one was client_action_multi, the other client_print_multi. Instead of changing the value it created an identical new one, pointing to the same action! I then deleted manually from psql the record with key2 = action_client_multi and the action correctly disappeared from the 'more' button. This may be related to the discussion here: https://bugs.launchpad.net/openobject-server/+bug/580218
2014-02-20 15:51:06 Leonardo Donelli description Context: I had an action that opened the view of a wizard appearing under the 'more' button when viewing an invoice. I wanted to make it appear under the 'print' button, so I went where the action was defined in the xml file and edited the act_window tag, particularly I changed the 'key2' attribute from 'client_action_multi' to 'client_print_multi'. Problem: After updating the module I found the action under the 'Print' button, as I desired, but it still was under the 'More' button also. Cause and workaround: After a little debugging I've found out that is because there were 2 records in the table ir_values, identical except for the key2 value: one was client_action_multi, the other client_print_multi. Instead of changing the value it created an identical new one, pointing to the same action! I then deleted manually from psql the record with key2 = action_client_multi and the action correctly disappeared from the 'more' button. This may be related to the discussion here: https://bugs.launchpad.net/openobject-server/+bug/580218 Context: I had an action that opened the view of a wizard appearing under the 'more' button when viewing an invoice. I wanted to make it appear under the 'print' button, so I went where the action was defined in the xml file and edited the act_window tag, particularly I changed the 'key2' attribute from 'client_action_multi' to 'client_print_multi'. Problem: After updating the module I found the action under the 'Print' button, as I desired, but it still was under the 'More' button also. Cause and workaround: After a little debugging I've found out that is because there were 2 records in the table ir_values, identical except for the key2 value: one was client_action_multi, the other client_print_multi. Instead of changing the value it created an identical new one, pointing to the same action! I then deleted manually from psql the record with key2 = action_client_multi and the action correctly disappeared from the 'more' button. This may be related to the discussion here: lp:580218