Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

how to store bar code result in to odoo from flutter

Subscriure's

Get notified when there's activity on this post

This question has been flagged
odoo11
5 Respostes
5672 Vistes
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
Best Answer

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
Best Answer

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
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
create backorder odoo after validate purchase shipment ? Solved
odoo11
Avatar
Avatar
1
d’oct. 25
12111
I can't create any sub-task
odoo11
Avatar
Avatar
Avatar
2
de jul. 24
3701
odoo 11 display calendar widget in website layout
odoo11
Avatar
Avatar
1
de juny 24
6010
Get field's value from another model
odoo11
Avatar
Avatar
1
d’oct. 23
98
413 Request Entity Too Large Solved
odoo11
Avatar
Avatar
1
d’ag. 23
2194
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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