Description of the issue/feature this PR addresses: Currently, we cannot display prices per unit (for example $/kg, etc.) on products shown in the shop. This is important for any eCommerce business that sells something other than units, or just for informational purposes. Desired behavior after PR is merged: Allows the user to add unit measurements for products. This behaviour is disabled by default, and can be enabled through the settings page by activating "eCommerce Base Unit Price" option. Enabling it displays a price per unit field in /shop's product page, comparison tool and cart. The price per unit of measurement is automatically computed and can be displayed both on the product, the cart and the comparison pages. Enabling it also modifies the product's configuration page to include what unit of measure to display in the price per unit field, as well as the number of units used to calculate the price per unit. task-2558128 Part-of: odoo/odoo#72242 Co-authored-by: Kamen Zhekov <kzh@odoo.com> Co-authored-by: Jeremy Kersten <jke@odoo.com>
3.0 KiB
3.0 KiB
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_product_product_public | product.product.public | product.model_product_product | 1 | 0 | 0 | 0 | |
| 3 | access_product_template_public | product.template.public | product.model_product_template | 1 | 0 | 0 | 0 | |
| 4 | access_product_category_public | product.category.public | product.model_product_category | 1 | 0 | 0 | 0 | |
| 5 | access_product_category_pos_manager | product.public.category manager | model_product_public_category | sales_team.group_sale_manager | 1 | 1 | 1 | 1 |
| 6 | access_product_public_category_public | product.category.public | model_product_public_category | 1 | 0 | 0 | 0 | |
| 7 | access_product_pricelist_public | product.pricelist.public | product.model_product_pricelist | 1 | 0 | 0 | 0 | |
| 8 | access_product_pricelist_item_public | product.pricelist.item.public | product.model_product_pricelist_item | 1 | 0 | 0 | 0 | |
| 9 | access_product_ribbon_public | product.ribbon.public | website_sale.model_product_ribbon | 1 | 0 | 0 | 0 | |
| 10 | access_product_ribbon_sale_manager | product.ribbon.sale_manager | website_sale.model_product_ribbon | sales_team.group_sale_manager | 1 | 1 | 1 | 1 |
| 11 | access_product_attribute_public | product.attribute public | product.model_product_attribute | 1 | 0 | 0 | 0 | |
| 12 | access_product_attribute_value_public | product.attribute value public | product.model_product_attribute_value | 1 | 0 | 0 | 0 | |
| 13 | access_product_product_attribute | product.template.attribute value public | product.model_product_template_attribute_value | 1 | 0 | 0 | 0 | |
| 14 | access_product_product_attribute_custom_value | product.attribute.custom value | sale.model_product_attribute_custom_value | 1 | 0 | 0 | 0 | |
| 15 | access_product_template_attribute_exclusion | product.template.attribute exclusion public | product.model_product_template_attribute_exclusion | 1 | 0 | 0 | 0 | |
| 16 | access_product_template_attribute_line_public | product.template.attribute line public | product.model_product_template_attribute_line | 1 | 0 | 0 | 0 | |
| 17 | access_fiscal_position_public | fiscal position public | account.model_account_fiscal_position | base.group_portal | 1 | 0 | 0 | 0 |
| 18 | access_payment_term | payment term public | account.model_account_payment_term | base.group_portal | 1 | 0 | 0 | 0 |
| 19 | access_account_tax_user | account.tax | account.model_account_tax | base.group_public | 1 | 0 | 0 | 0 |
| 20 | access_product_image_public | product.image public | model_product_image | 1 | 0 | 0 | 0 | |
| 21 | access_product_image_publisher | product.image wbesite publisher | model_product_image | website.group_website_publisher | 1 | 1 | 1 | 1 |
| 22 | access_product_image_sale | product.image sale | model_product_image | sales_team.group_sale_manager | 1 | 1 | 1 | 1 |
| 23 | access_website_sale_payment_acquirer_onboarding_wizard | access.website.sale.payment.acquirer.onboarding.wizard | model_website_sale_payment_acquirer_onboarding_wizard | base.group_system | 1 | 1 | 1 | 0 |
| 24 | access_ecom_extra_fields_public | access_ecom_extra_field public | model_website_sale_extra_field | 1 | 0 | 0 | 0 | |
| 25 | access_ecom_extra_fields_publisher | access_ecom_extra_field publisher | model_website_sale_extra_field | website.group_website_publisher | 1 | 1 | 1 | 1 |
| 26 | access_website_base_unit_public | website.base.unit public | model_website_base_unit | 1 | 0 | 0 | 0 | |
| 27 | access_website_base_unit_sale_manager | website.base.unit sale manager | model_website_base_unit | sales_team.group_sale_manager | 1 | 1 | 1 | 1 |