ITA - Documento di trasporto - Base
l10n_it_delivery_note_base · OCA/l10n-italy
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
StockDeliveryNoteType— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceStockPickingGoodsAppearance— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceStockPickingTransportCondition— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceStockPickingTransportMethod— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceStockPickingTransportReason— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourcestock_delivery_note_type_form_view— 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 · sourcestock_delivery_note_type_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcestock_picking_goods_appearance_form_view— 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 · sourcestock_picking_goods_appearance_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcestock_picking_transport_condition_form_view— 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 · sourcestock_picking_transport_condition_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcestock_picking_transport_method_form_view— 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 · sourcestock_picking_transport_method_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcestock_picking_transport_reason_form_view— 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 · sourcestock_picking_transport_reason_tree_view— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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
English
This module is base layer.
Within there are principal tables, so anybody can use it with another modules.
Italiano
Questo modulo è un livello base.
All'interno ci sono le tabelle principali, in modo che chiunque possa usarlo con altri moduli.
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_it_delivery_note
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 10
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_delivery_note_type_form_view |
stock.delivery.note.type.form | stock.delivery.note.type | form | New |
stock_delivery_note_type_tree_view |
stock.delivery.note.type.tree | stock.delivery.note.type | tree | New |
stock_picking_goods_appearance_form_view |
stock.picking.goods.appearance.form | stock.picking.goods.appearance | form | New |
stock_picking_goods_appearance_tree_view |
stock.picking.goods.appearance.tree | stock.picking.goods.appearance | tree | New |
stock_picking_transport_condition_form_view |
stock.picking.transport.condition.form | stock.picking.transport.condition | form | New |
stock_picking_transport_condition_tree_view |
stock.picking.transport.condition.tree | stock.picking.transport.condition | tree | New |
stock_picking_transport_method_form_view |
stock.picking.transport.method.form | stock.picking.transport.method | form | New |
stock_picking_transport_method_tree_view |
stock.picking.transport.method.tree | stock.picking.transport.method | tree | New |
stock_picking_transport_reason_form_view |
stock.picking.transport.reason.form | stock.picking.transport.reason | form | New |
stock_picking_transport_reason_tree_view |
stock.picking.transport.reason.tree | stock.picking.transport.reason | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
No new fields.
Public methods (1)-
create(self, vals)@api.model_create_multiCreate DN types and their sequences after companies creation if they're not already existing
-
activeBooleandefault=True -
codeSelectiondefault=<expr>required=Truestring='Type of Operation' args: DELIVERY_NOTE_TYPE_CODES -
company_idMany2one → res.companydefault=<expr>string='Company' args: 'res.company' -
default_goods_appearance_idMany2one → stock.picking.goods.appearancestring='Appearance of goods' args: 'stock.picking.goods.appearance' -
default_transport_condition_idMany2one → stock.picking.transport.conditionstring='Condition of transport' args: 'stock.picking.transport.condition' -
default_transport_method_idMany2one → stock.picking.transport.methodstring='Method of transport' args: 'stock.picking.transport.method' -
default_transport_reason_idMany2one → stock.picking.transport.reasonstring='Reason of transport' args: 'stock.picking.transport.reason' -
nameCharindex=Truerequired=Truetranslate=True -
next_sequence_numberIntegerrelated='sequence_id.number_next_actual' -
noteHtmlstring='Internal note' -
print_packagesBooleanstring='Show packages on printed DN' -
print_pricesBooleandefault=Falsestring='Show prices on printed DN' -
sequenceIntegerdefault=10index=True -
sequence_idMany2one → ir.sequencerequired=Truestring='Numeration' args: 'ir.sequence'
-
create_dn_types(self, company_id)This method creates DN types for the company in the input parameters. It first checks if they already exist, if not it will create them and then they'll be linked to their relative sequences (they'll be created too if they not already exist). -
goto_sequence(self, **kwargs)
-
activeBooleandefault=True -
nameCharindex=Truerequired=Truestring='Appearance name'translate=True -
noteHtmlstring='Internal note' -
sequenceIntegerdefault=10index=True
No public methods.
-
activeBooleandefault=True -
nameCharindex=Truerequired=Truestring='Condition name'translate=True -
noteHtmlstring='Internal note' -
price_to_showSelectiondefault=<expr>required=Truestring='Price to show' args: PRICES_TO_SHOW -
sequenceIntegerdefault=10index=True
No public methods.
-
activeBooleandefault=True -
nameCharindex=Truerequired=Truestring='Method name'translate=True -
noteHtmlstring='Internal note' -
sequenceIntegerdefault=10index=True
No public methods.
-
activeBooleandefault=True -
nameCharindex=Truerequired=Truestring='Reason name'translate=True -
noteHtmlstring='Internal note' -
sequenceIntegerdefault=10index=True
No public methods.
Loading…
Loading…