mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
add saas login
This commit is contained in:
16
app_saas/views/auth_oauth_provider_views.xml
Normal file
16
app_saas/views/auth_oauth_provider_views.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="app_view_oauth_provider_form" model="ir.ui.view">
|
||||
<field name="name">app.auth.oauth.provider.form</field>
|
||||
<field name="model">auth.oauth.provider</field>
|
||||
<field name="inherit_id" ref="auth_oauth.view_oauth_provider_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='auth_endpoint']" position="after">
|
||||
<field name="code_endpoint"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='data_endpoint']" position="before">
|
||||
<field name="user_template_id"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
28
app_saas/views/res_config_settings_views.xml
Normal file
28
app_saas/views/res_config_settings_views.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- <record id="app_res_config_settings_view_form" model="ir.ui.view">-->
|
||||
<!-- <field name="name">res.config.settings.view.form.inherit.app_common</field>-->
|
||||
<!-- <field name="model">res.config.settings</field>-->
|
||||
<!-- <field name="inherit_id" ref="base.res_config_settings_view_form"/>-->
|
||||
<!-- <field name="arch" type="xml">-->
|
||||
<!-- <xpath expr="//setting[@id='odooai_cloud_saas_ok']" position="after">-->
|
||||
<!-- <setting string="SaaS Chinese PO" help="Checked to Sync Odoo Chinese from www.odooapp.cn" id="module_app_cn_po">-->
|
||||
<!-- <field name="module_app_cn_po"/>-->
|
||||
<!-- <div class="content-group mt16" invisible="not module_app_cn_po" id="msg_module_app_cn_po">-->
|
||||
<!-- <div class="mt16 text-warning">-->
|
||||
<!-- <strong>Save</strong> to Install Chinese PO App if downloaded.-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="text-warning">-->
|
||||
<!-- Or get the app from-->
|
||||
<!-- <a href="https://www.odooapp.cn/apps/modules/app_cn_po" class="o_doc_link ml8"-->
|
||||
<!-- target="_blank">https://www.odooapp.cn/apps/modules/app_cn_po-->
|
||||
<!-- </a>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </setting>-->
|
||||
<!-- </xpath>-->
|
||||
<!-- </field>-->
|
||||
<!-- </record>-->
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user