c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03826
[Bug 630670] Re: [trunk] xml code for certain button changes during loading
IMHO the problem comes up if you want to reuse the (modified) xml code which is in the db
for example export a module (didn't try but I doubt it will convert this back)
--
[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