Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.1.1
Category
Product
Folder size
0.33 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), GRAP, Tecnativa
Maintainers
Odoo Community Association (OCA), GRAP, Tecnativa
Committers
Pedro M. Baeza, Carlos Roca, CarlosRoca13, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
product_pricelist_direct_print_company_group, product_pricelist_direct_print_website_sale, product_pricelist_direct_print_xlsx
Description
Print price list from menu option, product templates, products variants
or price lists

**Note:**

- Odoo provides a similar feature, but with limited functionality.
- If you want to have Price List exported in XLSX format, install the
  `product_pricelist_direct_print_xlsx` OCA module present in the same
  repository.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_pricelist_form_view_inherited product.pricelist.form.view.inherited product.pricelist form Inherits product.product_pricelist_view
report_product_pricelist report_product_pricelist ir.ui.view qweb New
report_product_pricelist_document report_product_pricelist_document ir.ui.view qweb New
view_product_pricelist_print Product pricelist print product.pricelist.print form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (29)
  • breakage_per_category Boolean
    default=True
  • categ_ids Many2many → product.category
    comodel_name='product.category' string='Categories'
  • context_active_model Char
    compute='_compute_context_active_model' store=False
  • date Datetime
    default=fields.Datetime.now required=True
  • group_field Selection
    default='categ_id' required=True selection=<expr>
  • group_field_template Selection
    default='categ_id' required=True selection=<expr>
  • lang Selection
    default=<expr> string='Language' args: _lang_get
  • last_categ_level_to_print Integer
    help='If this field is not 0, print last n category path'
  • last_ordered_products Integer
    help='If you enter an X number here, then, for each selected customer, the last X ordered products will be obtained for the report.'
  • max_categ_level Integer
    help='If this field is not 0, products are grouped at max level of category tree.' string='Max category level'
  • order_field Selection
    string='Order' args: [('name', 'Name'), ('default_code', 'Internal Reference')]
  • partner_count Integer
    compute='_compute_partner_count'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' string='Customer'
  • partner_ids Many2many → res.partner
    comodel_name='res.partner' string='Customers'
  • pricelist_id Many2one → product.pricelist
    comodel_name='product.pricelist' string='Pricelist'
  • print_child_categories Boolean
  • product_ids Many2many → product.product
    comodel_name='product.product' help='Keep empty for all products' string='Products'
  • product_price Float
    compute='_compute_product_price'
  • product_selling_date_threshold Datetime
    help='Filter only the products ordered since this date' string='Selling date threshold'
  • product_tmpl_ids Many2many → product.template
    comodel_name='product.template' help='Keep empty for all products' string='Product Templates'
  • show_description_sale Boolean
    string='Show Sales Description'
  • show_only_defined_products Boolean
    help='Check this field to print only the products defined in the pricelist. The entries in the list referring to all products will not be displayed.' string='Show only the products defined on pricelist'
  • show_pricelist_name Boolean
    default=True
  • show_product_uom Boolean
    string='Show Product UoM'
  • show_sale_price Boolean
  • show_standard_price Boolean
    string='Show Cost Price'
  • show_variants Boolean
  • summary Text
  • vat_mode Selection
    selection=[('vat_excl', 'Vat Excluded'), ('vat_incl', 'Vat Included')]
Public methods (14)
  • action_pricelist_send(self)
  • default_get(self, fields)
    @api.model
  • force_pricelist_send(self)
  • get_group_key(self, product)
  • get_group_name(self, group_name)
  • get_groups_to_print(self)
  • get_last_ordered_products_to_print(self)
  • get_pricelist_to_print(self)
  • get_products_domain(self)
  • get_products_to_print(self)
  • get_sorted_products(self, products)
  • message_composer_action(self)
  • print_report(self)
  • send_batch(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
177 days ago
Last activity
65 days ago
Repository
OCA/product-attribute
Pull request
[19.0][MIG]: product_pricelist_direct_print (#2220)