Repository
OCA/contract · module folder · Try on Runboat
Module version
1.0.2
Category
Contract Management
Folder size
0.17 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/contract
Last tracking update
2026-08-12 17:13:54
Authors
ACSONE SA/NV, Odoo Community Association (OCA), PESOL
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA), PESOL
Committers
Enric Tobella, Weblate, OCA-git-bot, javierjcf, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends functionality of contracts to be able to generate
sales orders instead of invoices.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
contract_contract_form_view_recurring_sale_form contract.contract.form.recurring.sale.form contract.contract form Inherits contract.contract_contract_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (1)
  • sale_count Integer
    compute='_compute_sale_count'
Public methods (3)
  • action_show_sales(self)
  • cron_recurring_create_sale(self, date_ref=None)
    @api.model
  • recurring_create_sale(self)
    This method triggers the creation of the next sale order of the contracts even if their next sale order date is in the future.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • generation_type Selection
    selection_add=[('sale', 'Sale')]
  • sale_autoconfirm Boolean
Public methods (0)

No public methods.

New fields (1)
  • contract_auto_confirm Boolean
    compute='_compute_contract_auto_confirm' help='This is a technical field in order to know if the order shouldbe automatically confirmed if generated by contract.'
Public methods (0)

No public methods.

New fields (1)
  • contract_line_id Many2one → contract.line
    index=True string='Contract Line' args: 'contract.line'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
36 days ago
Last activity
13 days ago
Repository
OCA/contract
Pull request
[19.0][MIG] contract_sale_generation: Migration to 19.0 (#1485)