Sale Delivery Block
sale_delivery_block · OCA/sale-workflow
Renamed to sale_stock_picking_blocking in 10.0
Replaces
partner_prepayment (9.0) Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 114 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.36 MB
Module directory on disk
Code analysis
9 migration notes
4 models
5 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
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. (4 methods) (2 occurrences in this file) migration-api-multi-one · sourcesale.order— Migrating to 13.0: `track_visibility` was replaced by `tracking`; the old kwarg is ignored. Fields: delivery_block_id. migration-track-visibilitysale_delivery_block_reason_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_order_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_partner_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) 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
- 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 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_delivery_block_reason_form_view |
sale.delivery.block.reason.form | sale.delivery.block.reason | form | New |
sale_delivery_block_reason_tree_view |
sale.delivery.block.reason.tree | sale.delivery.block.reason | tree | New |
view_order_form |
sale.order.form - sale_delivery_block extension | sale.order | form | Inherits sale.view_order_form |
view_partner_form |
res.partner.form | res.partner | form | Inherits base.view_partner_form |
view_sales_order_filter |
sale.order.list.select | sale.order | list | Inherits sale.view_sales_order_filter |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (1)
-
default_delivery_blockMany2one → sale.delivery.block.reasoncomodel_name='sale.delivery.block.reason'help='Set a reason to block by default the deliveries in this customer sales orders.'string='Default Delivery Block Reason'
No public methods.
New fields (3)
-
descriptionTextstring='Description' -
nameCharrequired=Truestring='Name' -
sale_order_idsOne2many → sale.ordercomodel_name='sale.order'inverse_name='delivery_block_id'readonly=Truestring='Sale Orders'
No public methods.
New fields (1)
-
delivery_block_idMany2one → sale.delivery.block.reasoncomodel_name='sale.delivery.block.reason'readonly=Truestates={'draft': [('readonly', False)], 'sent': [('readonly', False)]}string='Delivery Block Reason'track_visibility='always'
-
action_remove_delivery_block(self)@api.multiRemove the delivery block and create procurements as usual. -
copy(self, default=None)@api.multi -
onchange_partner_id(self)@api.multi@api.onchange('partner_id')Add the 'Default Delivery Block Reason' if set in the partner.
New fields (0)
No new fields.
Public methods (0)No public methods.