Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Customer Invoices view activity opens in vendor bill form view?

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
3 Respuestas
4226 Vistas
Avatar
Muhammad Anees

Hii,

Go to Accounting > Customers > Invoices > View activity > open any activity ( click invoice number link). This opens in Vendor Bill Form instead it should open in Customer Invoice Form.

- Same is the case if you schedule activity for user A on customer invoice, when user A open Activities > Kanban View > it opens in Vendor Bill Form View 

- In a dashboard > Customer Invoice List View > Click to view invoice > it will open in Vendor Bill Form View 

Odoo V12 EE.

How to fix it please. Thanks.

0
Avatar
Descartar
Avatar
Muhammad Anees
Autor Mejor respuesta

Reply from Odoo:

https://github.com/odoo/odoo/issues/54471

Unfortunately this is a known issue that happens on <=v12. The good new is that this doesn't happen anymore in v13, but it's not possible to be fixed in previous versions, so closing as won't fix in v12, but fixed in v13.

0
Avatar
Descartar
Avatar
Maxence Royer
Mejor respuesta

Hello, Even though the post is a bit old, if it can help, here's a potential solution that I was able to test:

Create a JS file with the following content:

odoo.define('invoice_kanban.invoice_kanban_view_handler', function (require) {
"use strict";

var KanbanRecord = require('web.KanbanRecord');

KanbanRecord.include({
//--------------------------------------------------------------------------
// Private
//--------------------------------------------------------------------------

/**
* @override
* @private
*/
_openRecord: function () {
var invoice_id = this.id;
var self = this;
if (this.modelName === 'account.invoice') {
this._rpc({
model: this.modelName,
method: 'get_formview_id',
args: [[invoice_id]],
})
.then(function (view_id) {
var action = {
type: 'ir.actions.act_window',
name: 'Invoice',
res_model: 'account.invoice',
res_id: invoice_id,
views: [[view_id, 'form']],
domain: [['id', '=', invoice_id]],
};
self.do_action(action);
});
} else {
this._super.apply(this, arguments);
}
}
});
});

Don't forget to load it.

Odoo will then load the 'account.invoice_form' view instead of 'account.invoice_supplier_form'.

Hoping this will help others in the future.

Maxence


0
Avatar
Descartar
Avatar
Ray Carnes (ray)
Mejor respuesta

I did this:

1. Accounting --> Customers --> Invoices

I don't see "View Activity" so I edited the Invoices View and added the Activity View:


But when I use this View, I am not shown the Vendor Bill Form View, but the correct Customer Invoice form.


Can you confirm what the next step is after you reach the Invoices List View?  What do you mean by "View Activity"? 

I cannot find a Menu, button, filter, or other option to click or select "View Activity" - perhaps you have a customization?



I don't know what sequence to follow to "open Activities" into the Kanban View.  When I open Activities from the clock icon and the Kanban that follows, they open as expected:

 


When I add Invoices to my dashboard, they also open fine in the Customer Invoices Form View.


If you can replicate this problem via Runbot, then you can log a bug, as long as you provide steps that our team can follow to replicate the bug.  Screenshots or even a video make replicating easier as we can do exactly what you show us via those visual documents.

https://runbot.odoo.com 

0
Avatar
Descartar
Muhammad Anees
Autor

Thank you Ray for your reply.

This error/bug is on Odoo 12 or less.

We opened the issue with Odoo.

Here is like and Odoo Reply.

https://github.com/odoo/odoo/issues/54471

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones empresariales de código abierto que cubre todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now