TIP: You can type at any time to perform a new search.
Account voucher display writeoff
account_voucher_display_writeoff · OCA/account-payment
Security findings
Migration considerations
- 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
account_voucher— Class 'account_voucher' still inherits from the old-style `osv.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 · sourceaccount_voucher— Class 'account_voucher' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_purchase_receipt_form— For a target of Odoo 17.0+: view 'view_purchase_receipt_form' 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 · sourceview_sale_receipt_form— For a target of Odoo 17.0+: view 'view_sale_receipt_form' 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 · sourceview_voucher_form— For a target of Odoo 17.0+: view 'view_voucher_form' 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
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-payment · module folder · Try on Runboat
- Module version
- 1.0r089
- Category
- Accounting & Finance
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://therp.nl
- Last tracking update
- 2026-08-07 07:03:08
- Authors
- Odoo Community Association (OCA), Therp BV
- Maintainers
- Odoo Community Association (OCA), Therp BV
- Committers
- Stéphane Bidoul, Pedro M. Baeza, Stéphane Bidoul (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Display writeoff options on sale or purchase vouchers. Without setting these options explicitely, if a payment difference is encountered on vouchers of these types, it is booked on the account payable or account receivable which can pose problems for automatic reconciliation. This addon also enables setting the voucher type as a selection criterium for default values, so that you can set different default values for writeoff settings for different voucher types. At Therp, we use this functionality to write off small rounding differences when applying an inclusive tax on purchase vouchers. This is currently depending on lp:827649 for which we are proposing a fix.
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_purchase_receipt_form |
Voucher form: enable writeoff on purchase receipt vouchers | account.voucher | form | Inherits account_voucher.view_purchase_receipt_form |
view_sale_receipt_form |
Voucher form: enable writeoff on sale receipt vouchers | account.voucher | form | Inherits account_voucher.view_sale_receipt_form |
view_voucher_form |
Voucher form: enable writeoff on sale/purchase vouchers | account.voucher | form | Inherits account_voucher.view_voucher_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…