Skip to content

Commit

Permalink
[FIX] *: Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chienandalu committed Nov 6, 2023
1 parent c2ea866 commit 2ddc6b9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion product_warranty/views/product_warranty.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<field name="name">product.return.instructions.tree</field>
<field name="model">return.instruction</field>
<field name="arch" type="xml">
<tree string="Return instructions">
<tree>
<field name="name" />
<field name="instructions" />
<field name="is_default" />
Expand Down
2 changes: 1 addition & 1 deletion rma/views/rma_finalization_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<field name="model">rma.finalization</field>
<field eval="6" name="priority" />
<field name="arch" type="xml">
<tree string="RMA Finalization Reasons">
<tree>
<field name="name" />
<field name="company_id" groups="base.group_multi_company" />
</tree>
Expand Down
2 changes: 1 addition & 1 deletion rma/views/rma_tag_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<field name="model">rma.tag</field>
<field eval="6" name="priority" />
<field name="arch" type="xml">
<tree string="RMA Tags">
<tree>
<field name="name" />
<field name="is_public" />
<field name="active" />
Expand Down
1 change: 1 addition & 0 deletions rma_sale/static/src/js/rma_portal_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ odoo.define("rma_sale.animation", function (require) {
* We should be able to submit only when an operation is selected and a
* quantity entered in a row at least.
* @private
* @returns {Boolean}
*/
_canSubmit: function () {
var can_submit = false;
Expand Down
14 changes: 6 additions & 8 deletions website_rma/data/website_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
<!-- Copyright 2020 Tecnativa - Ernesto Tejeda
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data>
<record id="request_rma_thanks_page" model="website.page">
<field name="url">/requestrma-thank-you</field>
<field name="website_indexed" eval="False" />
<field name="website_published">True</field>
<field name="view_id" ref="request_rma_thanks_page_view" />
</record>
</data>
<record id="request_rma_thanks_page" model="website.page">
<field name="url">/requestrma-thank-you</field>
<field name="website_indexed" eval="False" />
<field name="website_published">True</field>
<field name="view_id" ref="request_rma_thanks_page_view" />
</record>
</odoo>

0 comments on commit 2ddc6b9

Please sign in to comment.