[FIX] website_sale: Sort product by website sequence in website sale.

closes odoo/odoo#64693

X-original-commit: f94d560b9193242eadd5e1dc1af94af7c97a9a25
Signed-off-by: Romain Derie <rdeodoo@users.noreply.github.com>
Signed-off-by: wangting <tanghulu0608@users.noreply.github.com>
This commit is contained in:
tanghulu0608
2021-01-18 13:29:45 +00:00
parent a62745d78a
commit 67106f6840
@@ -43,6 +43,9 @@
<field name="model">product.template</field>
<field name="inherit_id" ref="website_sale.product_template_view_tree"/>
<field name="arch" type="xml">
<xpath expr="/tree" position="attributes">
<attribute name="default_order">website_sequence</attribute>
</xpath>
<field name="sequence" position="replace">
<field name="website_sequence" widget="handle"/>
</field>