Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.1
Category
Generic Modules/Invoicing
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://camptocamp.com
Last tracking update
2026-08-07 07:17:41
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Pedro M. Baeza, Stéphane Bidoul (ACSONE)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds 2 states between draft and open state in invoices:

- To Validate: For invoices which need a validation
- To Send: For all invoices that need to be sent

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
invoice_form_validation_wkfl account.invoice.form.validation.wkfl account.invoice form Inherits account.invoice_form
invoice_supplier_form_validation_wkfl account.invoice.supplier.form.validation.wkfl account.invoice form Inherits account.invoice_supplier_form
view_account_invoice_filter account.invoice.valid_wkf.select account.invoice Inherits account.view_account_invoice_filter
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • state Selection
    readonly=True select=True args: [('draft', 'Draft'), ('to_send', 'To Send'), ('to_valid', 'To Validate'), ('proforma2', 'Pro-forma'), ('open', 'Open'), ('paid', 'Paid'), ('cancel', 'Canceled')], 'State'
Public methods (1)
  • action_to_valid(self)
    @api.multi
    Check if analytic account of each lines is not closed

New fields (0)

No new fields.

Public methods (1)
  • compute_refund(self, cr, uid, ids, mode='refund', context=None)
    @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security checks, @param ids: the account invoice refund’s ID or list of IDs

Loading…

Loading…