v1.0.1
1.0.1 – Bug fix
- Fixed an error when generating codes for products that have no category
Every new product gets a clean SKU (category prefix + sequence) and a valid EAN-13 barcode on save. Variants get their own codes, and one click fills the products that have none.
No reviews yet0 salesby TAQNIXUpdated Oct 23, 2026
Every product needs an SKU that people can read and say, and a barcode that scanners can read. Typing them by hand means gaps, duplicates and “which one did we use last?”.
Automated SKU & Barcode Generator gives every new product both, automatically, the moment you save it.
FUR-0042A T-shirt in 2 colours and 3 sizes gives six variants: CLO-0001-RED-M, CLO-0001-BLU-LAR… each with its own barcode. Add a colour later and the new variants get their codes too.
A button on each product and an action on every product list fill the missing codes: for the selected products, a category or all products, with a preview of the counts first. Codes that exist are never touched.
Illustrated documentation in English and Arabic, an Arabic translation of the module and 24 automated tests.
Odoo 19.0 with the Products app (installed with Sales, Inventory, Purchase or Point of Sale).
The files in the archive you can download after you buy.
No reviews yet. Bought this item? Be the first to review it.
Install and use it in a few lines.
products = env['product.product'].with_context(tx_skip_codes=True).create(vals_list)
products._tx_assign_codes(force=True)def _tx_make_sku(self, company):
sku = super()._tx_make_sku(company)
return sku.replace('-', '/', 1)Setup, settings and troubleshooting, written by the author.
Every release, newest first.
No. Installing changes nothing. New products get codes from then on, and you can fill the old ones with one click, only where the fields are empty.
Never. Only empty Reference and Barcode fields are filled.
No. A code that is already used by any product (archived ones included) or by a packaging is skipped, and the next free one is taken.
Yes: your prefix (200 to 299 are reserved for internal use), a counter and a calculated check digit. You can also use the SKU as the barcode (Code 128).
Each variant gets the product's SKU plus the first letters of its options, such as CLO-0001-RED-M, and its own barcode. Variants added later get codes automatically.
Yes. A sub-category without a prefix uses its parent's and shares its counter. Categories with the same prefix share one counter.
Yes. Open the category and set Next number, for example 5000.
Yes. The module ships an Arabic translation, and the documentation is available in Arabic with right-to-left layout.
Calculate end-of-service gratuity in Odoo Community with a policy you configure: tiers by years of service, a cap, the share by reason of leaving, unpaid leave, leave pay, and a printable statement.
Run petty cash funds in Odoo Community: expense vouchers with receipts and an approval limit, payment with the entry, replenishment up to the float, a cash book and printable vouchers.
Track who holds which company item in Odoo Community: handover and return slips with condition, overdue reminders, a Custody tab and a clearance sheet on the employee.
Import journal entries from Excel or CSV into Odoo Community: accounts, partners, analytic, each entry checked for balance, drafts or posted, with a history and an undo.
Load opening stock or a physical count from Excel or CSV into Odoo Community: products by reference, barcode or name, locations, lots and serials, checked row by row before it is applied.
Compare vendor quotations on one grid in Odoo Community: an RFQ per vendor from one list, the lowest price highlighted, award line by line or to one vendor, with the savings and a comparison sheet.
How old is the stock on your shelves? Quantity and value by age bracket, counted first in first out, dead stock flagged, as of any date, in PDF and Excel.
Print product barcode labels on any sheet of labels: layouts in millimetres, a quantity for each product, a start position on a used sheet, from the list, a product or a receipt.
Automated SKU & Barcode Generator for Odoo 19 – Category Prefix, EAN-13 and Variant Codes
$24.00