Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.1
Category
Accounting & Finance
Folder size
0.06 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
http://www.savoirfairelinux.com
Last tracking update
2026-08-07 06:56:09
Authors
Savoir-faire Linux, Odoo Community Association (OCA)
Maintainers
Savoir-faire Linux, Odoo Community Association (OCA)
Committers
Alexandre Fayolle, Stéphane Bidoul (ACSONE), OCA Transbot, Vincent Vinet
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module set the Sales Team (section_id field) in the 2 following scenarios:

* when creating an invoice, set on partner_id.onchange() from the partner's
  Sales Team
* when invoicing from sales_order, set from the Sales Order's Sales Team.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (2)
  • create(self, cr, uid, values, context=None)
  • onchange_partner_id(self, cr, uid, ids, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False, context=None)

New fields (0)

No new fields.

Public methods (1)
  • onchange_partner_id(self, cr, uid, ids, part, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.