-
-
Notifications
You must be signed in to change notification settings - Fork 835
Open
Labels
Description
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:
- create two comment template for a model e.g. sale.order
- add a domain for each. one with the state in 'draft', 'sent' and another template with the domain for 'sale'
- add both templates to a quotation
- send the offer to the customer.
- the offer document has both comments
- the customer can confirm the offer.
- 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