account_invoice_clearing

in account-invoicing · source on GitHub

Account invoice clearing wizard

Category: Accounting/Accounting · Moduon · AGPL-3

16.0✓Installs
17.0×Not in this series
18.0✓Installs
19.0✓Installs
20.0×Not in this series
SeriesStatusDetailsCode
16.0✓Installs · run 2026-08-21 · 16.0.1.0.1on GitHub
17.0—Not testedno branch
18.0✓Installs · run 2026-08-19 · 18.0.1.0.1on GitHub
19.0✓Installs · run 2026-08-19 · 19.0.1.0.1on GitHub
20.0—Not testedno branch

Odoo 20.0 dev — development line

A different statement from the table above. There: the module as published, on a released platform. Here: the module’s code with its manifest version mechanically raised, on a platform that has not been released and changes daily.

StatusDetails
✗failsThe same code installs on 19.0; on the development line it does not. The difference belongs to the platform. (registry) · version 19.0.1.0.1 → 19.5.1.0.1, code unchanged · run 2026-09-10 · odoo 19.5 · modidx/odoo:master-deps-20260910

Log excerpt, 20.0 dev

2026-09-10 21:08:40,319 1 INFO job_11c848aa7d08 odoo.modules.loading: loading account_edi_ubl_cii/report/account_edi_ubl_cii_report_templates.xml
2026-09-10 21:08:40,436 1 INFO job_11c848aa7d08 odoo.registry: Registry changed, signaling through the database
2026-09-10 21:08:40,439 1 INFO job_11c848aa7d08 odoo.modules.loading: Module account_edi_ubl_cii loaded in 1.46s, 569 queries (+569 other)
2026-09-10 21:08:40,440 1 INFO job_11c848aa7d08 odoo.modules.loading: Loading module account_invoice_clearing (47/51)
2026-09-10 21:08:40,511 1 WARNING job_11c848aa7d08 odoo.modules.loading: Transient module states were reset
2026-09-10 21:08:40,514 1 ERROR job_11c848aa7d08 odoo.registry: Failed to load registry
2026-09-10 21:08:40,514 1 CRITICAL job_11c848aa7d08 odoo.service.server: Failed to initialize database `job_11c848aa7d08`.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1559, in preload_registries
    registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit'])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 67, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/orm/registry.py", line 222, in new
    contextvars.Context().run(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 446, in load_modules
    load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 187, in load_module_graph
    registry._setup_models__(env.cr, [])  # incremental setup
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 67, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/orm/registry.py", line 556, in _setup_models__
    model_classes.setup_model_classes(env)
  File "/usr/lib/python3/dist-packages/odoo/orm/model_classes.py", line 343, in setup_model_classes
    _setup_fields(model_cls, env)
  File "/usr/lib/python3/dist-packages/odoo/orm/model_classes.py", line 550, in _setup_fields
    field.setup(model)
  File "/usr/lib/python3/dist-packages/odoo/orm/fields.py", line 571, in setup
    self.setup_related(model)
  File "/usr/lib/python3/dist-packages/odoo/orm/fields_textual.py", line 51, in setup_related
    super().setup_related(model)
  File "/usr/lib/python3/dist-packages/odoo/orm/fields.py", line 666, in setup_related
    raise TypeError("Type of related field %s is inconsistent with %s" % (self, field))
TypeError: Type of related field account.invoice.clearing.lines.wizard.name is inconsistent with account.move.line.name
2026-09-10 21:08:40,523 1 INFO job_11c848aa7d08 odoo.service.server.ThreadedServer: Initiating shutdown
2026-09-10 21:08:40,523 1 INFO job_11c848aa7d08 odoo.service.server.ThreadedServer: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-10 21:08:40,524 1 INFO job_11c848aa7d08 odoo.addons.bus.websocket: Disconnecting 0 websockets
2026-09-10 21:08:40,627 1 INFO job_11c848aa7d08 odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connections

Provenance: __manifest__.py sha256 81beb49737149c7b… · tree of 22 files without the manifest, sha256 c40d54655ed54baf…

This does not say the module is compatible with Odoo 20.0, and does not say it installs on Odoo 20.0 — on a stock platform it will not, until its maintainer raises the version. Why we raise the version

Odoo 20.0 — the branch itself

The same frozen code, run again against the real 20.0 branch. The run above used Odoo’s development line before the branch was cut; this one used the branch, pinned to one commit.

StatusDetails
✗failsThe same code installs on 19.0; on the development line it does not. The difference belongs to the platform. (registry) · version 19.0.1.0.1 → 20.0.1.0.1, code unchanged · run 2026-09-18 · odoo 20.0 · modidx/odoo:20.0-deps-20260918

Log excerpt, 20.0 dev

2026-09-18 18:56:39,951 1 INFO job_128ec5f598b7 odoo.modules.loading: loading account_edi_ubl_cii/report/account_edi_ubl_cii_report_templates.xml
2026-09-18 18:56:40,154 1 INFO job_128ec5f598b7 odoo.registry: Registry changed, signaling through the database
2026-09-18 18:56:40,159 1 INFO job_128ec5f598b7 odoo.modules.loading: Module account_edi_ubl_cii loaded in 2.08s, 631 queries (+631 other)
2026-09-18 18:56:40,159 1 INFO job_128ec5f598b7 odoo.modules.loading: Loading module account_invoice_clearing (47/51)
2026-09-18 18:56:40,240 1 WARNING job_128ec5f598b7 odoo.modules.loading: Transient module states were reset
2026-09-18 18:56:40,242 1 ERROR job_128ec5f598b7 odoo.registry: Failed to load registry
2026-09-18 18:56:40,243 1 CRITICAL job_128ec5f598b7 odoo.service.server: Failed to initialize database `job_128ec5f598b7`.
Traceback (most recent call last):
  File "/opt/odoo/odoo/service/server.py", line 1520, in preload_registries
    registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit'])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo/odoo/tools/func.py", line 67, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo/odoo/orm/registry.py", line 222, in new
    contextvars.Context().run(
  File "/opt/odoo/odoo/modules/loading.py", line 449, in load_modules
    load_module_graph(
  File "/opt/odoo/odoo/modules/loading.py", line 187, in load_module_graph
    registry._setup_models__(env.cr, [])  # incremental setup
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo/odoo/tools/func.py", line 67, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo/odoo/orm/registry.py", line 556, in _setup_models__
    model_classes.setup_model_classes(env)
  File "/opt/odoo/odoo/orm/model_classes.py", line 343, in setup_model_classes
    _setup_fields(model_cls, env)
  File "/opt/odoo/odoo/orm/model_classes.py", line 550, in _setup_fields
    field.setup(model)
  File "/opt/odoo/odoo/orm/fields.py", line 571, in setup
    self.setup_related(model)
  File "/opt/odoo/odoo/orm/fields_textual.py", line 51, in setup_related
    super().setup_related(model)
  File "/opt/odoo/odoo/orm/fields.py", line 666, in setup_related
    raise TypeError("Type of related field %s is inconsistent with %s" % (self, field))
TypeError: Type of related field account.invoice.clearing.lines.wizard.name is inconsistent with account.move.line.name
2026-09-18 18:56:40,251 1 INFO job_128ec5f598b7 odoo.service.server.ThreadedServer: Initiating shutdown
2026-09-18 18:56:40,251 1 INFO job_128ec5f598b7 odoo.service.server.ThreadedServer: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-18 18:56:40,252 1 INFO job_128ec5f598b7 odoo.addons.bus.websocket: Disconnecting 0 websockets
2026-09-18 18:56:40,354 1 INFO job_128ec5f598b7 odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connections

Provenance: __manifest__.py sha256 81beb49737149c7b… · tree of 22 files without the manifest, sha256 c40d54655ed54baf…

This does not say the module is compatible with Odoo 20.0, and does not say it installs on Odoo 20.0 — on a stock platform it will not, until its maintainer raises the version. Why we raise the version

The module’s code on 19.0

Lines of codepython 851 · xml 241
Testsyes: 1 file(s), 154 lines
Migration scriptsno
Models2 new · 1 extensions

Lines are physical, blanks and comments included, as wc -l. Tests are test_*.py files under tests/. Models are lines holding _name = and _inherit =. These are facts about the code, not a judgement: more lines is neither better nor worse. Measured 2026-08-28 on tree ada6ab8895c7.

The apps.odoo.com catalogue has a listing under the same technical name on 16.0, 18.0, 19.0: apps.odoo.com/apps/modules/19.0/account_invoice_clearing. A matching name does not prove matching code — how we counted this.

Depends on

ModuleStatusChecked
accountcoreships with Odoo

History

Last change2026-06-01
Code commits, 12 months9
Most activeEduardo De Miguel, Eduardo de Miguel, Sabrina Martín
Files23

Translation and bot commits are excluded from the commit count.

Result looks wrong? Tell us — we will show the log or run it again. Report a wrong result

Get told when this module changes state

Data updated 2026-10-07 13:00 UTC · build 4aa2dbe · we publish the install log with a date, not a vendor rating · CSV and JSON are open

Questions or a wrong result: open an issue or hello@allservices.one

Privacy · Terms

Independent project. Not affiliated with Odoo S.A. or the Odoo Community Association.