Name: Merge from upstream 16 20241119 01

State: Failed finished in 132m

PR State: open

PR Author: Roy Le

PR Author Email:

PR: #1038

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: b8555ad2288cab9936ed2e675dff457c3290ca23

Description:

                                            Merge remote-tracking branch 'odoo/16.0' into 16.0
                                            

Branch: 16.0

Instance ID: 0

Age:

Up-time:

Subbuilds Name State Detail
Build 284033 At install tests: from account to website_twitter 121m Succeed Log
Build 284034 Post install tests: step install all modules 46m Succeed Log
Build 284035 Post install tests: from account to l10n_vn_viin_accounting_vninvoice_summary 74m Succeed Log
Build 284036 Post install tests: from l10n_vn_viin_edi to project_sale_expense 79m Succeed Log
Build 284037 Post install tests: from project_sms to sales_team 69m Succeed Log
Build 284038 Post install tests: from sms to to_multi_warehouse_access_control_sms 69m Succeed Log
Build 284039 Post install tests: from to_odoo_module to viin_message_edit_lock 69m Succeed Log
Build 284040 Post install tests: from viin_mobile to website_twitter 74m Failed Log
Create Date Level Message
11/19/2024 20:34:31 INFO
Updated repository Viindoo-tvtmaaddons
11/19/2024 20:34:31 INFO
Updated repository Viindoo-erponline-enterprise
11/19/2024 20:34:31 INFO
Updated repository Viindoo-branding
11/19/2024 20:34:31 INFO
Cloned repository Viindoo-odoo
11/19/2024 22:39:03 WARNING
Subbuild # 284033: odoo.modules.loading: Module viin_rental_stock demo data failed to install, installed without demo data
Traceback (most recent call last):
File "/data/build/rb-b8555ad-210447/odoo/models.py", line 5183, in ensure_one
_id, = self._ids
ValueError: too many values to unpack (expected 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 698, in _tag_root
f(rec)
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 333, in _tag_function
_eval_xml(self, rec, env)
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 204, in _eval_xml
return odoo.api.call_kw(model, method_name, args, kwargs)
File "/data/build/rb-b8555ad-210447/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/data/build/rb-b8555ad-210447/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/data/build/Viindoo-tvtmaaddons-16.0/to_multi_warehouse_access_control/models/stock_quant.py", line 16, in action_apply_inventory
return super(StockQuant, self).action_apply_inventory()
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_stock_backdate/models/stock_quant.py", line 77, in action_apply_inventory
res = super(StockQuant, self).action_apply_inventory()
File "/data/build/rb-b8555ad-210447/addons/mrp/models/stock_quant.py", line 15, in action_apply_inventory
return super().action_apply_inventory()
File "/data/build/rb-b8555ad-210447/addons/stock/models/stock_quant.py", line 459, in action_apply_inventory
self._apply_inventory()
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_stock_backdate/models/stock_quant.py", line 36, in _apply_inventory
return super(StockQuant, self)._apply_inventory()
File "/data/build/rb-b8555ad-210447/addons/stock_account/models/stock_quant.py", line 70, in _apply_inventory
super(StockQuant, inventories)._apply_inventory()
File "/data/build/rb-b8555ad-210447/addons/stock/models/stock_quant.py", line 775, in _apply_inventory
moves._action_done()
File "/data/build/Viindoo-tvtmaaddons-16.0/to_multi_warehouse_access_control/models/stock_move.py", line 27, in _action_done
return super(StockMove, self)._action_done(cancel_backorder)
File "/data/build/Viindoo-erponline-enterprise-16.0/l10n_vn_viin_mrp_subcontracting_account/models/stock_move.py", line 107, in _action_done
return super(StockMove, self)._action_done(cancel_backorder=cancel_backorder)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_foreign_trade/models/stock_move.py", line 43, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_purchase_stock_backdate/models/stock_move.py", line 24, in _action_done
return super(StockMove, self)._action_done(cancel_backorder)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_stock_backdate/models/stock_move.py", line 23, in _action_done
return super(StockMove, self)._action_done(cancel_backorder)
File "/data/build/rb-b8555ad-210447/addons/stock_account/models/stock_move.py", line 276, in _action_done
stock_valuation_layers._validate_accounting_entries()
File "/data/build/Viindoo-erponline-enterprise-16.0/to_stock_asset/models/stock_valuation_layer.py", line 21, in _validate_accounting_entries
return super(StockValuationLayer, self)._validate_accounting_entries()
File "/data/build/rb-b8555ad-210447/addons/stock_account/models/stock_valuation_layer.py", line 66, in _validate_accounting_entries
if svls.company_id.anglo_saxon_accounting:
File "/data/build/rb-b8555ad-210447/odoo/fields.py", line 1154, in __get__
record.ensure_one()
File "/data/build/rb-b8555ad-210447/odoo/models.py", line 5186, in ensure_one
raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: res.company(1, 120)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/data/build/rb-b8555ad-210447/odoo/modules/loading.py", line 89, in load_demo
load_data(cr, idref, mode, kind='demo', package=package)
File "/data/build/rb-b8555ad-210447/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 763, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_built_in_help/models/convert.py", line 123, in help_link_convert_xml_import
obj.parse(doc.getroot())
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 749, in parse
self._tag_root(de)
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 711, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/Viindoo-erponline-enterprise-16.0/viin_rental_stock/demo/rental_demo.xml:583, somewhere inside
<function model="stock.quant" name="action_apply_inventory">
<function eval="[[('id', 'in', (ref('viin_rental_stock.stock_inventory_1_demo'), ref('viin_rental_stock.stock_inventory_2_demo'), ref('viin_rental_stock.stock_inventory_3_demo'), ref('viin_rental_stock.stock_inventory_4_demo'), ))]]" model="stock.quant" name="search"/>
</function>
11/19/2024 21:24:04 WARNING
Subbuild # 284034: odoo.modules.loading: Module viin_rental_stock demo data failed to install, installed without demo data
Traceback (most recent call last):
File "/data/build/rb-b8555ad-210447/odoo/models.py", line 5183, in ensure_one
_id, = self._ids
ValueError: too many values to unpack (expected 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 698, in _tag_root
f(rec)
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 333, in _tag_function
_eval_xml(self, rec, env)
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 204, in _eval_xml
return odoo.api.call_kw(model, method_name, args, kwargs)
File "/data/build/rb-b8555ad-210447/odoo/api.py", line 468, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/data/build/rb-b8555ad-210447/odoo/api.py", line 453, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/data/build/Viindoo-tvtmaaddons-16.0/to_multi_warehouse_access_control/models/stock_quant.py", line 16, in action_apply_inventory
return super(StockQuant, self).action_apply_inventory()
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_stock_backdate/models/stock_quant.py", line 77, in action_apply_inventory
res = super(StockQuant, self).action_apply_inventory()
File "/data/build/rb-b8555ad-210447/addons/mrp/models/stock_quant.py", line 15, in action_apply_inventory
return super().action_apply_inventory()
File "/data/build/rb-b8555ad-210447/addons/stock/models/stock_quant.py", line 459, in action_apply_inventory
self._apply_inventory()
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_stock_backdate/models/stock_quant.py", line 36, in _apply_inventory
return super(StockQuant, self)._apply_inventory()
File "/data/build/rb-b8555ad-210447/addons/stock_account/models/stock_quant.py", line 70, in _apply_inventory
super(StockQuant, inventories)._apply_inventory()
File "/data/build/rb-b8555ad-210447/addons/stock/models/stock_quant.py", line 775, in _apply_inventory
moves._action_done()
File "/data/build/Viindoo-tvtmaaddons-16.0/to_multi_warehouse_access_control/models/stock_move.py", line 27, in _action_done
return super(StockMove, self)._action_done(cancel_backorder)
File "/data/build/Viindoo-erponline-enterprise-16.0/l10n_vn_viin_mrp_subcontracting_account/models/stock_move.py", line 107, in _action_done
return super(StockMove, self)._action_done(cancel_backorder=cancel_backorder)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_foreign_trade/models/stock_move.py", line 43, in _action_done
res = super(StockMove, self)._action_done(cancel_backorder)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_purchase_stock_backdate/models/stock_move.py", line 24, in _action_done
return super(StockMove, self)._action_done(cancel_backorder)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_stock_backdate/models/stock_move.py", line 23, in _action_done
return super(StockMove, self)._action_done(cancel_backorder)
File "/data/build/rb-b8555ad-210447/addons/stock_account/models/stock_move.py", line 276, in _action_done
stock_valuation_layers._validate_accounting_entries()
File "/data/build/Viindoo-erponline-enterprise-16.0/to_stock_asset/models/stock_valuation_layer.py", line 21, in _validate_accounting_entries
return super(StockValuationLayer, self)._validate_accounting_entries()
File "/data/build/rb-b8555ad-210447/addons/stock_account/models/stock_valuation_layer.py", line 66, in _validate_accounting_entries
if svls.company_id.anglo_saxon_accounting:
File "/data/build/rb-b8555ad-210447/odoo/fields.py", line 1154, in __get__
record.ensure_one()
File "/data/build/rb-b8555ad-210447/odoo/models.py", line 5186, in ensure_one
raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: res.company(1, 2)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/data/build/rb-b8555ad-210447/odoo/modules/loading.py", line 89, in load_demo
load_data(cr, idref, mode, kind='demo', package=package)
File "/data/build/rb-b8555ad-210447/odoo/modules/loading.py", line 71, in load_data
tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 763, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_built_in_help/models/convert.py", line 123, in help_link_convert_xml_import
obj.parse(doc.getroot())
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 749, in parse
self._tag_root(de)
File "/data/build/rb-b8555ad-210447/odoo/tools/convert.py", line 711, in _tag_root
raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/Viindoo-erponline-enterprise-16.0/viin_rental_stock/demo/rental_demo.xml:583, somewhere inside
<function model="stock.quant" name="action_apply_inventory">
<function eval="[[('id', 'in', (ref('viin_rental_stock.stock_inventory_1_demo'), ref('viin_rental_stock.stock_inventory_2_demo'), ref('viin_rental_stock.stock_inventory_3_demo'), ref('viin_rental_stock.stock_inventory_4_demo'), ))]]" model="stock.quant" name="search"/>
</function>
11/19/2024 22:49:05 ERROR
Subbuild # 284040: odoo.tests.suite: ERROR: setUpClass (odoo.addons.viin_rental_stock.tests.test_rental_order.TestRentalOrder)
Traceback (most recent call last):
File "/data/build/rb-b8555ad-210447/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "<decorator-gen-8>", line 2, in __getitem__
File "/data/build/rb-b8555ad-210447/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/data/build/rb-b8555ad-210447/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData._xmlid_lookup at 0x7f4047e8cc10>, 'viin_rental_stock.product_rent_3_demo')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/data/build/Viindoo-erponline-enterprise-16.0/viin_rental_stock/tests/common.py", line 20, in setUpClass
cls.product_rental_3 = cls.env.ref('viin_rental_stock.product_rent_3_demo')
File "/data/build/rb-b8555ad-210447/odoo/api.py", line 595, in ref
res_model, res_id = self['ir.model.data']._xmlid_to_res_model_res_id(
File "/data/build/rb-b8555ad-210447/odoo/addons/base/models/ir_model.py", line 2049, in _xmlid_to_res_model_res_id
return self._xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-43>", line 2, in _xmlid_lookup
File "/data/build/rb-b8555ad-210447/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/data/build/rb-b8555ad-210447/odoo/addons/base/models/ir_model.py", line 2042, in _xmlid_lookup
raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: viin_rental_stock.product_rent_3_demo
11/19/2024 22:49:05 WARNING
Subbuild # 284040: py.warnings: /data/build/Viindoo-tvtmaaddons-16.0/viin_foreign_trade/models/res_partner.py:77: UserWarning: unsupported operand type(s) for "==": 'res.country()' == '233'
File "/data/build/rb-b8555ad-210447/odoo-bin", line 8, in <module>
odoo.cli.main()
File "/data/build/rb-b8555ad-210447/odoo/cli/command.py", line 66, in main
o.run(args)
File "/data/build/rb-b8555ad-210447/odoo/cli/server.py", line 185, in run
main(args)
File "/data/build/rb-b8555ad-210447/odoo/cli/server.py", line 178, in main
rc = odoo.service.server.start(preload=preload, stop=stop)
File "/data/build/rb-b8555ad-210447/odoo/service/server.py", line 1410, in start
rc = server.run(preload, stop)
File "/data/build/rb-b8555ad-210447/odoo/service/server.py", line 590, in run
rc = preload_registries(preload)
File "/data/build/rb-b8555ad-210447/odoo/service/server.py", line 1336, in preload_registries
result = loader.run_suite(post_install_suite)
File "/data/build/rb-b8555ad-210447/odoo/tests/loader.py", line 86, in run_suite
suite(results)
File "/usr/lib/python3.10/unittest/suite.py", line 84, in __call__
return self.run(*args, **kwds)
File "/data/build/rb-b8555ad-210447/odoo/tests/suite.py", line 44, in run
test(result)
File "/usr/lib/python3.10/unittest/case.py", line 650, in __call__
return self.run(*args, **kwds)
File "/data/build/rb-b8555ad-210447/odoo/tests/common.py", line 272, in run
super().run(result)
File "/data/build/rb-b8555ad-210447/odoo/tests/case.py", line 216, in run
self._callTestMethod(testMethod)
File "/data/build/rb-b8555ad-210447/odoo/tests/case.py", line 184, in _callTestMethod
method()
File "/data/build/rb-b8555ad-210447/addons/website_sale/tests/test_website_sale_add_to_cart_snippet.py", line 75, in test_configure_product
admin_partner.write({
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_marketplace_partner_approval/models/res_partner.py", line 145, in write
return super(Partner, self).write(vals)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_marketplace_stock/models/res_partner.py", line 16, in write
res = super(ResPartner, self).write(vals)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_marketplace/models/res_partner.py", line 354, in write
res = super(Partner, self).write(vals)
File "/data/build/Viindoo-tvtmaaddons-16.0/viin_foreign_trade/models/res_partner.py", line 77, in write
('country_id' in vals and vals['country_id'] != r.country_id.id)
11/19/2024 22:49:05 ERROR
Subbuild # 284040: odoo.tests.result: 0 failed, 1 error(s) of 1287 tests when loading database 'rb-b8555ad-210447-284040'