2024-12-09 01:12:05
|
WARNING
|
server
|
odoo.modules.loading:90
Module stock demo data failed to install, installed without demo data
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/data/build/odoo/odoo/tools/func.py", line 69, in wrapper
return func(self, *args, **kwargs)
File "/data/build/odoo/odoo/tools/lru.py", line 44, in __getitem__
a = self.d[obj].me
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f853f1f9950>, 'product.product_product_4d')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/convert.py", line 712, in parse
self._tag_root(de)
File "/data/build/odoo/odoo/tools/convert.py", line 674, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 674, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 561, in _tag_record
f_val = self.id_get(f_ref)
File "/data/build/odoo/odoo/tools/convert.py", line 657, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/data/build/odoo/odoo/tools/convert.py", line 663, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 1697, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-25>", line 2, in xmlid_lookup
File "/data/build/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 1686, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: product.product_product_4d
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/modules/loading.py", line 84, in load_demo
load_data(cr, idref, mode, kind='demo', package=package, report=report)
File "/data/build/odoo/odoo/modules/loading.py", line 68, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report)
File "/data/build/odoo/odoo/tools/convert.py", line 736, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/data/build/odoo/odoo/tools/convert.py", line 803, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/odoo/odoo/tools/convert.py", line 721, in parse
exc_info[2]
File "/data/build/odoo/odoo/tools/pycompat.py", line 13, in reraise
raise value.with_traceback(tb)
File "/data/build/odoo/odoo/tools/convert.py", line 712, in parse
self._tag_root(de)
File "/data/build/odoo/odoo/tools/convert.py", line 674, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 674, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 561, in _tag_record
f_val = self.id_get(f_ref)
File "/data/build/odoo/odoo/tools/convert.py", line 657, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/data/build/odoo/odoo/tools/convert.py", line 663, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 1697, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-25>", line 2, in xmlid_lookup
File "/data/build/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 1686, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
odoo.tools.convert.ParseError: "External ID not found in the system: product.product_product_4d" while parsing /data/build/odoo/addons/stock/data/stock_demo.xml:2, near
<odoo>
<data noupdate="1">
<record id="base.user_demo" model="res.users">
<field eval="[(4, ref('group_stock_user'))]" name="groups_id"/>
</record>
<!-- Resource: stock.inventory -->
<record id="stock_inventory_0" model="stock.inventory">
<field name="name">Starting Inventory</field>
</record>
<!-- Resource: stock.inventory.line -->
<record id="stock_inventory_line_1" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_24"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">16.0</field>
<field name="location_id" ref="stock_location_14"/>
</record>
<record id="stock_inventory_line_14" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_25"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">16.0</field>
<field name="location_id" ref="stock_location_14"/>
</record>
<record id="stock_inventory_line_2" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_7"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">18.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_3" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_6"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">500.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_4" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_9"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">22.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_5" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_10"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">8.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_6" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_11"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">26.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_6b" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_11b"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">30.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_7" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_4"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">45.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_7b" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_4b"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">50.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_7c" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_4c"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">55.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_7d" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_4d"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">60.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_11" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_12"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">10.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_12" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_13"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">2.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_13" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_27"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">80.0</field>
<field name="location_id" ref="stock_location_components"/>
</record>
<record id="stock_inventory_line_14" model="stock.inventory.line">
<field name="product_id" ref="product.product_product_3"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_0"/>
<field name="product_qty">60.0</field>
<field name="location_id" model="stock.location" eval="obj().env.ref('stock.warehouse0').lot_stock_id.id"/>
</record>
<function model="stock.inventory" name="_action_start">
<function eval="[[('state','=','draft'),('id', '=', ref('stock_inventory_0'))]]" model="stock.inventory" name="search"/>
</function>
<function model="stock.inventory" name="action_validate">
<function eval="[[('state','=','confirm'),('id', '=', ref('stock_inventory_0'))]]" model="stock.inventory" name="search"/>
</function>
<!-- Multi Company -->
<!-- Child Company 1-->
<record id="res_partner_company_1" model="res.partner">
<field name="name">My Company, Chicago</field>
<field name="is_company">1</field>
<field eval="1" name="active"/>
<field name="street">90 Streets Avenue</field>
<field model="res.country" name="country_id" search="[('code','ilike','us')]"/>
<field model="res.country.state" name="state_id" search="[('code','ilike','il')]"/>
<field name="zip">60610</field>
<field name="city">Chicago</field>
<field name="email">chicago@yourcompany.com</field>
<field name="phone">+1 312 349 3030</field>
<field name="website">www.yourcompany.com</field>
<field name="company_id" eval="False"/>
</record>
<record id="res_partner_address_41" model="res.partner">
<field name="name">Jeff Lawson</field>
<field name="parent_id" ref="res_partner_company_1"/>
<field name="email">jeff.lawson52@example.com</field>
<field name="phone">(461)-417-6587</field>
<field name="image_1920" type="base64" file="stock/static/img/res_partner_address_41.jpg"/>
<field name="company_id" eval="False"/>
</record>
<record id="res_company_1" model="res.company">
<field name="currency_id" ref="base.USD"/>
<field name="partner_id" ref="res_partner_company_1"/>
<field name="name">My Company (Chicago)</field>
<field name="user_ids" eval="[(4, ref('base.user_admin')), (4, ref('base.user_demo'))]"/>
</record>
<record id="base.group_multi_company" model="res.groups">
<field name="users" eval="[(4, ref('base.user_admin')), (4, ref('base.user_demo'))]"/>
</record>
<record id="base.main_company" model="res.company">
<field name="name">My Company (San Francisco)</field>
</record>
<record id="stock_warehouse_shop0" model="stock.warehouse">
<field name="name">Chicago Warehouse</field>
<field name="partner_id" ref="res_partner_address_41"/>
<field name="company_id" ref="res_company_1"/>
<field name="code">Chic</field>
</record>
<record id="product.consu_delivery_03" model="product.product">
<field name="type">product</field>
</record>
<record id="product.consu_delivery_02" model="product.product">
<field name="type">product</field>
</record>
<record id="product.consu_delivery_01" model="product.product">
<field name="type">product</field>
</record>
<record id="product.product_order_01" model="product.product">
<field name="type">product</field>
</record>
<!-- Activate Lots options as demo data depends on it -->
<record id="base.group_user" model="res.groups">
<field name="implied_ids" eval="[(4, ref('stock.group_production_lot'))]"/>
</record>
</data>
</odoo>
|
2024-12-09 01:12:11
|
WARNING
|
server
|
odoo.modules.loading:90
Module sale_stock demo data failed to install, installed without demo data
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "/data/build/odoo/odoo/tools/func.py", line 69, in wrapper
return func(self, *args, **kwargs)
File "/data/build/odoo/odoo/tools/lru.py", line 44, in __getitem__
a = self.d[obj].me
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f853f1f9950>, 'stock.stock_location_components')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/tools/convert.py", line 712, in parse
self._tag_root(de)
File "/data/build/odoo/odoo/tools/convert.py", line 674, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 674, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 561, in _tag_record
f_val = self.id_get(f_ref)
File "/data/build/odoo/odoo/tools/convert.py", line 657, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/data/build/odoo/odoo/tools/convert.py", line 663, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 1697, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-25>", line 2, in xmlid_lookup
File "/data/build/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 1686, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: stock.stock_location_components
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/odoo/odoo/modules/loading.py", line 84, in load_demo
load_data(cr, idref, mode, kind='demo', package=package, report=report)
File "/data/build/odoo/odoo/modules/loading.py", line 68, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report)
File "/data/build/odoo/odoo/tools/convert.py", line 736, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/data/build/odoo/odoo/tools/convert.py", line 803, in convert_xml_import
obj.parse(doc.getroot())
File "/data/build/odoo/odoo/tools/convert.py", line 721, in parse
exc_info[2]
File "/data/build/odoo/odoo/tools/pycompat.py", line 13, in reraise
raise value.with_traceback(tb)
File "/data/build/odoo/odoo/tools/convert.py", line 712, in parse
self._tag_root(de)
File "/data/build/odoo/odoo/tools/convert.py", line 674, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 674, in _tag_root
f(rec)
File "/data/build/odoo/odoo/tools/convert.py", line 561, in _tag_record
f_val = self.id_get(f_ref)
File "/data/build/odoo/odoo/tools/convert.py", line 657, in id_get
res = self.model_id_get(id_str, raise_if_not_found)
File "/data/build/odoo/odoo/tools/convert.py", line 663, in model_id_get
return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found)
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 1697, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-25>", line 2, in xmlid_lookup
File "/data/build/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/data/build/odoo/odoo/addons/base/models/ir_model.py", line 1686, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
odoo.tools.convert.ParseError: "External ID not found in the system: stock.stock_location_components" while parsing /data/build/odoo/addons/sale_stock/data/sale_order_demo.xml:2, near
<odoo>
<data noupdate="1">
<record id="sale.sale_order_1" model="sale.order">
<field name="warehouse_id" ref="stock.warehouse0"/>
</record>
<record id="sale.sale_order_2" model="sale.order">
<field name="warehouse_id" ref="stock.warehouse0"/>
</record>
<record id="sale.sale_order_3" model="sale.order">
<field name="warehouse_id" ref="stock.warehouse0"/>
</record>
<record id="sale.sale_order_5" model="sale.order">
<field name="warehouse_id" ref="stock.warehouse0"/>
</record>
<record id="sale.sale_order_6" model="sale.order">
<field name="warehouse_id" ref="stock.warehouse0"/>
</record>
<record id="sale.sale_order_8" model="sale.order">
<field name="warehouse_id" ref="stock.warehouse0"/>
</record>
<record id="stock_inventory_customizable_desk_update" model="stock.inventory">
<field name="name">Inventory for new Customizable Desks</field>
</record>
<record id="stock_inventory_line_7e" model="stock.inventory.line">
<field name="product_id" ref="sale.product_product_4e"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_customizable_desk_update"/>
<field name="product_qty">65.0</field>
<field name="location_id" ref="stock.stock_location_components"/>
</record>
<record id="stock_inventory_line_7f" model="stock.inventory.line">
<field name="product_id" ref="sale.product_product_4f"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="inventory_id" ref="stock_inventory_customizable_desk_update"/>
<field name="product_qty">70.0</field>
<field name="location_id" ref="stock.stock_location_components"/>
</record>
<function model="stock.inventory" name="action_start">
<function eval="[[('state','=','draft'),('id', '=', ref('stock_inventory_customizable_desk_update'))]]" model="stock.inventory" name="search"/>
</function>
<function model="stock.inventory" name="action_validate">
<function eval="[[('state','=','confirm'),('id', '=', ref('stock_inventory_customizable_desk_update'))]]" model="stock.inventory" name="search"/>
</function>
</data>
</odoo>
|