~openerp-chinese-team/openerp-china/7.0

« back to all changes in this revision

Viewing changes to oecn_base_fonts/oecn_font_installer.xml

  • Committer: JoshuaJan
  • Date: 2013-03-28 09:06:28 UTC
  • Revision ID: popkar77@gmail.com-20130328090628-jlixsnrc7bve2ar4
moreĀ configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<!-- __author__ = jeff@openerp.cn, joshua@openerp.cn -->
 
3
<openerp>
 
4
    <data>
 
5
        <record id="view_font_configuration_installer" model="ir.ui.view">
 
6
            <field name="name">oecn.font.installer.form</field>
 
7
            <field name="model">oecn.font.installer</field>
 
8
            <field name="inherit_id" ref="base.res_config_installer"/>
 
9
            <field name="arch" type="xml">
 
10
                <form position="attributes" version="7.0">
 
11
                    <attribute name="string">Customer Font Mapping Configuration</attribute>
 
12
                </form>
 
13
                <footer position="replace">
 
14
                    <footer>
 
15
                      <button name="action_next" type="object" string="Continue" class="oe_highlight"/>
 
16
                    </footer>
 
17
                </footer>
 
18
                <separator string="title" position="replace">
 
19
                    <p class="oe_grey">
 
20
                        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.
 
21
                    </p>
 
22
                    <group>
 
23
                        <field name="wrap" class="oe_inline"/>
 
24
                        <field name="map_ids" nolabel="1" colspan="4">
 
25
                        <tree string="Font replace" editable='top'>
 
26
                            <field name = 'pdf_font'/>
 
27
                            <field name = 'new_font' on_change="onchange_new_font(new_font)"/>
 
28
                            <field name = 'name'/>
 
29
                        </tree>
 
30
                    </field>
 
31
                    </group>
 
32
                </separator>
 
33
            </field>
 
34
        </record>
 
35
 
 
36
        <record id="action_font_configuration_installer" model="ir.actions.act_window">
 
37
            <field name="name">Configure Font Mapping</field>
 
38
            <field name="type">ir.actions.act_window</field>
 
39
            <field name="res_model">oecn.font.installer</field>
 
40
            <field name="view_id" ref="view_font_configuration_installer"/>
 
41
            <field name="view_type">form</field>
 
42
            <field name="view_mode">form</field>
 
43
            <field name="target">new</field>
 
44
        </record>
 
45
 
 
46
        <record id="font_configuration_installer_todo" model="ir.actions.todo">
 
47
            <field name="action_id" ref="action_font_configuration_installer"/>
 
48
            <field name="sequence">4</field>
 
49
            <field name="type">automatic</field>
 
50
        </record>
 
51
 
 
52
    </data>
 
53
</openerp>