Skip to Content
Odoo เมนู
  • ลงชื่อเข้าใช้
  • ทดลองใช้ฟรี
  • แอป
    การเงิน
    • ระบบบัญชี
    • ระบบการออกใบแจ้งหนี้
    • ระบบบัญชีรายจ่าย
    • ระบบการจัดการข้อมูลผ่านสเปรดชีต (BI)
    • เอกสาร
    • ระบบลงลายเซ็น
    การขาย
    • ลูกค้าสัมพันธ์
    • การขาย
    • POS ร้านค้า
    • POS ร้านอาหาร
    • ระบบสมัครสมาชิก
    • การเช่า
    การจัดการเว็บไซต์
    • เครื่องมือสร้างเว็บไซต์
    • ระบบการขายออนไลน์
    • บล็อก
    • ฟอรั่ม
    • ไลฟ์แชท
    • ระบบการอบรมออนไลน์
    ซัพพลายเชน
    • คลังสินค้า
    • ระบบการผลิต
    • PLM
    • ระบบการจัดซื้อ
    • การซ่อมบำรุง
    • ระบบจัดการคุณภาพ
    ทรัพยากรบุคคล
    • ข้อมูลพนักงาน
    • ระบบสรรหาบุคลากร
    • ระบบการลา
    • การประเมิน
    • ระบบการแนะนำพนักงาน
    • ระบบจัดการยานพาหนะ
    การตลาด
    • โซเชียลมาร์เก็ตติ้ง
    • การตลาดผ่านอีเมล
    • ระบบการตลาดผ่าน SMS
    • ระบบการจัดงานอีเวนต์
    • การตลาดแบบอัตโนมัติ
    • ระบบแบบสำรวจ
    การบริการ
    • โปรเจกต์
    • ระบบบันทึกเวลา
    • ระบบการจัดการบริการภาคสนาม
    • ระบบดูแลช่วยเหลือ
    • การวางแผน
    • การนัดหมาย
    ประสิทธิผล
    • ระบบแสดงความคิดเห็น
    • ระบบการอนุมัติ
    • ไอโอที
    • VoIP
    • คลังข้อมูล
    • WhatsApp
    แอปพลิเคชันของบุคคลที่สาม Odoo สตูดิโอ แพลตฟอร์มคลาวด์ของ Odoo
  • อุตสาหกรรม
    การค้าปลีก
    • ร้านขายหนังสือ
    • ร้านขายเสื้อผ้า
    • ร้านขายเฟอร์นิเจอร์
    • ร้านขายของชำ
    • ร้านขายฮาร์ดแวร์
    • ร้านขายของเล่น
    Food & Hospitality
    • บาร์และผับ
    • ร้านอาหาร
    • อาหารฟาสต์ฟู้ด
    • Guest House
    • ตัวแทนจำหน่ายเครื่องดื่ม
    • Hotel
    อสังหาริมทรัพย์
    • Real Estate Agency
    • บริษัทสถาปัตยกรรม
    • บริษัทรับเหมา
    • การจัดการอสังหาริมทรัพย์
    • การจัดสวน
    • สมาคมเจ้าของอสังหาริมทรัพย์
    ปรึกษา
    • สำนักงานบัญชี
    • Odoo พาร์ทเนอร์
    • เอเจนซี่การตลาด
    • สำนักงานกฎหมาย
    • บริการสรรหาบุคลากร
    • การตรวจสอบและการรับรอง
    ระบบการผลิต
    • Textile
    • เหล็ก
    • เฟอร์นิเจอร์
    • อาหาร
    • Brewery
    • ของขวัญขององค์กร
    สุขภาพ & ฟิตเนส
    • ชมรมกีฬา
    • ร้านขายแว่นตา
    • ฟิตเนส
    • ผู้ประกอบวิชาชีพด้านสุขภาพ
    • ร้านขายยา
    • ร้านทำผม
    Trades
    • ช่างซ่อม
    • ฮาร์ดแวร์และการสนับสนุนด้านไอที
    • ระบบพลังงานแสงอาทิตย์
    • ช่างทำรองเท้า
    • บริการทำความสะอาด
    • HVAC Services
    อื่น ๆ
    • Nonprofit Organization
    • สำนักงานสิ่งแวดล้อม
    • ร้านเช่าป้ายโฆษณา
    • การถ่ายภาพ
    • ร้านเช่าจักรยาน
    • ตัวแทนจำหน่ายซอฟต์แวร์
    Browse all Industries
  • คอมมูนิตี้
    ศึกษา
    • บทเรียน
    • เอกสารกำกับโปรแกรม
    • การรับรอง
    • การฝึกอบรม
    • บล็อก
    • พอดแคสต์
    เพิ่มศักยภาพให้กับการศึกษา
    • โปรแกรมการศึกษา
    • Scale Up! Business Game
    • เยี่ยมชม Odoo
    รับซอฟต์แวร์
    • ดาวน์โหลด
    • เปรียบเทียบรุ่น
    • เผยแพร่
    ทำงานร่วมกัน
    • Github
    • ฟอรั่ม
    • ระบบการจัดงานอีเวนต์
    • การแปล
    • ร่วมเป็นพาร์ทเนอร์
    • Services for Partners
    • ลงทะเบียนเพื่อสร้างบัญชีบริษัทของคุณ
    รับบริการ
    • ค้นหาพาร์ทเนอร์
    • ค้นหานักบัญชี
    • พบกับที่ปรึกษา
    • บริการติดตั้งระบบเพื่อใช้งาน
    • ข้อมูลอ้างอิงลูกค้า
    • การสนับสนุน
    • อัปเกรด
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    รับการสาธิต
  • ราคา
  • ช่วยเหลือ

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • ลูกค้าสัมพันธ์
  • e-Commerce
  • ระบบบัญชี
  • สินค้าคงคลัง
  • PoS
  • โปรเจกต์
  • MRP
