product.template.common.form product.template primary
product.template.search product.template Products ir.actions.act_window product.template kanban,tree,form {}

Create a new product

product.product.search product.product primary Product Variants ir.actions.act_window product.product tree,form,kanban,activity

Create a new product variant

You must define a product for everything you sell or purchase, whether it's a storable product, a consumable or a service.

product.product.view.form.easy product.product primary
Product Variants ir.actions.act_window product.product {'search_default_product_tmpl_id': [active_id], 'default_product_tmpl_id': active_id, 'create': False}

Create a new product variant

You must define a product for everything you sell or purchase, whether it's a storable product, a consumable or a service. The product form contains information to simplify the sale process: price, notes in the quotation, accounting data, procurement methods, etc.

product.product.tree product.product
product.product.form product.product primary
Product Variant false
1 {'readonly': [('product_variant_count', '>', 1)]} 1 {'invisible': 0} {'no_open': True, 'color_field': 'color'}
Product Kanban product.product
Product
[]
  • Price:
product.product.activity product.product
[]
Product Variants ir.actions.act_window product.product kanban,tree,form,activity {"search_default_filter_to_sell":1}

Create a new product variant

You must define a product for everything you sell, whether it's a physical product, a consumable or a service you offer to customers. The product form contains information to simplify the sale process: price, notes in the quotation, accounting data, procurement methods, etc.

Generate Pricelist code ctx = env.context ctx.update({'default_pricelist': env['product.pricelist'].search([], limit=1).id}) action = { 'name': 'Pricelist Report', 'type': 'ir.actions.client', 'tag': 'generate_pricelist', 'context': ctx, }