Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 7 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.11 MB
Module directory on disk
Code analysis 0 migration notes 6 models 2 views 0 HTTP endpoints

Description

Adds ability to define a lot sequence from the product which will be proposed upon creating new lots.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
stock_picking_auto_create_lot_sequence

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.stock res.config.settings form Inherits stock.res_config_settings_view_form
view_template_property_form product.template.stock.property.form.inherit product.template form Inherits stock.view_template_property_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (0)

No new fields.

Public methods (1)
  • create_lot_sequence(self)

New fields (5)
  • display_lot_sequence_fields Boolean
    compute='_compute_display_lot_sequence_fields'
  • lot_sequence_id Many2one → ir.sequence
    copy=False help='This field contains the information related to the numbering of lots.' string='Entry Sequence' args: 'ir.sequence'
  • lot_sequence_number_next Integer
    compute='_compute_lot_seq_number_next' help='The next sequence number will be used for the next lot.' inverse='_inverse_lot_seq_number_next' string='Next Number'
  • lot_sequence_padding Integer
    default=<expr> help="The lots' sequence will be created using this number of digits." string='Sequence Number of Digits'
  • lot_sequence_prefix Char
    help="The lot's sequence will be created using this prefix." string='Sequence Prefix'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • create_lot_sequence(self)
  • write(self, vals)

New fields (1)
  • lot_sequence_padding Integer
    default=7 args: 'Sequence Number of Digits'
Public methods (0)

No public methods.

New fields (1)
  • lot_sequence_padding Integer
    readonly=False related='company_id.lot_sequence_padding'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    default=<expr>
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • onchange_product_id(self)
    @api.onchange('product_id')

New fields (0)

No new fields.

Public methods (1)
  • action_show_details(self)
    Avoid calling and incrementing the sequence if not needed or already done

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…