Skip to content

domain not working on base_comment_template #1011

@bitigloo-hamid

Description

@bitigloo-hamid

Module

base_comment_template

Describe the bug

The domain field on the comment template is not working properly. Even not in V17.

To Reproduce

Affected versions: V17, v18. (16 didn't check)

Steps to reproduce the behavior:

  1. create two comment template for a model e.g. sale.order
  2. add a domain for each. one with the state in 'draft', 'sent' and another template with the domain for 'sale'
  3. add both templates to a quotation
  4. send the offer to the customer.
  5. the offer document has both comments
  6. the customer can confirm the offer.
  7. the sale order report has both comments

Expected behavior
on the sent quotation the comment with the domain for quotation (draft or sent) is printed
and on the sales order, the comment with the domain for 'sale' state will be printed.

Additional context
Is has impact on the functionalities of the modules which have dependencies to this module. like https://github.com/OCA/sale-reporting/tree/17.0/sale_comment_template

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