Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.1
Category
Sales
Folder size
0.24 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 08:42:49
Authors
Camptocamp, Odoo Community Association (OCA), Tecnativa
Maintainers
Camptocamp, Odoo Community Association (OCA), Tecnativa
Committers
Pedro M. Baeza, Víctor Martínez, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module brings the possibility to indicate if a task is available to
be invoiced or not, within the task itself. Moreover, even if the task
is not finished yet, it can be set as invoiceable.

As an option, you can relate this control to a Project Stage (
`project.task.type` ). For example, if you want to assign 'Invoiceable'
to `Done` stage always.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
edit_project_task_track project.task.form.track project.task form Inherits project.view_task_form2
product_template_form_view_invoice_policy_inherit_sale_project product.template form Inherits sale_project.product_template_form_view_invoice_policy_inherit_sale_project
task_type_edit project.task.type Inherits project.task_type_edit
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • invoicing_finished_task Boolean
    help='Invoice the order lines only when the task is set to invoiceable' string='Invoicing control by task'
Public methods (0)

No public methods.

New fields (2)
  • invoiceable Boolean
  • invoicing_finished_task Boolean
    related='sale_line_id.product_id.invoicing_finished_task'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • toggle_invoiceable(self)
  • write(self, vals)

New fields (1)
  • invoiceable Boolean
Public methods (0)

No public methods.

New fields (1)
  • task_ids One2many → project.task
    comodel_name='project.task' inverse_name='sale_line_id' string='Tasks'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
29 days ago
Last activity
29 days ago
Repository
OCA/sale-workflow
Pull request
[19.0] [MIG] sale_order_invoicing_finished_task : Migration to 19.0 (#4484)