Description: Install and run Odoo without demo data
Commit: kmitl:33e8e66a  
Subject: [16.0][ADD] kmitl_demo: add product categories and equipment catalog
Author: PHATTARAPON.K
Committer: PHATTARAPON.K
Commit: operating-unit:c35d6a9a  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: account-analytic:7336c9ff  
Subject: Translated using Weblate (Spanish)
Author: Miquel Romera
Committer: Weblate
Commit: server-backend:ccf60878  
Subject: Update requirements.txt
Author: Nopparut Saelim
Committer: GitHub
Commit: account-reconcile:c031db9d  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: mis-builder:82d39175  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: reporting-engine:4cafaadb  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: odoo:6491e005  
Subject: [FIX] survey: avoid timer early submissions due to time difference
Author: João Alves
Committer: João Horta Alves
Commit: account-financial-reporting:948901d9  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: project:7a5c615c  
Subject: [BOT] post-merge updates
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: server-tools:3abe25d7  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: server-ux:23e96d19  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: hr:3af635cb  
Subject: Translated using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: account-financial-tools:c3b3e7dd  
Subject: Added translation using Weblate (Italian)
Author: mymage
Committer: Weblate
Commit: web:fb9be06e  
Subject: Translated using Weblate (Portuguese (Brazil))
Author: Luis Felipe Miléo
Committer: Weblate
Commit: purchase-workflow:ecf70d6c  
Subject: Translated using Weblate (Turkish)
Author: Betül Öğmen
Committer: Weblate
Commit: server-brand:2bc45d77  
Subject: [UPD] addons table in README.md
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: l10n-thailand:0b7b078e  
Subject: [UPD] addons table in README.md
Author: OCA-git-bot
Committer: OCA-git-bot
Commit: odoo-modules:76529673  
Subject: Merge branch '16.0' of github.com:Aginix/odoo-modules into 16.0
Author: Nonpawit Teerachetmongkol
Committer: Nonpawit Teerachetmongkol
Version: 16.0
Config: Without demo
Total time: 3m
Date Level Type Message
2025-08-25 03:01:00 INFO runbot Init build environment with config Without demo
2025-08-25 03:01:00 Starting step install_without_demo from config Without demo
2025-08-25 03:01:00 INFO runbot Using Dockerfile Tag odoo:DockerDefaultAke
2025-08-25 03:02:16 INFO server odoo.modules.loading:336 1 modules loaded in 6.13s, 7917 queries (+7917 extra)
2025-08-25 03:03:15 WARNING server odoo.addons.base.models.ir_model:1077 Two fields (compute_activity_analytic_id, compute_fund_analytic_id) of budget.move() have the same label: compute fund Used. [Modules: budget and budget]
2025-08-25 03:03:17 WARNING server odoo.models:4437 Creating record __export__.budget_account_547_6004ce02 in module budget.
2025-08-25 03:03:17 WARNING server odoo.models:4437 Creating record __export__.budget_account_548_9bc7af60 in module budget.
2025-08-25 03:03:23 WARNING server odoo.addons.base.models.ir_model:1077 Two fields (compute_activity_analytic_id, compute_fund_analytic_id) of budget.move() have the same label: compute fund Used. [Modules: budget and budget]
2025-08-25 03:03:23 WARNING server odoo.addons.base.models.ir_model:1077 Two fields (compute_activity_analytic_id, compute_fund_analytic_id) of budget.move() have the same label: compute fund Used. [Modules: budget and budget]
2025-08-25 03:03:26 WARNING server odoo.addons.base.models.ir_model:1077 Two fields (compute_activity_analytic_id, compute_fund_analytic_id) of budget.move() have the same label: compute fund Used. [Modules: budget and budget]
2025-08-25 03:03:28 ERROR server odoo.tools.convert.init:119 Could not eval(obj().env['account.account'].search([('code', '=', '5412000002')], limit=1).id or False) for property_account_expense_categ_id in {}
2025-08-25 03:03:28 WARNING server odoo.modules.loading:652 Transient module states were reset
2025-08-25 03:03:28 ERROR server odoo.modules.registry:92
Failed to load registry
Traceback (most recent call last):
  File "/data/build/odoo/odoo/tools/safe_eval.py", line 399, in safe_eval
    return unsafe_eval(c, globals_dict, locals_dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "", line 1, in <module>
NameError: name 'obj' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/data/build/odoo/odoo/tools/convert.py", line 706, in _tag_root
    f(rec)
  File "/data/build/odoo/odoo/tools/convert.py", line 581, in _tag_record
    f_val = _eval_xml(self, field, env)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/tools/convert.py", line 117, in _eval_xml
    return safe_eval(a_eval, idref2)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/tools/convert.py", line 39, in <lambda>
    safe_eval = lambda expr, ctx={}: s_eval(expr, ctx, nocopy=True)
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/tools/safe_eval.py", line 413, in safe_eval
    raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))
ValueError: <class 'NameError'>: "name 'obj' is not defined" while evaluating
"obj().env['account.account'].search([('code', '=', '5412000002')], limit=1).id or False"

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

