Skip to Content
Menu
This question has been flagged
3429 Views

No problem was encountered. When I was installing the module, I reported an error in the file registered under my demo

odoo.tools.convert.ParseError: "External ID not found in the system: base.user_demo" while parsing file:/c:/users/administrator/desktop/odoo/my-modules/product_custom_options/data/custom_options_demo.xml:55, near

<record id="custom_options_sale_order_1" model="sale.order">

            <field name="partner_id" ref="base.res_partner_2"/>

            <field name="partner_invoice_id" ref="base.res_partner_2"/>

            <field name="partner_shipping_id" ref="base.res_partner_2"/>

            <field name="user_id" ref="base.user_demo"/>

            <field name="pricelist_id" ref="product.list0"/>

            <field name="team_id" ref="sales_team.team_sales_department"/>

            <field name="date_order" eval="(DateTime.today() + relativedelta(minutes=1)).strftime('%Y-%m-%d %H:%M')"/>

        </record>'''

Avatar
Discard