|
@@ -87,20 +87,8 @@ function report_libro_pos(reporting){
|
|
},
|
|
},
|
|
|
|
|
|
ckickAnalysisDetail: function(e, row, $element, field){
|
|
ckickAnalysisDetail: function(e, row, $element, field){
|
|
|
|
+
|
|
if (field == 'number'){
|
|
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({
|
|
this.do_action({
|
|
name:"Pos",
|
|
name:"Pos",
|
|
type: 'ir.actions.act_window',
|
|
type: 'ir.actions.act_window',
|