Skip to content
Health
83/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by15/25
    1 module depends on it
  • Maturity18/25
    In 3 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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.09 MB
Module directory on disk
Code analysis 15 migration notes 6 models 10 views 0 HTTP endpoints

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:
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 IDNameModelTypeStatus
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

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model_create_multi
    Create DN types and their sequences after companies creation if they're not already existing

New fields (14)
  • active Boolean
    default=True
  • code Selection
    default=<expr> required=True string='Type of Operation' args: DELIVERY_NOTE_TYPE_CODES
  • company_id Many2one → res.company
    default=<expr> string='Company' args: 'res.company'
  • default_goods_appearance_id Many2one → stock.picking.goods.appearance
    string='Appearance of goods' args: 'stock.picking.goods.appearance'
  • default_transport_condition_id Many2one → stock.picking.transport.condition
    string='Condition of transport' args: 'stock.picking.transport.condition'
  • default_transport_method_id Many2one → stock.picking.transport.method
    string='Method of transport' args: 'stock.picking.transport.method'
  • default_transport_reason_id Many2one → stock.picking.transport.reason
    string='Reason of transport' args: 'stock.picking.transport.reason'
  • name Char
    index=True required=True translate=True
  • next_sequence_number Integer
    related='sequence_id.number_next_actual'
  • note Html
    string='Internal note'
  • print_packages Boolean
    string='Show packages on printed DN'
  • print_prices Boolean
    default=False string='Show prices on printed DN'
  • sequence Integer
    default=10 index=True
  • sequence_id Many2one → ir.sequence
    required=True string='Numeration' args: 'ir.sequence'
Public methods (2)
  • 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)

New fields (4)
  • active Boolean
    default=True
  • name Char
    index=True required=True string='Appearance name' translate=True
  • note Html
    string='Internal note'
  • sequence Integer
    default=10 index=True
Public methods (0)

No public methods.

New fields (5)
  • active Boolean
    default=True
  • name Char
    index=True required=True string='Condition name' translate=True
  • note Html
    string='Internal note'
  • price_to_show Selection
    default=<expr> required=True string='Price to show' args: PRICES_TO_SHOW
  • sequence Integer
    default=10 index=True
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • name Char
    index=True required=True string='Method name' translate=True
  • note Html
    string='Internal note'
  • sequence Integer
    default=10 index=True
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • name Char
    index=True required=True string='Reason name' translate=True
  • note Html
    string='Internal note'
  • sequence Integer
    default=10 index=True
Public methods (0)

No public methods.

Loading…

Loading…