Przeglądaj źródła

FIX ADD Detalles varios

Sebas 6 lat temu
rodzic
commit
5b5b480caa
1 zmienionych plików z 1 dodań i 13 usunięć
  1. 1 13
      static/src/js/reports/report_libro_pos.js

+ 1 - 13
static/src/js/reports/report_libro_pos.js

@@ -87,20 +87,8 @@ function report_libro_pos(reporting){
         },
 
         ckickAnalysisDetail: function(e, row, $element, field){
+
             if (field == 'number'){
-                this.do_action({
-                    name:"Factura de cliente",
-                    type: 'ir.actions.act_window',
-                    res_model: "account.invoice",
-                    views: [[false,'form']],
-                    target: 'new',
-                    domain: [['type', '=', 'out_invoice'],['id','=', row.id]],
-                    context: {},
-                    flags: {'form': {'action_buttons': false, 'options': {'mode': 'view'}}},
-                    res_id: row.id,
-                });
-            }
-            if (field == 'ref'){
                 this.do_action({
                     name:"Pos",
                     type: 'ir.actions.act_window',