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

how to store bar code result in to odoo from flutter

Suscribirse

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

Se marcó esta pregunta
odoo11
5 Respuestas
5677 Vistas
Avatar
Nirmala Sudhir

Hi,

    I have an bar code scanner app with front end as flutter and backend as odoo. I want to know how to store the scanned bar/qr code from flutter to odoo with a configurable email addres. how to create a odoo backend for this situation.?

waiting for replies.

thank in advance

0
Avatar
Descartar
Cybrosys Techno Solutions Pvt.Ltd

Hi,

Are you using Google mobile vision API?

OdooBot
Hi Keval Mehta,
     Can you please edit your answer in odoo forum.

You can use different packages of flutter which helps you to connect with different scripting languages like python, java, .net, etc.

For example you can check this : \Flutter\ package\\\

Likewise\ you\ can\&nbsp\;get\ reference\ from\ this\ link\ also\ \:\&nbsp\;\Python\ Web\ services\ for\ Flutter\ App\\\

Also\ you\ can\ get\ library\ of\ python\ for\ flutter\ also\ \:\&nbsp\;\Python package for Flutter


the above link doesn't work. 

And I have idea how to connect flutter with odoo. I need to know is there any video tutorial for storing bar code in odoo with a configurable email address.


thanks


On Tue, Dec 17, 2019 at 3:37 PM Keval Mehta <mehtakevalaf@gmail.com> wrote:

A new answer on how to store bar code result in to odoo from flutter has been posted. Click here to access the post :

See post

Sent by Odoo S.A. using Odoo.

Muhammed Nishad

Hi Cybrosys,

    Nope. I am not using Google mobile vision API. I even dont have any idea about it. I referred the below link for bar code scanning in flutter.

​https://github.com/https://github.com/iampawan/FlutterQRScanner-App/blob/master/lib/main.dartiampawan/FlutterQRScanner-App/blob/master/lib/main.dart

I can able to scan the bar code and stored it in variable. Now I would like to send the store data to odoo with a configrable mail address. How can I achieve this is in odoo?

Note: Main purpose is  Often invoices to be paid are received as per email as a pdf attachements. These mails are then forwarded to odoo using a configurable mail address.

thanks


Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi Nirmala,
There are a number of options to do this, you can either use Odoo's builtin APIs or if you want to be more flexible you can write a an http or JSON route in Odoo to handle the request.

for eg:

# custom route for json
from odoo import http
from odoo.http import request
import json


class InvoiceBarcodeConfirm(http.Controller):

@http.route('/invoice/barcode/confirm', type='json', auth='public', website=False)
def confirm_invoice(self, **data):
# assuming that the data recieved from flutter has the following structure
# {'user_login': value,'user_pwd':password, 'invoice_barcode': barcode}
if 'user_login' in data and 'user_pwd' in data and 'invoice_barcode' in data:
uid = request.session.authenticate(request.env.cr.dbname, data['user_login'], data['user_pwd'])
if uid.id:
invoice = request.env['account.invoice'].search([('barcode', '=', data['invoice_barcode'])])
if invoice.id:
invoice.action_invoice_open()
return json.dumps({'status': 'success'})
else:
return json.dumps({'status': 'no matching invoice'})
else:
return json.dumps({'status': 'authentication failed'})
else:
return json.dumps({'status': 'not enough parameters received'})​

the code is just an illustration to how you can create a custom handler for your request.In case you just need to get your mail and attachments in odoo, you can simply configure external incoming email server from the configurations.

Hope it helped.

0
Avatar
Descartar
Avatar
Keval Mehta
Mejor respuesta

You can use different packages of flutter which helps you to connect with different scripting languages like python, java, .net, etc.​

For example you can check this : \Flutter\ package\\\

Likewise\ you\ can\&nbsp\;get\ reference\ from\ this\ link\ also\ \:\&nbsp\;\Python\ Web\ services\ for\ Flutter\ App\\\

Also\ you\ can\ get\ library\ of\ python\ for\ flutter\ also\ \:\&nbsp\;\Python package for Flutter

-1
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

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

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
create backorder odoo after validate purchase shipment ? Resuelto
odoo11
Avatar
Avatar
1
oct 25
12113
I can't create any sub-task
odoo11
Avatar
Avatar
Avatar
2
jul 24
3703
odoo 11 display calendar widget in website layout
odoo11
Avatar
Avatar
1
jun 24
6013
Get field's value from another model
odoo11
Avatar
Avatar
1
oct 23
98
413 Request Entity Too Large Resuelto
odoo11
Avatar
Avatar
1
ago 23
2194
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