Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OCA/product-variant
/ functions
Functions
224 in github.com/OCA/product-variant
⨍
Functions
224
◇
Types & classes
47
Method
_get_combination_info
( self, combination=False, product_id=False, add_qty=1, parent_combina
product_variant_sale_price/models/product_template.py:32
Method
_get_product_description
(self, template, product, product_attributes)
sale_variant_configurator/models/sale_order.py:73
Method
_get_sale_order_line_multiline_description_sale
(self)
sale_order_line_variant_description/models/sale_order_line.py:10
Method
_inverse_default_code
(self)
product_variant_default_code/models/product.py:222
Method
_inverse_description
(self)
product_variant_specific_description/models/product_template.py:41
Method
_inverse_product_lst_price
(self)
product_variant_sale_price/models/product_product.py:39
Method
_inverse_reference_mask
(self)
product_variant_default_code/models/product.py:133
Method
_make_inactive
(tpl_attr_line)
product_variant_change_attribute_value/wizards/product_variant_attribute_value_wizard.py:197
Method
_onchange_attribute_id_clean_value
This is for consistency when changing attribute in the product.
product_variant_configurator/models/product_template_attribute_line.py:24
Method
_postprocess_tag_groupby
Solves a recursion problem caused when the group by refers to a field of a many2one model, and that model also has the same field name.
product_variant_configurator/models/ir_ui_view.py:10
Method
_prepare_variant_values
(self, combination)
product_variant_specific_description/models/product_template.py:25
Method
_prepare_variant_values
(self, combination)
product_variant_name/models/product_template.py:11
Method
_prepare_variant_values
(self, combination)
product_variant_sale_price/models/product_template.py:11
Method
_search_description
(self, operator, value)
product_variant_specific_description/models/product_template.py:46
Method
_selection_action
(self)
product_variant_change_attribute_value/wizards/product_variant_attribute_value_action.py:37
Method
_test_action_confirm
(self)
sale_variant_configurator/tests/test_sale_order.py:197
Method
_test_can_create_product_variant
(self)
sale_variant_configurator/tests/test_sale_order.py:130
Method
_unarchive
Unarchive
product_attribute_value_archive/models/product_template_attribute_value.py:10
Function
assign_product_template
This post-init-hook will update all existing sale.order.line
sale_variant_configurator/hooks.py:5
Method
create
(self, vals_list)
product_variant_configurator/models/product_template.py:48
Method
create
Link created attribute value to the associated template if proceed. This happens when quick-creating values from the product configurator.
product_variant_configurator/models/product_attribute_value.py:11
Method
default_get
(self, fields_list)
product_variant_change_attribute_value/wizards/product_variant_attribute_value_wizard.py:46
Method
default_get
(self, fields_list)
product_variant_configurator_manual_creation/wizards/wizard_product_variant_configurator_manual_creation.py:42
Method
onchange_no_create_variants
(self)
product_variant_configurator/models/product_category.py:20
Method
open_product_variant
(self)
product_variant_specific_description/models/product_template.py:49
Function
post_init_hook
(env)
product_variant_specific_description/init_hook.py:9
Function
pre_init_hook
Create and populate product variant name column BEFORE Odoo adds constraints
product_variant_name/init_hook.py:9
Method
setUp
(self)
product_variant_name/tests/test_product_variant_name.py:8
Method
setUpClass
(cls)
product_attribute_value_archive/tests/test_archive_attribute_value.py:13
Method
setUpClass
(cls)
product_variant_configurator/tests/test_product_pricelist.py:11
Method
setUpClass
(cls)
product_variant_configurator/tests/test_product_variant_configurator.py:13
Method
setUpClass
(cls)
product_variant_configurator/tests/test_product_variants.py:11
Method
setUpClass
(cls)
product_variant_configurator/tests/test_product_configurator_attribute.py:11
Method
setUpClass
(cls)
sale_variant_configurator/tests/test_sale_order.py:13
Method
setUpClass
(cls)
product_variant_specific_description/tests/test_product_variant_description.py:11
Method
setUpClass
(cls)
sale_order_line_variant_description/tests/test_sale_order_line_variant_description.py:9
Method
setUpClass
(cls)
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:13
Method
setUpClass
(cls)
product_variant_configurator_manual_creation/tests/test_product_variant_configurator_manual_creation.py:9
Method
setUpClass
(cls)
product_variant_default_code/tests/test_variant_default_code.py:12
Method
setUpClass
(cls)
product_variant_sale_price/tests/test_product.py:9
Method
test_01_check_default_codes
(self)
product_variant_default_code/tests/test_variant_default_code.py:66
Method
test_01_price_rule_get_multi
(self)
product_variant_configurator/tests/test_product_pricelist.py:150
Method
test_01_product_variant_description_single_variant
(self)
product_variant_specific_description/tests/test_product_variant_description.py:28
Method
test_02_check_default_codes_preexistent_mask
(self)
product_variant_default_code/tests/test_variant_default_code.py:83
Method
test_02_price_rule_get_multi_template
(self)
product_variant_configurator/tests/test_product_pricelist.py:158
Method
test_02_product_variant_description_multiple_variants
(self)
product_variant_specific_description/tests/test_product_variant_description.py:48
Method
test_03_price_rule_get_multi_template
(self)
product_variant_configurator/tests/test_product_pricelist.py:168
Method
test_03_reset_reference_mask_to_default
(self)
product_variant_default_code/tests/test_variant_default_code.py:105
Method
test_04_custom_reference_mask
(self)
product_variant_default_code/tests/test_variant_default_code.py:111
Method
test_05_manual_code
(self)
product_variant_default_code/tests/test_variant_default_code.py:128
Method
test_06_attribute_value_code_change_propagation
(self)
product_variant_default_code/tests/test_variant_default_code.py:152
Method
test_07_attribute_value_name_change
Only set a default code if it wasn't set
product_variant_default_code/tests/test_variant_default_code.py:167
Method
test_08_sanitize_exception
(self)
product_variant_default_code/tests/test_variant_default_code.py:190
Method
test_09_code_change_propagation
(self)
product_variant_default_code/tests/test_variant_default_code.py:210
Method
test_10_code_change_propagation_archived_variant
(self)
product_variant_default_code/tests/test_variant_default_code.py:223
Method
test_11_prefix_code_as_default_code_by_default
(self)
product_variant_default_code/tests/test_variant_default_code.py:230
Method
test_12_prefix_change
(self)
product_variant_default_code/tests/test_variant_default_code.py:238
Method
test_13_new_attribute
(self)
product_variant_default_code/tests/test_variant_default_code.py:252
Method
test_14_rename_attribute
(self)
product_variant_default_code/tests/test_variant_default_code.py:301
Method
test_15_sequence_change
(self)
product_variant_default_code/tests/test_variant_default_code.py:306
Method
test_16_missing_prefix
(self)
product_variant_default_code/tests/test_variant_default_code.py:314
Method
test_17_missing_attribute_value_code
(self)
product_variant_default_code/tests/test_variant_default_code.py:323
Method
test_18_both_prefix_and_mask_changing
(self)
product_variant_default_code/tests/test_variant_default_code.py:365
Method
test_actions_field_filter
(self)
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:90
Method
test_active_deactivate_attribute_value_1_step
Deactivate a pav and reactivate it in 1 steps. Same than previous tests but both replacement are done in one execution of the wizard.
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:274
Method
test_active_deactivate_attribute_value_2_step
Deactivate a pav and reactivate it in 2 steps. Use the wizard to deactivate (not used anymore) the white attribute And reactivate it
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:245
Method
test_category_change
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:229
Method
test_category_change
(self)
product_variant_configurator/tests/test_product_variants.py:138
Method
test_category_variant_alert
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:570
Method
test_change_attribute_value
Check changing an attribute value on ALL variant of a template.
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:205
Method
test_change_attribute_value_2
Check changing an attribute value on some variant of a template. Changing the value white to pink on variant 3 and 4.
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:220
Method
test_check_configuration_validity
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:301
Method
test_compute_product_id_configurator_domain
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:285
Method
test_create_product_template
(self)
product_variant_sale_price/tests/test_product.py:85
Method
test_create_product_template_different_uom
(self)
product_variant_sale_price/tests/test_product.py:91
Method
test_create_same_value_after_archive
If we try to create the same attribute value as an existing archived one, then it should be unarchived instead.
product_attribute_value_archive/tests/test_archive_attribute_value.py:154
Method
test_create_variant
(self)
product_variant_sale_price/tests/test_product.py:99
Method
test_create_variant_different_uom
(self)
product_variant_sale_price/tests/test_product.py:108
Method
test_create_variants
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:148
Method
test_create_variants
(self)
product_variant_configurator/tests/test_product_variants.py:84
Method
test_create_variants_category
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:198
Method
test_create_variants_category
(self)
product_variant_configurator/tests/test_product_variants.py:107
Method
test_fields
(self)
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:80
Method
test_get_product_attributes_dict
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:253
Method
test_get_product_attributes_values_dict
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:453
Method
test_get_product_attributes_values_text
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:476
Method
test_get_product_description
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:258
Method
test_no_create_variants
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:92
Method
test_no_create_variants
(self)
product_variant_configurator/tests/test_product_variants.py:29
Method
test_no_create_variants_category
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:116
Method
test_no_create_variants_category
(self)
product_variant_configurator/tests/test_product_variants.py:53
Method
test_onchange_product_attribute_ids
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:363
Method
test_onchange_product_attribute_ids_01
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:385
Method
test_onchange_product_id
(self)
sale_variant_configurator/tests/test_sale_order.py:159
Method
test_onchange_product_id_product_configurator
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:416
Method
test_onchange_product_tmpl_id
(self)
sale_variant_configurator/tests/test_sale_order.py:72
Method
test_post_init_hook
(self)
product_variant_sale_price/tests/test_product.py:60
Method
test_product_attribute_manual_creation
(self)
product_variant_configurator_manual_creation/tests/test_product_variant_configurator_manual_creation.py:40
Method
test_product_attribute_manual_creation_from_variant
Simulate the use of the wizard from a product.product
product_variant_configurator_manual_creation/tests/test_product_variant_configurator_manual_creation.py:124
Method
test_product_attribute_manual_creation_invalid_combination
Try to create a variant for a forbidden combination
product_variant_configurator_manual_creation/tests/test_product_variant_configurator_manual_creation.py:192
← previous
next →
101–200 of 224, ranked by callers