All apps
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
ช่วยเหลือ

validating the field(s) arch: Invalid XML for View Architecture!'

ติดตาม

รับการแจ้งเตือนเมื่อมีกิจกรรมในโพสต์นี้

คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5346 มุมมอง
อวตาร
mihir shah

<record id="product.product_normal_form_view" model="ir.ui.view"> <field name="name">product.normal.form</field> <field name="model">product.product</field> <field name="type">form</field> <field eval="7" name="priority"/> <field name="arch" type="xml"> <form string="Product" version="7.0"> <sheet> <group colspan="4" col="6"> <group colspan="2" col="4"> <separator string="Name"/> <field name="name"/> <field groups="product.group_product_variant" name="variants"/> <field name="die_number_id" attrs="{'invisible':[('is_die','=',True)]}" context="{'tree_view_ref':'merlin_product_die.product_product_die_tree_view11','form_view_ref':'merlin_product_die.product_die_normal_form_view11'}"/>

                    <field name="metal_id" context="{'die_number_id':die_number_id}"  attrs="{'invisible':[('is_die','=',True)]}" />
                    <field name="die_revision_id" domain="[('die_number_id','=',die_number_id)]" attrs="{'invisible':[('is_die','=',True)]}" />

                        <group colspan="2" col="6" attrs="{'invisible':[('is_die','=',False)]}">
                           <field name="die_type" attrs="{'required':[('is_die','=',True),('multiple_die','!=',True)]}" required="1"/>
                           <field name="die_maker" attrs="{'invisible':[('supplier','=',True)]}"/>
                           <field name="number_of_cavity" attrs="{'required':[('is_die','=',True),('multiple_die','!=',True)],'readonly':[('supplier','=',True)]}" required="1" />
                           <field name="shrinkage" attrs="{'required':[('is_die','=',True),('multiple_die','!=',True)]}" required="1" />
                           <field name="resharpening" />
                           <field name="resharpening_uom" />
                           <field name="common_die_id"/>
                           <field name="die_owner"/>
                        </group>


                    </group>
                <group colspan="1" col="2">
                    <separator string="Codes" colspan="2"/>
                    <field name="default_code" attrs="{'invisible':[('is_die','=',True)]}"/>
                    <field name="ean13" groups="base.group_extended" attrs="{'invisible':[('is_die','=',True)]}"/>

                </group>
                <group colspan="1" col="2" >
                    <separator string="Characteristics" colspan="2"/>
                    <field name="sale_ok"/>
                    <field name="purchase_ok"/>
                    <field name="is_die" invisible="1" />
                    <field name="supplier" attrs="{'invisible':['|','|',('multiple_die','=',True),('is_die','=',False),('common_die','=',True)]}"/>
                    <field name="common_die" attrs="{'invisible':['|',('multiple_die','=',True),('is_die','=',False)]}"/>
                    <field name="multiple_die" attrs="{'invisible':['|',('common_die','=',True),('is_die','=',False)]}"/>

                </group>
               </group>

                <notebook colspan="4">
                    <page string="Information">
                        <group colspan="2" col="2" attrs="{'readonly':[('is_die','=',True)],'invisible':[('is_die','=',True)]}">
                            <separator string="Procurement" colspan="2"/>
                            <field name="type"/>
                            <field name="procure_method" groups="base.group_extended"/>
                            <field name="supply_method"/>
                        </group>
                        <group colspan="2" col="2" attrs="{'invisible':[('is_die','=',True)]}">
                            <separator string="Base Prices" colspan="2"/>
                            <field groups="base.group_extended" name="cost_method"/>
                            <field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}"/>
                            <field name="list_price"/>
                            <newline/>
                            <field name="price_margin" groups="product.group_product_variant"/>
                            <field name="price_extra" groups="product.group_product_variant"/>
                        </group>

                        <group colspan="2" col="2" groups="base.group_extended" attrs="{'invisible':[('is_die','=',True)]}">
                            <separator string="Weights" colspan="2"/>
                            <field digits="(14, 3)" name="volume" attrs="{'readonly':[('type','=','service')]}"/>
                            <field digits="(14, 3)" name="weight" attrs="{'readonly':[('type','=','service')]}"/>
                            <field digits="(14, 3)" name="weight_net" attrs="{'readonly':[('type','=','service')]}"/>
                        </group>

                        <group colspan="2" col="2" name="status" groups="base.group_extended">
                            <separator string="Status" colspan="2"/>
                            <field name="categ_id"/>
                            <field name="state"/>
                            <field name="product_manager"/>
                        </group>

                        <group colspan="2" col="2" name="uom" attrs="{'invisible':[('is_die','=',True)]}">
                            <separator string="Unit of Measure" colspan="2"/>
                            <field name="uom_id" on_change="onchange_uom(uom_id,uom_po_id)"/>
                            <field name="uom_po_id" groups="base.group_extended"/>
                        </group>

                        <group colspan="2" col="2" name="uos" groups="product.group_uos" attrs="{'invisible':[('is_die','=',True)]}">
                            <separator string="Second UoM" colspan="2"/>
                            <field name="uos_id"/>
                            <field name="uos_coeff"/>
                            <field name="mes_type"/>
                        </group>



                    </page>

                    <page string="Procurement & Locations" >
                        <group colspan="2" col="2" name="delay">
                            <separator string="Delays" colspan="2"/>
                            <field name="sale_delay" attrs="{'readonly':[('sale_ok','=',0)]}"/>
                            <field name="produce_delay"/>
                            <field name="warranty"/>
                        </group>
                        <group colspan="2" col="2" name="store">
                            <separator string="Storage Localisation" colspan="2"/>
                            <field name="loc_rack" attrs="{'readonly':[('type','=','service')]}" />
                            <field name="loc_row" attrs="{'readonly':[('type','=','service')]}"/>
                            <field name="loc_case" attrs="{'readonly':[('type','=','service')]}"/>
                        </group>

                        <group colspan="2" col="2" name="misc" groups="base.group_extended">
                            <separator string="Miscellaneous" colspan="2"/>
                            <field name="active"/>
                            <field name="company_id" groups="base.group_multi_company" widget="selection"/>
                        </group>

                    </page>
                    <page string="Suppliers" attrs="{'invisible':[('is_die','=',True)]}">
                        <field colspan="4" name="seller_ids" nolabel="1"/>
                    </page>
                    <page string="Descriptions">
                        <separator string="Description"/>
                        <field colspan="4" name="description" nolabel="1"/>
                        <separator string="Sale Description"/>
                        <field colspan="4" name="description_sale" nolabel="1"/>
                        <separator string="Purchase Description"/>
                        <field colspan="4" name="description_purchase" nolabel="1"/>
                    </page>
                    <page groups="base.group_extended" string="Packaging" attrs="{'invisible':[('is_die','=',True)]}" >
                        <field colspan="4" name="packaging" nolabel="1">
                            <form string="Packaging" version="7.0">
             <sheet>    
                                <field name="ean"/>
                                <field name="sequence" invisible="1"/>
                                <newline/>
                                <field name="qty"/>
                                <field name="ul"/>
                                <field name="weight_ul"/>
                                <separator colspan="4" string="Palletization"/>
                                <field name="ul_qty"/>
                                <field name="rows"/>
                                <field name="weight"/>
                                <separator colspan="4" string="Pallet Dimension"/>
                                <field name="height"/>
                                <field name="width"/>
                                <field name="length"/>
                                <separator colspan="4" string="Description"/>
                                <field colspan="4" name="name" nolabel="1"/>
                 </sheet>   
                            </form>
                        </field>
                    </page>

                    <page string="Die Revision" attrs="{'invisible':['|',('multiple_die','=',True),('is_die','=',False)]}">
                       <group colspan="4" attrs="{'invisible':[('common_die','=',True)]}">
                           <field name="die_line_id" nolabel="1" colspan="4" view_mode="tree,form" context="{'sh_name':name}"  />      
                       </group> 
                       <group colspan="4" attrs="{'invisible':[('common_die','!=',True)]}">
                           <field name="common_die_line_id" nolabel="1" colspan="4" view_mode="tree,form" context="{'sh_name':name}" readonly="1" />
                       </group>
                     </page>

                    <page string="Metals" attrs="{'invisible':['|',('multiple_die','=',True),('is_die','=',False)]}" >
                        <field colspan="4" name="metal_line_id" nolabel="1"/>
                    </page>

                    <page string="Multiple Dies" attrs="{'invisible':['|',('multiple_die','=',False),('is_die','=',False)]}">
                        <field colspan="4" name="sub_die_line_ids" nolabel="1" view_mode="tree,form" context="{'tree_view_ref':'merlin_product_die.product_product_die_tree_view11','form_view_ref':'merlin_product_die.product_die_normal_form_view11'}" >
                            <tree string="Sub Die" >
                                <field name="name" />
                                <field name="default_code" string="Die No"/>
                            </tree>
                        </field>
                    </page>


                    <page string="Common Dies" attrs="{'invisible':['|','|',('common_die','=',True),('is_die','=',False),('multiple_die','=',True)]}" >
                            <field colspan="4" name="common_product_die_line_ids" nolabel="1">
                              <tree string="Common Dies" editable="top">
                                 <field name="die_id"/>
                             </tree>

                            </field>    
                    </page>


                    <page string="Die Sharing" attrs="{'invisible':[('is_die','=',False)]}" >
                        <field name="die_sharing_ids" view_mode="tree,form" nolabel="1" />    
                    </page>

                    <page string="Die Metal Weight " attrs="{'invisible':[('is_die','=',False)]}" >
                        <field name="revision_metal_weight_line_id" view_mode="tree,form" nolabel="1"  >
                          <tree string= "Die Metal Weight" editable="top">

                              <field name="metal_id" context="{'sh_name':'sunny'}"/>
                              <field name="die_revision_id"  />
                              <field name="weight"/>
                              <field name="weight_uom"/>

                          </tree>
                        </field>      
                    </page>      

                </notebook>
    </sheet>    
            </form>
        </field>
    </record>

