update desc

This commit is contained in:
Ivan Office
2023-10-10 03:57:02 +08:00
parent d261458e81
commit bc1a88f1ec
3 changed files with 43 additions and 3 deletions

View File

@@ -256,7 +256,7 @@
</h3> </h3>
<p>Please comment the inherit .py file of product_template.py in produce odoo.</p> <p>Please comment the inherit .py file of product_template.py in produce odoo.</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo3.png"> <img src="demo3.jpg">
</div> </div>
</section> </section>
<section class="pb16 o_colored_level" style="background-image: none;"> <section class="pb16 o_colored_level" style="background-image: none;">
@@ -275,7 +275,7 @@
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_form.jpg"> <img src="demo_form.jpg">
</div> </div>
<p>Form</p> <p>Search</p>
<div class="oe_demo oe_screenshot img img-fluid"> <div class="oe_demo oe_screenshot img img-fluid">
<img src="demo_search.jpg"> <img src="demo_search.jpg">
</div> </div>
@@ -361,7 +361,7 @@
<section class="oe_container container"> <section class="oe_container container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<h4 class="pt16"> <h4 class="pt16">
1. Buy and Install <a href="http://www.odoo.com/apps/modules/16.0/app_sample/" target="_blank">app_sample. </a> 1. Buy and Install
</h4> </h4>
<h4 class="pt16"> <h4 class="pt16">
2. Clone this sample and rename to your module name to quick create your odoo addons. 2. Clone this sample and rename to your module name to quick create your odoo addons.
@@ -372,6 +372,10 @@
<img src="demo_use.jpg"> <img src="demo_use.jpg">
</div> </div>
</div> </div>
<h4 class="pt16">4. More information in our FAQ</h4>
<div class="row">
https://www.odooai.cn/faq
</div>
</div> </div>
</section> </section>
<!-- end howto--> <!-- end howto-->

View File

@@ -74,6 +74,7 @@
'views/blog_tag_category_views.xml', 'views/blog_tag_category_views.xml',
'views/blog_tag_views.xml', 'views/blog_tag_views.xml',
'views/blog_post_views.xml', 'views/blog_post_views.xml',
'views/website_views.xml',
'views/website_page_views.xml', 'views/website_page_views.xml',
'views/res_config_settings_views.xml' 'views/res_config_settings_views.xml'
# 'report/.xml', # 'report/.xml',

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="app_view_website_tree" model="ir.ui.view">
<field name="name">app.website.tree</field>
<field name="model">website</field>
<field name="inherit_id" ref="website.view_website_tree"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='default_lang_id']" position="after">
<field name="language_ids" optional="hide" widget="many2many_tags"/>
</xpath>
<xpath expr="//field[@name='theme_id']" position="after">
<field name="cdn_activated" optional="hide" widget="boolean_toggle"/>
</xpath>
<xpath expr="//field[@name='default_lang_id']" position="attributes">
<attribute name="optional">hide</attribute>
</xpath>
<xpath expr="//field[@name='theme_id']" position="attributes">
<attribute name="optional">show</attribute>
</xpath>
</field>
</record>
<record id="app_view_website_form" model="ir.ui.view">
<field name="name">app.website.form</field>
<field name="model">website</field>
<field name="inherit_id" ref="website.view_website_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='language_count']" position="before">
<field name="cdn_activated" widget="boolean_toggle"/>
</xpath>
</field>
</record>
</data>
</odoo>