pos_hide_partnerlist: hide details (edit-partner-button) button
This commit is contained in:
parent
c76254e3c7
commit
611979ea2e
2 changed files with 11 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
"assets": {
|
||||
"point_of_sale.assets": [
|
||||
"pos_hide_partnerlist/static/src/js/HideCustomerList.js",
|
||||
"pos_hide_partnerlist/static/src/xml/Screens/PartnerListScreen/PartnerLine.xml",
|
||||
],
|
||||
},
|
||||
"installable": True,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-inherit="point_of_sale.PartnerLine" t-inherit-mode="extension" owl="1">
|
||||
<xpath expr="//button[hasclass('edit-partner-button')]/.." position="attributes">
|
||||
<attribute name="t-if">false</attribute>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Loading…
Add table
Add a link
Reference in a new issue