this code is giving me following error 'ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!'

and in terminal it says that

is not found where should i put this tag ..

0
อวตาร
ละทิ้ง
อวตาร
bandish09
คำตอบที่ดีที่สุด

Try this:

<page string="Procurement & amp; Locations">

because & sign does not work in xml.

so you have to use & amp;

Remove the space between & and amp.because here not showing properly.

2
อวตาร
ละทิ้ง
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!

สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!

ลงชื่อ
คอมมูนิตี้
  • บทเรียน
  • เอกสารกำกับโปรแกรม
  • ฟอรั่ม
โอเพนซอร์ส
  • ดาวน์โหลด
  • Github
  • Runbot
  • การแปล
บริการ
  • โฮสติ้ง odoo.sh เซิร์ฟเวอร์
  • การสนับสนุน
  • อัปเกรด
  • การพัฒนาที่กำหนดเอง
  • การศึกษา
  • ค้นหานักบัญชี
  • ค้นหาพาร์ทเนอร์
  • ร่วมเป็นพาร์ทเนอร์
เกี่ยวกับเรา
  • บริษัทของเรา
  • ทรัพย์สินในรูปของเครื่องหมายการค้า
  • ติดต่อเรา
  • งาน
  • ระบบการจัดงานอีเวนต์
  • พอดแคสต์
  • บล็อก
  • ลูกค้า
  • กฎหมาย • ความเป็นส่วนตัว
  • ความปลอดภัย
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo เป็นชุดแอปธุรกิจแบบเปิดที่ครอบคลุมทุกความต้องการของบริษัทของคุณ อาธิ CRM eCommerce ระบบบัญชี ระบบสินค้าคงคลัง ระบบการขายหน้าร้าน โปรเจกต์ และ อีกมากมาย

ความเหนือกว่าอันเป็นเอกลักษณ์ของ Odoo คือการใช้งานที่ง่ายดายและผสานการทำงานอย่างสมบูรณ์แบบในเวลาเดียวกัน

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now