MCPcopy Create free account

hub / github.com/OCA/product-variant / functions

Functions224 in github.com/OCA/product-variant

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
Functionassign_product_template
This post-init-hook will update all existing sale.order.line
sale_variant_configurator/hooks.py:5
Methodcreate
(self, vals_list)
product_variant_configurator/models/product_template.py:48
Methodcreate
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
Methoddefault_get
(self, fields_list)
product_variant_change_attribute_value/wizards/product_variant_attribute_value_wizard.py:46
Methoddefault_get
(self, fields_list)
product_variant_configurator_manual_creation/wizards/wizard_product_variant_configurator_manual_creation.py:42
Methodonchange_no_create_variants
(self)
product_variant_configurator/models/product_category.py:20
Methodopen_product_variant
(self)
product_variant_specific_description/models/product_template.py:49
Functionpost_init_hook
(env)
product_variant_specific_description/init_hook.py:9
Functionpre_init_hook
Create and populate product variant name column BEFORE Odoo adds constraints
product_variant_name/init_hook.py:9
MethodsetUp
(self)
product_variant_name/tests/test_product_variant_name.py:8
MethodsetUpClass
(cls)
product_attribute_value_archive/tests/test_archive_attribute_value.py:13
MethodsetUpClass
(cls)
product_variant_configurator/tests/test_product_pricelist.py:11
MethodsetUpClass
(cls)
product_variant_configurator/tests/test_product_variant_configurator.py:13
MethodsetUpClass
(cls)
product_variant_configurator/tests/test_product_variants.py:11
MethodsetUpClass
(cls)
product_variant_configurator/tests/test_product_configurator_attribute.py:11
MethodsetUpClass
(cls)
sale_variant_configurator/tests/test_sale_order.py:13
MethodsetUpClass
(cls)
product_variant_specific_description/tests/test_product_variant_description.py:11
MethodsetUpClass
(cls)
sale_order_line_variant_description/tests/test_sale_order_line_variant_description.py:9
MethodsetUpClass
(cls)
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:13
MethodsetUpClass
(cls)
product_variant_configurator_manual_creation/tests/test_product_variant_configurator_manual_creation.py:9
MethodsetUpClass
(cls)
product_variant_default_code/tests/test_variant_default_code.py:12
MethodsetUpClass
(cls)
product_variant_sale_price/tests/test_product.py:9
Methodtest_01_check_default_codes
(self)
product_variant_default_code/tests/test_variant_default_code.py:66
Methodtest_01_price_rule_get_multi
(self)
product_variant_configurator/tests/test_product_pricelist.py:150
Methodtest_01_product_variant_description_single_variant
(self)
product_variant_specific_description/tests/test_product_variant_description.py:28
Methodtest_02_check_default_codes_preexistent_mask
(self)
product_variant_default_code/tests/test_variant_default_code.py:83
Methodtest_02_price_rule_get_multi_template
(self)
product_variant_configurator/tests/test_product_pricelist.py:158
Methodtest_02_product_variant_description_multiple_variants
(self)
product_variant_specific_description/tests/test_product_variant_description.py:48
Methodtest_03_price_rule_get_multi_template
(self)
product_variant_configurator/tests/test_product_pricelist.py:168
Methodtest_03_reset_reference_mask_to_default
(self)
product_variant_default_code/tests/test_variant_default_code.py:105
Methodtest_04_custom_reference_mask
(self)
product_variant_default_code/tests/test_variant_default_code.py:111
Methodtest_05_manual_code
(self)
product_variant_default_code/tests/test_variant_default_code.py:128
Methodtest_06_attribute_value_code_change_propagation
(self)
product_variant_default_code/tests/test_variant_default_code.py:152
Methodtest_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
Methodtest_08_sanitize_exception
(self)
product_variant_default_code/tests/test_variant_default_code.py:190
Methodtest_09_code_change_propagation
(self)
product_variant_default_code/tests/test_variant_default_code.py:210
Methodtest_10_code_change_propagation_archived_variant
(self)
product_variant_default_code/tests/test_variant_default_code.py:223
Methodtest_11_prefix_code_as_default_code_by_default
(self)
product_variant_default_code/tests/test_variant_default_code.py:230
Methodtest_12_prefix_change
(self)
product_variant_default_code/tests/test_variant_default_code.py:238
Methodtest_13_new_attribute
(self)
product_variant_default_code/tests/test_variant_default_code.py:252
Methodtest_14_rename_attribute
(self)
product_variant_default_code/tests/test_variant_default_code.py:301
Methodtest_15_sequence_change
(self)
product_variant_default_code/tests/test_variant_default_code.py:306
Methodtest_16_missing_prefix
(self)
product_variant_default_code/tests/test_variant_default_code.py:314
Methodtest_17_missing_attribute_value_code
(self)
product_variant_default_code/tests/test_variant_default_code.py:323
Methodtest_18_both_prefix_and_mask_changing
(self)
product_variant_default_code/tests/test_variant_default_code.py:365
Methodtest_actions_field_filter
(self)
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:90
Methodtest_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
Methodtest_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
Methodtest_category_change
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:229
Methodtest_category_change
(self)
product_variant_configurator/tests/test_product_variants.py:138
Methodtest_category_variant_alert
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:570
Methodtest_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
Methodtest_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
Methodtest_check_configuration_validity
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:301
Methodtest_compute_product_id_configurator_domain
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:285
Methodtest_create_product_template
(self)
product_variant_sale_price/tests/test_product.py:85
Methodtest_create_product_template_different_uom
(self)
product_variant_sale_price/tests/test_product.py:91
Methodtest_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
Methodtest_create_variant
(self)
product_variant_sale_price/tests/test_product.py:99
Methodtest_create_variant_different_uom
(self)
product_variant_sale_price/tests/test_product.py:108
Methodtest_create_variants
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:148
Methodtest_create_variants
(self)
product_variant_configurator/tests/test_product_variants.py:84
Methodtest_create_variants_category
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:198
Methodtest_create_variants_category
(self)
product_variant_configurator/tests/test_product_variants.py:107
Methodtest_fields
(self)
product_variant_change_attribute_value/tests/test_product_variant_change_attribute_value.py:80
Methodtest_get_product_attributes_dict
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:253
Methodtest_get_product_attributes_values_dict
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:453
Methodtest_get_product_attributes_values_text
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:476
Methodtest_get_product_description
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:258
Methodtest_no_create_variants
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:92
Methodtest_no_create_variants
(self)
product_variant_configurator/tests/test_product_variants.py:29
Methodtest_no_create_variants_category
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:116
Methodtest_no_create_variants_category
(self)
product_variant_configurator/tests/test_product_variants.py:53
Methodtest_onchange_product_attribute_ids
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:363
Methodtest_onchange_product_attribute_ids_01
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:385
Methodtest_onchange_product_id
(self)
sale_variant_configurator/tests/test_sale_order.py:159
Methodtest_onchange_product_id_product_configurator
(self)
product_variant_configurator/tests/test_product_variant_configurator.py:416
Methodtest_onchange_product_tmpl_id
(self)
sale_variant_configurator/tests/test_sale_order.py:72
Methodtest_post_init_hook
(self)
product_variant_sale_price/tests/test_product.py:60
Methodtest_product_attribute_manual_creation
(self)
product_variant_configurator_manual_creation/tests/test_product_variant_configurator_manual_creation.py:40
Methodtest_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
Methodtest_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
← previousnext →101–200 of 224, ranked by callers