Repository
OCA/contract · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.23 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/contract
Last tracking update
2026-08-07 08:43:01
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Weblate, Tobias Zehntner, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends `Contract` and adds the option "Manually Invoiced" to a contract.

When invoices are generated automatically, "Manually Invoiced" contracts are excluded.

They can be invoiced manually:
- Accounting >
  - Customers > *Manually Invoice Sale Contracts*
  - Vendors > *Manually Invoice Purchase Contracts*

The popup to invoice the contracts includes a filter, where the user can further specify which contracts should be considered to invoice.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
contract_contract_form_view contract.contract form Inherits contract.contract_contract_form_view
contract_contract_search_view contract.contract search Inherits contract.contract_contract_search_view
contract_contract_tree_view contract.contract tree Inherits contract.contract_contract_tree_view
contract_manually_create_invoice_form_view contract.manually.create.invoice form Inherits contract.contract_manually_create_invoice_form_view
res_config_settings_form_view res.config.settings form Inherits contract.res_config_settings_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (2)
  • enable_contract_invoice_manually Boolean
    readonly=True related='company_id.enable_contract_invoice_manually'
  • is_manually_invoiced Boolean
    help='The contract will be excluded from the automated invoice creation. It can be invoiced manually via Accounting > Customers/Vendors > Manually Invoice Sale/Purchase Contracts' args: 'Manually Invoiced'
Public methods (0)

No public methods.

New fields (1)
  • filter_domain Char
    compute='_compute_filter_domain' help='Filter/Domain to apply on contracts to invoice' readonly=False store=True string='Domain'
Public methods (0)

No public methods.

New fields (1)
  • enable_contract_invoice_manually Boolean
    help='Exclude contracts from being invoiced automatically' string='Enable Manual Invoicing'
Public methods (0)

No public methods.

New fields (1)
  • enable_contract_invoice_manually Boolean
    readonly=False related='company_id.enable_contract_invoice_manually'
Public methods (0)

No public methods.