Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 9.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.3 MB
Module directory on disk
Code analysis 0 migration notes 1 model 4 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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>
  • 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'
  • 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_images Boolean
    string='Show product images'
  • 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…

Loading…

Loading…