Openerp 8.0 oecn_base_fonts 安装
-
还有一个错误。
arseError: "ValidateError
Field(s)arch
failed against a constraint: Invalid view definition
Error details:
Element '<form version="7.0">' cannot be located in parent view
Error context:
Viewoecn.font.installer.form
[view_id: 422, xml_id: n/a, model: oecn.font.installer, parent_id: 3]" while parsing /opt/openerp2/server/addons/oecn_base_fonts/oecn_font_installer.xml:5, near
<record id="view_font_configuration_installer" model="ir.ui.view">
<field name="name">oecn.font.installer.form</field>
<field name="model">oecn.font.installer</field>
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="arch" type="xml">
<data><form position="attributes" version="7.0">
<attribute name="string">Customer Font Mapping Configuration</attribute>
</form>
<footer position="replace">
<footer>
<button name="action_next" type="object" string="Continue" class="oe_highlight"/>
</footer>
</footer>
<separator string="title" position="replace">
<p class="oe_grey">
Fonts used in the default report may not support the characters in your lanuage. Use the setting here to replace the Original font with the font you choose.
</p>
<group>
<field name="wrap" class="oe_inline"/>
<field name="map_ids" nolabel="1" colspan="4">
<tree string="Font replace" editable="top">
<field name="pdf_font"/>
<field name="new_font" on_change="onchange_new_font(new_font)"/>
<field name="name"/>
</tree>
</field>
</group>
</separator>
</data></field>
</record>