TIP: You can type at any time to perform a new search.
Product Lot Sequence
product_lot_sequence · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.09 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/product-attribute
- Last tracking update
- 2026-08-07 08:42:54
- Authors
- Odoo Community Association (OCA), ForgeFlow S.L.
- Maintainers
- Odoo Community Association (OCA), ForgeFlow S.L.
- Committers
- Weblate, OCA-git-bot, oca-ci, Kimkhoi3010
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Adds ability to define a lot sequence from the product which will be proposed upon creating new lots.
Code Analysis ⓘ
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 (5)
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 -
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…