TIP: You can type at any time to perform a new search.
Default Sales Team on Invoice
account_invoice_default_salesteam · OCA/account-invoicing
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
AccountInvoice— Class 'AccountInvoice' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceSaleOrder— Class 'SaleOrder' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceStockPicking— Class 'StockPicking' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- 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.