-
-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] pos_fixed_discount: Migration to 14.0"
- Loading branch information
1 parent
6d8e563
commit 45d980a
Showing
4 changed files
with
62 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* Lorenzo Battistini - https://takobi.online | ||
* Foram Shah <foram.shah@initos.com> | ||
* Helly kapatel <helly.kapatel@initos.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<templates id="template" xml:space="preserve"> | ||
<t t-extend="DiscountButton"> | ||
<t t-jquery="div[class='control-button js_discount']" t-operation="replace"> | ||
<div class='control-button js_discount'> | ||
<i class='fa fa-tag' /> Discount (%) | ||
</div> | ||
<t t-extend="pos_discount.DiscountButton"> | ||
<t t-jquery="span[class='control-button js_discount']" t-operation="replace"> | ||
<span class="control-button js_discount"> | ||
<i class="fa fa-tag" /> | ||
<span> </span> | ||
<span>Discount (%)</span> | ||
</span> | ||
</t> | ||
</t> | ||
<t t-name="FixedDiscountButton"> | ||
<div class='control-button js_fixed_discount'> | ||
<i class='fa fa-tag' /> Discount (Amount) | ||
</div> | ||
|
||
<t t-name="FixedDiscountButton" owl="1"> | ||
<span class="control-button js_fixed_discount"> | ||
<i class="fa fa-tag" /> | ||
<span> </span> | ||
<span>Discount (Amount)</span> | ||
</span> | ||
</t> | ||
|
||
</templates> |