Oddo Button 返回供应商账单而不是客户发票

Oddo Button returning Vendor Bills instead of Customer Invoice

当我单击一个按钮时,我必须转到客户发票树和表格 View.Instead,现在它将转到供应商 Invoice.I 在单击按钮时尝试这样做。

return {
               'name': "Invoice",
               'type': 'ir.actions.act_window',
               'view_mode': 'tree,form',
                'xml_id': 'account.action_invoice_tree1',
                'tree_view_id': self.env.ref('account.invoice_tree').id,               
                'form_view_id': self.env.ref('account.invoice_form').id,               
               'target': 'current',
               'res_model':'account.invoice',
               'domain': [('id','in',[invoice_obj.id])],
           }
'views': [(self.env.ref('account.invoice_tree').id, 'tree'),
          (self.env.ref('account.invoice_form').id, 'form')],