Sale Partner Order Policy
sale_partner_order_policy · OCA/sale-workflow
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
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
SaleOrder— 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- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · 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
This module adds a new field on the partner form in the Accouting tab: Customer Create Invoice. The value of this field will be used when you create a new Sale Order with this partner as customer.
Beware that this module depends not only on sale, but also on stock. As there is only one create invoice method when the stock module is not installed, you should not install this module if the stock module is not installed.
This module has been written by Alexis de Lattre alexis.delattre@akretion.com
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_property_form |
sale_partner_order_policy.partner_form | res.partner | form | Inherits account.view_partner_property_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
-
customer_order_policySelectioncompany_dependent=Truehelp='Select the default create invoice method for the sale orders of this customer'string='Customer Create Invoice' args: [('manual', 'On Demand'), ('picking', 'On Delivery Order'), ('prepaid', 'Before Delivery')]
No public methods.
No new fields.
Public methods (1)-
onchange_partner_id(self, partner_id)@api.multi
Loading…