Product Lot Sequence
product_lot_sequence · OCA/product-attribute
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 7 Odoo series since 12.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.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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_fieldsBooleancompute='_compute_display_lot_sequence_fields' -
lot_sequence_idMany2one → ir.sequencecopy=Falsehelp='This field contains the information related to the numbering of lots.'string='Entry Sequence' args: 'ir.sequence' -
lot_sequence_number_nextIntegercompute='_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_paddingIntegerdefault=<expr>help="The lots' sequence will be created using this number of digits."string='Sequence Number of Digits' -
lot_sequence_prefixCharhelp="The lot's sequence will be created using this prefix."string='Sequence Prefix'
-
create(self, vals_list)@api.model_create_multi -
create_lot_sequence(self) -
write(self, vals)
New fields (1)
-
lot_sequence_paddingIntegerdefault=7 args: 'Sequence Number of Digits'
No public methods.
New fields (1)
-
lot_sequence_paddingIntegerreadonly=Falserelated='company_id.lot_sequence_padding'
No public methods.
New fields (1)
-
nameChardefault=<expr>
-
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…