c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03830
[Bug 630670] Re: [trunk] xml code for certain button changes during loading
Ferdinand,
I haven't checked this, but this can create a problem when I want to create a button with an action which is not an XML record.
I would need to go to Action, find its ID and put on view.
Thanks.
--
[trunk] xml code for certain button changes during loading
https://bugs.launchpad.net/bugs/630670
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Invalid
Bug description:
crm.crm_case_form_view_leads
in crm_opportunity_view.xml
<button name="%(action_crm_lead2partner)d"
icon="gtk-index" type="action"
string="Create"
attrs="{'invisible':[('partner_id','!=',False)]}"/>
loaded form in db
<button name="303" icon="gtk-index" type="action" string="Create" attrs="{'invisible':[('partner_id','!=',False)]}"/>
this prohibits to export / reuse of the code after Customization / View
IMHO the button name must NOT be replaced by a number