Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Commit

Permalink
Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
PCatinean committed Mar 30, 2017
1 parent 3a92003 commit 5c31f89
Show file tree
Hide file tree
Showing 19 changed files with 17 additions and 23 deletions.
2 changes: 1 addition & 1 deletion product_configurator/data/menu_configurable_product.xml
Expand Up @@ -86,4 +86,4 @@
parent="menu_product_configurable" sequence="50"/>

</data>
</openerp>
</openerp>
2 changes: 1 addition & 1 deletion product_configurator/data/product_attribute.xml
Expand Up @@ -14,4 +14,4 @@
</record>

</data>
</openerp>
</openerp>
2 changes: 1 addition & 1 deletion product_configurator/demo/config_image_ids.xml
Expand Up @@ -88,4 +88,4 @@
])]"/>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/demo/product_attribute.xml
Expand Up @@ -339,4 +339,4 @@
<field name="multi" eval="True"/>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/demo/product_config_domain.xml
Expand Up @@ -67,4 +67,4 @@
ref('product_attribute_value_220d_xdrive')])]"/>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/demo/product_config_lines.xml
Expand Up @@ -44,4 +44,4 @@
<field name="domain_id" ref="product_config_domain_luxury_lines"/>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/demo/product_config_step.xml
Expand Up @@ -63,4 +63,4 @@
ref('product_attribute_line_2_series_options')])]"/>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/demo/product_template.xml
Expand Up @@ -169,4 +169,4 @@
<field name="image" type="base64" file="product_configurator/static/img/product-paint-silver.jpg"/>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/views/assets.xml
Expand Up @@ -7,4 +7,4 @@
</xpath>
</template>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/views/product_attribute_view.xml
Expand Up @@ -102,4 +102,4 @@
</field>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/views/product_config_view.xml
Expand Up @@ -145,4 +145,4 @@
</field>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/views/product_view.xml
Expand Up @@ -124,4 +124,4 @@
</field>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator/views/sale_view.xml
Expand Up @@ -23,4 +23,4 @@
</field>
</record>

</odoo>
</odoo>
1 change: 0 additions & 1 deletion product_configurator_mrp/__manifest__.py
Expand Up @@ -4,7 +4,6 @@
'version': '10.0.1.0.0',
'category': 'Manufacturing',
'summary': 'BOM Support for configurable products',
'description': """Add boms to configured products""",
'author': 'Pledra', # pylint: disable=C8101
'license': 'AGPL-3',
'website': 'http://www.pledra.com/',
Expand Down
Expand Up @@ -8,4 +8,4 @@
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator_wizard/views/assets.xml
Expand Up @@ -7,4 +7,4 @@
</xpath>
</template>

</odoo>
</odoo>
2 changes: 1 addition & 1 deletion product_configurator_wizard/views/sale_view.xml
Expand Up @@ -46,4 +46,4 @@
</field>
</record>

</odoo>
</odoo>
5 changes: 0 additions & 5 deletions product_configurator_wizard/wizard/product_configurator.py
Expand Up @@ -439,11 +439,6 @@ def add_dynamic_fields(self, res, dynamic_fields, wiz):
dependencies = config_lines.filtered(
lambda cl: cl.attribute_line_id == attr_line)

"""If a attribute field depends on another field from the same
configuration step then we must use attrs to enable/disable the
required and readonly depending on the value entered in the
dependee"""

if attr_line.value_ids <= dependencies.mapped('value_ids'):
attr_depends = {}
domain_lines = dependencies.mapped('domain_id.domain_line_ids')
Expand Down
Expand Up @@ -36,4 +36,4 @@
</field>
</record>

</odoo>
</odoo>

0 comments on commit 5c31f89

Please sign in to comment.