Multiple payment days for payment terms
account_payment_term_multi_day · OCA/account-payment
Merged into account_payment_term_extension in 9.0
Replaces
paydays (8.0) Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
4 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
AccountPaymentTermLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE account_payment_term_line SET payment_days=to_char(days2, '99') WHERE days2 > 0` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_payment_term_line_form_multi_day |
account.payment.term.line.form.multi.day | account.payment.term.line | form | Inherits account.view_payment_term_line_form |
view_payment_term_line_tree_multi_day |
account.payment.term.line.tree.multi.day | account.payment.term.line | tree | Inherits account.view_payment_term_line_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (1)-
compute(self, cr, uid, id, value, date_ref=False, context=None)This method can't be new API due to arguments names are not standard for the API wrapper.
New fields (1)
-
payment_daysCharhelp='Put here the day or days when the partner makes the payment. Separate each possible payment day with dashes (-), commas (,) or spaces ( ).'string='Payment day(s)'
No public methods.