Browse Source

[ADD] b_pos: Hide personal data in POS

pull/96/head
Rémy Taymans 5 years ago
parent
commit
da1690d11a
  1. 2
      beesdoo_pos/__openerp__.py
  2. 31
      beesdoo_pos/static/src/xml/templates.xml

2
beesdoo_pos/__openerp__.py

@ -17,7 +17,7 @@
# Check https://github.com/odoo/odoo/blob/master/openerp/addons/base/module/module_data.xml
# for the full list
'category': 'Point Of Sale',
'version': '0.1',
'version': '9.0.1.1.0',
# any module necessary for this one to work correctly
'depends': ['beesdoo_base', 'beesdoo_product'],

31
beesdoo_pos/static/src/xml/templates.xml

@ -45,5 +45,36 @@
<t t-extend="ClientListScreenWidget">
<t t-jquery='.new-customer' t-operation='replace'>
</t>
<t t-jquery=".client-list" t-operation="replace">
<table class='client-list'>
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
<tbody class='client-list-contents'>
</tbody>
</table>
</t>
</t>
<t t-extend="ClientLine">
<t t-jquery=".client-line" t-operation="replace">
<tr class='client-line' t-att-data-id='partner.id'>
<td><t t-esc='partner.name' /></td>
</tr>
</t>
</t>
<t t-extend="ClientDetails">
<t t-jquery=".client-details-left" t-operation="replace">
<div class='client-details-left'></div>
</t>
<t t-jquery=".edit-buttons" t-operation="replace">
<div class='edit-buttons'></div>
</t>
</t>
</templates>
Loading…
Cancel
Save