Traceback (most recent call last):
  File "/data/build/odoo/odoo/modules/registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/data/build/odoo/odoo/modules/loading.py", line 493, in load_modules
    processed_modules += load_marked_modules(cr, graph,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/modules/loading.py", line 374, in load_marked_modules
    loaded, processed = load_module_graph(
                        ^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/modules/loading.py", line 233, in load_module_graph
    load_data(cr, idref, mode, kind='data', package=package)
  File "/data/build/odoo/odoo/modules/loading.py", line 73, in load_data
    tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
  File "/data/build/odoo/odoo/tools/convert.py", line 771, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate)
  File "/data/build/odoo/odoo/tools/convert.py", line 837, in convert_xml_import
    obj.parse(doc.getroot())
  File "/data/build/odoo/odoo/tools/convert.py", line 757, in parse
    self._tag_root(de)
  File "/data/build/odoo/odoo/tools/convert.py", line 706, in _tag_root
    f(rec)
  File "/data/build/odoo/odoo/tools/convert.py", line 719, in _tag_root
    raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/kmitl/kmitl_demo/data/product.category.xml:10, somewhere inside
<record id="product_category_office_equipment" model="product.category">
            <field name="name">1 ครุภัณฑ์สำนักงาน</field>
            <field name="parent_id" ref="product_category_equipment"/>
            <field name="property_account_expense_categ_id" eval="obj().env['account.account'].search([('code', '=', '5412000002')], limit=1).id or False"/>
        </record>
2025-08-25 03:03:28 CRITICAL server odoo.service.server:1364
Failed to initialize database `02658-16-0-without_demo`.
Traceback (most recent call last):
  File "/data/build/odoo/odoo/tools/safe_eval.py", line 399, in safe_eval
    return unsafe_eval(c, globals_dict, locals_dict)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "", line 1, in <module>
NameError: name 'obj' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/data/build/odoo/odoo/tools/convert.py", line 706, in _tag_root
    f(rec)
  File "/data/build/odoo/odoo/tools/convert.py", line 581, in _tag_record
    f_val = _eval_xml(self, field, env)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/tools/convert.py", line 117, in _eval_xml
    return safe_eval(a_eval, idref2)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/tools/convert.py", line 39, in <lambda>
    safe_eval = lambda expr, ctx={}: s_eval(expr, ctx, nocopy=True)
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/tools/safe_eval.py", line 413, in safe_eval
    raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))
ValueError: <class 'NameError'>: "name 'obj' is not defined" while evaluating
"obj().env['account.account'].search([('code', '=', '5412000002')], limit=1).id or False"

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

Traceback (most recent call last):
  File "/data/build/odoo/odoo/service/server.py", line 1327, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<decorator-gen-16>", line 2, in new
  File "/data/build/odoo/odoo/tools/func.py", line 87, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/modules/registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/data/build/odoo/odoo/modules/loading.py", line 493, in load_modules
    processed_modules += load_marked_modules(cr, graph,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/modules/loading.py", line 374, in load_marked_modules
    loaded, processed = load_module_graph(
                        ^^^^^^^^^^^^^^^^^^
  File "/data/build/odoo/odoo/modules/loading.py", line 233, in load_module_graph
    load_data(cr, idref, mode, kind='data', package=package)
  File "/data/build/odoo/odoo/modules/loading.py", line 73, in load_data
    tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
  File "/data/build/odoo/odoo/tools/convert.py", line 771, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate)
  File "/data/build/odoo/odoo/tools/convert.py", line 837, in convert_xml_import
    obj.parse(doc.getroot())
  File "/data/build/odoo/odoo/tools/convert.py", line 757, in parse
    self._tag_root(de)
  File "/data/build/odoo/odoo/tools/convert.py", line 706, in _tag_root
    f(rec)
  File "/data/build/odoo/odoo/tools/convert.py", line 719, in _tag_root
    raise ParseError('while parsing %s:%s, somewhere inside\n%s' % (
odoo.tools.convert.ParseError: while parsing /data/build/kmitl/kmitl_demo/data/product.category.xml:10, somewhere inside
<record id="product_category_office_equipment" model="product.category">
            <field name="name">1 ครุภัณฑ์สำนักงาน</field>
            <field name="parent_id" ref="product_category_equipment"/>
            <field name="property_account_expense_categ_id" eval="obj().env['account.account'].search([('code', '=', '5412000002')], limit=1).id or False"/>
        </record>
2025-08-25 03:03:31 Step install_without_demo finished in 2m
2025-08-25 03:03:31 Starting step run_without_demo from config Without demo
2025-08-25 03:03:31 INFO runbot Start running build 02658-16-0
2025-08-25 03:03:31 INFO runbot Using Dockerfile Tag odoo:DockerDefaultAke
2025-08-25 03:04:32 INFO server odoo.modules.loading:336 1 modules loaded in 0.01s, 0 queries (+0 extra)
2025-08-25 03:04:34 INFO server odoo.modules.loading:336 125 modules loaded in 2.04s, 0 queries (+0 extra)
2025-08-25 05:01:21 INFO runbot Killing build 02658-16-0, requested by Administrator (user #2)
2025-08-25 05:01:24 INFO runbot Kill build 02658-16-0