美文网首页
2024-03-18 tempodoo

2024-03-18 tempodoo

作者: 豪威Howie | 来源:发表于2024-03-18 07:07 被阅读0次

    <odoo>
    <data>
    <record id="res_config_settings_view_form" model="ir.ui.view">
    <field name="name">res.config.settings.view.form</field>
    <field name="model">res.config.settings</field>
    <field name="priority" eval="12"/>
    <field name="inherit_id" ref="stock.res_config_settings_view_form"/>
    <field name="arch" type="xml">
    <app name="stock" position="inside">

                    <div class="app_settings_block" data-string="第三方对接" string="第三方对接" data-key="ro_connector" groups="base.group_system">
    
                        <h2 class="d-flex justify-content-between">
                            <span class="text-left">
                                <i aria-label="快递鸟"/>
                                快递鸟
                            </span>
                        </h2>
                        <div class="row mt16 o_settings_container">
                            <div class="col-xs-12 col-md-6 o_setting_box">
                                <div class="o_setting_left_pane">
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="kdn_id"/>
                                    <div class="content-group">
                                        <div class="mt16">
                                            <field name="kdn_id" style="width: 70%;"/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xs-12 col-md-6 o_setting_box">
                                <div class="o_setting_left_pane">
                                </div>
                                <div class="o_setting_right_pane">
                                    <label for="kdn_secret"/>
                                    <div class="content-group">
                                        <div class="mt16">
                                            <field name="kdn_secret" style="width: 70%;"/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </app>
            </field>
        </record>
    
        <record id="action_ro_connector_config" model="ir.actions.act_window">
            <field name="name">Settings</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">res.config.settings</field>
            <field name="view_id" ref="res_config_settings_view_form"/>
            <field name="view_mode">form</field>
            <field name="target">inline</field>
            <field name="context">{'module': 'ro_connector'}</field>
        </record>
    </data>
    

    </odoo>

    相关文章

      网友评论

          本文标题:2024-03-18 tempodoo

          本文链接:https://www.haomeiwen.com/subject/blvazdtx.html