Sale Merge Draft Invoice

sale_merge_draft_invoice
REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/12.0/sale_merge_draft_invoice
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSale Workflow
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSDenis Roussel, Bhavesh Odedra, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/sale-workflow:
    - sale_order_action_invoice_create_hook
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.sale res.config.settings xpath Inherits sale.res_config_settings_view_form
view_sale_advance_payment_inv Invoice Orders sale.advance.payment.inv field Inherits sale.view_sale_advance_payment_inv
Models touched (4)

New fields (1)
  • sale_merge_draft_invoice Boolean
    string='Invoices'
Public methods (0)

No public methods.

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

No public methods.

New fields (1)
  • merge_draft_invoice Boolean
    default=_get_default_merge_draft_invoice help='Activate this option in order to merge the resulting invoice with existing draft invoices or deactivate it if you wish a separate invoice for this sale order.' string='Merge with draft invoices'
Public methods (1)
  • create_invoices(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/11.0/sale_merge_draft_invoice
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale Workflow
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSJordi Ballester Alomar, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/sale-workflow:
    - sale_order_action_invoice_create_hook
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.sale res.config.settings xpath Inherits base.res_config_settings_view_form
view_sale_advance_payment_inv Invoice Orders sale.advance.payment.inv field Inherits sale.view_sale_advance_payment_inv
Models touched (4)

New fields (1)
  • sale_merge_draft_invoice Boolean
    string='Invoices'
Public methods (0)

No public methods.

New fields (1)
  • sale_merge_draft_invoice Boolean
    related='company_id.sale_merge_draft_invoice' string='Invoices'
Public methods (0)

No public methods.

New fields (1)
  • merge_draft_invoice Boolean
    default=_get_default_merge_draft_invoice help=_('Activate this option in order to merge the resulting invoice with existing draft invoices or deactivate it if you wish a separate invoice for this sale order.') string='Merge with draft invoices'
Public methods (1)
  • create_invoices(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/10.0/sale_merge_draft_invoice
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale Workflow
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent
COMMITTERS
COMMITTERSDenis Roussel, Jordi Ballester Alomar, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://github.com/OCA/sale-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/sale-workflow:
    - sale_order_action_invoice_create_hook
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_sale_advance_payment_inv Invoice Orders sale.advance.payment.inv field Inherits sale.view_sale_advance_payment_inv
view_sales_config sale settings sale.config.settings field Inherits sale.view_sales_config
Models touched (4)

New fields (1)
  • sale_merge_draft_invoice Selection
    string='Invoices' args: [(0, 'Create a new invoice every time a sale order is invoiced'), (1, 'Merge new invoices with existing draft ones')]
Public methods (0)

No public methods.

New fields (1)
  • merge_draft_invoice Boolean
    default=_get_default_merge_draft_invoice help=_('Activate this option in order to merge the resulting invoice with existing draft invoices or deactivate it if you wish a separate invoice for this sale order.') string='Merge with draft invoices'
Public methods (1)
  • create_invoices(self)
    @api.multi

New fields (1)
  • sale_merge_draft_invoice Selection
    related='company_id.sale_merge_draft_invoice' string='Invoices' args: [(0, 'Create a new invoice every time a sale order is invoiced'), (1, 'Merge new invoices with existing draft ones')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.