Skip to content

[18.0 ] product_contract doesn't play nice with variant configurator #1275

@lk-eska

Description

@lk-eska

Module

product_contract

Describe the bug

Variant configurator pops up only once when you add a product and contract configurator popup right after. Once you select the variant, there is no way to open up variant configurator, it doesn't appear anymore.

Another issue is that it overwrites the variant name with contract description with
"""{product}:
- Recurrency: {recurring_rule}
- Invoicing Type: {invoicing_type}
- Date: {date_text}
"""
Better it appends this under the the variant name generated.

To Reproduce

Make a product with variant a contract product and try to add it to sale order.

Steps to reproduce the behavior:

  1. open sale order
  2. add a line with contract + variant product
  3. variant popup appears then contract popup appears
  4. click on configure button, only contract popup appears

Expected behavior
It should open variant configuration then contract. (or another approach would be to use the variant configurator window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions