TIP: You can type at any time to perform a new search.
Move in draft state by default
account_default_draft_move · OCA/account-financial-tools
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` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.safe_eval` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.safe_eval` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
AccountConfigSettings— Class 'AccountConfigSettings' still inherits from the old-style `orm.TransientModel` 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 · sourceAccountConfigSettings— Class 'AccountConfigSettings' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceinvoice_form_supplier_group_invoice— For a target of Odoo 17.0+: view 'invoice_form_supplier_group_invoice' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_move SET state=%s WHERE id IN %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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-financial-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.11 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com
- Last tracking update
- 2026-08-07 07:17:46
- Authors
- Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza, Stéphane Bidoul (ACSONE)
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
invoice_form_customer_group_invoice |
Show Cancel invoice button customer | account.invoice | form | Inherits account.invoice_form |
invoice_form_supplier_group_invoice |
Show Cancel invoice button supplier | account.invoice | form | Inherits account.invoice_supplier_form |
view_account_config_settings |
account.config.settings.inherit | account.config.settings | Inherits account.view_account_config_settings | |
view_move_form_remove_button |
account.move.form.remove.button | account.move | form | Inherits account.view_move_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (0)
No new fields.
Public methods (1)-
button_confirm_bank(self)@api.multi
New fields (0)
No new fields.
Public methods (2)-
default_get(self, cr, uid, fields, context=None) -
set_parameters(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (1)-
action_move_create(self)@api.multiSet move line in draft state after creating them.
New fields (1)
-
entry_postedBooleanhelp="Check this box if you don't want new journal entries\nto pass through the 'draft' state and instead goes directly\nto the 'posted state' without any manual validation."string="Skip 'Draft' State"
No public methods.
New fields (1)
-
update_postedBooleancompute='_is_update_posted'string='Allow Cancelling Entries'
-
button_cancel(self)@api.multiWe rewrite function button_cancel, to allow invoice or bank statement with linked draft moved to be canceled
Loading…
Loading…
Loading…
Loading…