product_print_category
Manage product label printing by defining print categories with templates and automatically flagging products for reprint when relevant data changes.
Key Features
- product.print.category: Define print categories with a QWeb template, track fields that trigger reprint flags, and show counts plus actions to print all or only to-print products.
- product.print.category.rule: Use ordered rules scoped by company and product category to auto-assign a print category when those attributes change.
- product.product: Add print category and to_print fields on variants, defaulting to to_print when a category is set and populating the category via rules on category or company change.
- product.template: Expose print category and to_print for single-variant templates, syncing values with the variant and guiding multi-variant products to configure variants directly.
- product.print.category.mixin: When an assigned category’s tracked fields change, mark related variants as to_print unless explicitly bypassed.
- product.print.wizard: Launch from products or categories to set quantities per line, enforce that each line has a print category, and print labels through the pricetag report.
- report: Pricetag report renders product labels by grouping lines per print category and calling each category’s configured QWeb view with its paper format.
- security: Provide a Print Category Manager group to control access to configuring categories and triggering fields.