[FIX] website_sale: remove useless code

Before [this other commit], every we-many2X had to specify the current
website in the domain, which is useless since [this other commit] which
does it automatically.

[this other commit]: https://github.com/odoo/odoo/commit/081ce53120e652bf07106d5982e26048f2b843e6

Related to task-3316278

closes odoo/odoo#125669

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
Guillaume (gdi)
2023-06-21 00:13:54 +02:00
parent b0baac6fc4
commit b493516aa3
@@ -20,13 +20,11 @@
<we-button data-select-data-attribute="all">All Products</we-button>
<we-button data-select-data-attribute="current">Current Category or All</we-button>
</we-select>
<t t-set="domain" t-translation="off">["|", ["website_id", "=", false], ["website_id", "=", <t t-out="current_website.id"/>]]</t>
<we-many2many string="Tags"
data-name="product_tag_opt"
data-attribute-name="productTagIds"
data-no-preview="true"
data-model="product.tag"
t-att-data-domain="domain"
data-allow-delete="true"
data-fakem2m="true"
data-select-data-attribute=""/>