Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.1
Category
Generic Modules/Account
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-invoicing
Last tracking update
2026-08-07 07:47:28
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
SilvioC2C, Weblate, OCA Transbot, OCA-git-bot, oca-travis, Guillermo Gallego
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • copy_data(self, default=None)
    Add `ref` to copied fields The same feature could've been achieved by setting `copy=True` in the field's definition, but it would've made the field copiable everywhere. Instead, we just need to copy it when reversing a move and creating a new one from it, which is done by calling :meth:`copy_data`.

New fields (0)

No new fields.

Public methods (1)
  • reverse_moves(self)