Parcourir la source

Ajustes quitar ruc

sebas il y a 4 ans
Parent
commit
d446b511fc

+ 0 - 0
__init__.py


+ 0 - 0
__init__.pyc


+ 0 - 0
__openerp__.py


+ 1 - 1
static/src/js/customer.js

@@ -9,7 +9,7 @@ function pos_customer(instance, module){
             loaded = loaded.then(function(){
                 return self.fetch(
                     'res.partner',
-                    ['ruc','fax'],
+                    ['fax'],
                 );
 
             }).then(function(partners){

+ 0 - 0
static/src/js/main.js


+ 0 - 0
static/src/js/model.js


+ 0 - 1
static/src/js/screen.js

@@ -226,7 +226,6 @@ function pos_screens(instance, module){ //module is instance.point_of_sale
             var self = this;
             this.reload_partners().then(function(){
                 var partner = self.pos.db.get_partner_by_id(partner_id);
-                partner['ruc'] = fields.ruc;
                 partner['fax'] = fields.fax;
                 if (partner) {
                     self.new_client = partner;

+ 1 - 1
static/src/xml/pos.xml

@@ -40,7 +40,7 @@
                       Cliente: <t t-esc="order.attributes.client.name"/><br />
                     </t>
                     <t t-if="order.attributes.client.fax">
-                      N° de legajo: <t t-esc="order.attributes.client.fax"/><br />
+                      <!-- N° de legajo: <t t-esc="order.attributes.client.fax"/><br /> -->
                     </t>
                     <t t-if="order.attributes.client.phone">
                       Teléfono: <t t-esc="order.attributes.client.phone"/><br />

+ 4 - 4
static/src/xml/view.xml

@@ -2,22 +2,22 @@
 <templates id="template" xml:space="preserve">
 
     <!-- Mostrar Formulario -->
-    <t t-extend="ClientDetails">
+    <!-- <t t-extend="ClientDetails">
         <t t-jquery="div.client-details-left>div:first-child" t-operation="before">
             <div class='client-detail'>
                 <span class='label'>RUC-DNI</span>
                 <span class='detail client-ruc'><t t-esc='partner.ruc' /></span>
             </div>
         </t>
-    </t>
+    </t> -->
 
     <!-- Editar Formulario -->
-    <t t-extend="ClientDetailsEdit">
+    <!-- <t t-extend="ClientDetailsEdit">
         <t t-jquery="div.client-details-left>div:first-child" t-operation="before">
             <div class='client-detail'>
                 <span class='label'>RUC</span>
                 <input class='detail client-ruc' name='ruc' t-att-value='partner.ruc' placeholder='RUC-DNI'></input>
             </div>
         </t>
-    </t>
+    </t> -->
 </templates>

+ 0 - 0
template.xml