Skip to content

Commit

Permalink
[FIX] website_sale_secondary_unit: Adjust to upstream changes
Browse files Browse the repository at this point in the history
As the product.secondary.unit view has been isolated, we have to
inherit from that one.
  • Loading branch information
pedrobaeza committed Apr 5, 2021
1 parent 821079d commit 3fa2331
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 Tecnativa - Sergio Teruel
Copyright 2021 Tecnativa - Pedro M. Baeza
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="product_template_website_publish_form_view" model="ir.ui.view">
<field name="model">product.template</field>
<record id="product_secondary_unit_view_tree" model="ir.ui.view">
<field name="model">product.secondary.unit</field>
<field
name="inherit_id"
ref="product_secondary_unit.product_template_form_view"
ref="product_secondary_unit.product_secondary_unit_view_tree"
/>
<field name="arch" type="xml">
<field name="factor" position="after">
Expand Down

0 comments on commit 3fa2331

Please sign in to comment.