Explorar el Código

[FIX] correccion de codigo

Rodney Elpidio Enciso Arias hace 7 años
padre
commit
cd0aad85f2
Se han modificado 3 ficheros con 3 adiciones y 1 borrados
  1. 1 0
      __openerp__.py
  2. 1 1
      static/src/js/customer.js
  3. 1 0
      static/src/js/main.js

+ 1 - 0
__openerp__.py

@@ -14,6 +14,7 @@
         "template.xml",
     ],
     'qweb': [
+        'static/src/xml/pos.xml',
         'static/src/xml/pos_receipt.xml',
     ],
     'license': 'AGPL-3',

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

@@ -1,4 +1,4 @@
-function pos_customer_extra_field(instance, module){
+function pos_customer(instance, module){
 
     var PosModelSuper = module.PosModel;
     module.PosModel = module.PosModel.extend({

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

@@ -1,4 +1,5 @@
 openerp.eiru_legal_ticket = function(instance) {
     var module = instance.point_of_sale;
     pos_company_models(instance, module);
+    pos_customer(instance, module);
 };