Skip to content

Commit

Permalink
[MIG] Migrate module pos_hide_banknote_button to v14.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsolanki-initos committed Apr 27, 2021
1 parent bfabf76 commit 593df4e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
1 change: 1 addition & 0 deletions pos_hide_banknote_button/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Contributors
~~~~~~~~~~~~

* Sylvain LE GAL <https://twitter.com/legalsylvain>
* Dhara Solanki <[email protected]>

Maintainers
~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion pos_hide_banknote_button/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "Point of Sale - Hide Banknote Buttons",
"version": "12.0.1.0.0",
"version": "14.0.1.0.0",
"category": "Point Of Sale",
"summary": "Hide useless Banknote buttons in the PoS (+10, +20, +50)",
"author": "GRAP, Odoo Community Association (OCA)",
Expand Down
1 change: 1 addition & 0 deletions pos_hide_banknote_button/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* Sylvain LE GAL <https://twitter.com/legalsylvain>
* Dhara Solanki <[email protected]>
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,18 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
*/

.pos .payment-numpad .numpad button[data-action="+10"] {
visibility: hidden;
}

.pos .payment-numpad .numpad button[data-action="+20"] {
visibility: hidden;
}

.pos .payment-numpad .numpad button[data-action="+50"] {
.pos .payment-numpad .numpad button.mode-button {
visibility: hidden;
}

.pos .payment-numpad .numpad {
border-top: 0px solid;
}

.pos .payment-numpad .numpad button[data-action="1"],
.pos .payment-numpad .numpad button[data-action="2"],
.pos .payment-numpad .numpad button[data-action="3"],
.pos .payment-numpad .numpad button[data-action="BACKSPACE"] {
.pos .payment-numpad .numpad button:first-child,
.pos .payment-numpad .numpad button:nth-child(2),
.pos .payment-numpad .numpad button:nth-child(3),
.pos .payment-numpad .numpad button:last-child {
border-top: 1px solid;
border-color: #cacaca;
}

0 comments on commit 593df4e

Please sign in to comment.