Repository
OCA/sale-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Sale
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/sale-workflow
Last tracking update
2026-08-07 08:42:48
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, Guillaume MASSON
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Generate automatically a lot number for each sale lines when you confirm
a sale order.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
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 (3)

New fields (1)
  • auto_generate_prodlot Boolean
    help='Forces to specify a Serial Number for all lines containing this product since the confirmation of the Sale Order' string='Auto Generate Lot'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • action_confirm(self)
  • generate_lot(self)

New fields (0)

No new fields.

Public methods (2)
  • create(self, values_list)
    @api.model_create_multi
  • create_lot(self, index_lot=1)

Loading…

Loading…

Loading…

Loading…

Loading…