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

Error on creation "Incoming Shipments"

Subscriure's

Get notified when there's activity on this post

This question has been flagged
stockopenerp
4500 Vistes
Avatar
heinwintsoe

I am new to OpenERP. I just installed Warehouse Management(Stock) module and tried to create a new Incoming Shipments record. But when I clicked Create button, I got the following error in popup.

OpenERP Server Error Client Traceback (most recent call last): File "C:\Program Files\OpenERP7.0\Server\server\openerp\addons\web\http.py", line 204, in dispatch File "C:\Program Files\OpenERP7.0\Server\server\openerp\addons\web\controllers\main.py", line 1128, in call_kw File "C:\Program Files\OpenERP7.0\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw File "C:\Program Files\OpenERP7.0\Server\server\openerp\addons\web\session.py", line 42, in proxy File "C:\Program Files\OpenERP7.0\Server\server\openerp\addons\web\session.py", line 30, in proxy_method File "C:\Program Files\OpenERP7.0\Server\server\openerp\addons\web\session.py", line 103, in send

Server Traceback (most recent call last): File "C:\Program Files\OpenERP7.0\Server\server\openerp\addons\web\session.py", line 89, in send File "C:\Program Files\OpenERP7.0\Server\server.\openerp\netsvc.py", line 292, in dispatch_rpc File "C:\Program Files\OpenERP7.0\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\Program Files\OpenERP7.0\Server\server.\openerp\osv\osv.py", line 188, in execute_kw File "C:\Program Files\OpenERP7.0\Server\server.\openerp\osv\osv.py", line 131, in wrapper File "C:\Program Files\OpenERP7.0\Server\server.\openerp\osv\osv.py", line 197, in execute File "C:\Program Files\OpenERP7.0\Server\server.\openerp\osv\osv.py", line 185, in execute_cr File "C:\Program Files\OpenERP7.0\Server\server\openerp\addons\stock\stock.py", line 3053, in default_get NameError: global name 'in_defaults' is not defined

So, I looked at the line 3053 of stock.py and found the following statement.

defaults.update(in_defaults)

If I commented it out, the error gone away.

I would like to know:

  1. Is it safe (should do) to do so?
  2. If it is safe, according to license, can I do changes the module?
0
Avatar
Descartar
Acespritech Solutions Private Limited

I don't know how you get that line. I checked in my stock module and I didn't find that line. I am not getting any error while installing stock(Warehouse) module. Can you specify from where you got this addons?

heinwintsoe
Autor

Hello @Acespritch. Thank you for your comment.

I installed the module, Warehouse Management, from the Settings > Modules >> Apps sections in OpenERP admin.

I just tested on online demo (trial) also and got the same error when I tried to create new "Incoming Shipments" (Warehouse > Receive/Deliver By Orders >> Incoming Shipments >>> Create)

It says:

File "/home/odoo/src/addons/saas-2/stock/stock.py", line 3044, in default_get defaults.update(in_defaults) NameError: global name 'in_defaults' is not defined

Gopakumar N G

I have tested it in the free online trial of OpenERP and the error occurs on clicking the create button of Incoming Shipments. But in my local it works fine.

heinwintsoe
Autor

Thank @Gopakumar N G for your comment.

If it was not difficult, could you send the stock addon archive you have to me. My email address is heinwintsoe@gmail.com.

And one more question is that did you tried with the latest addon?

heinwintsoe
Autor

The problem is being in the online version module. I installed stock module from online from the OpenERP's Apps box. I replaced it with the one (7.0 manually) downloaded manually. The code is different between those versions. Now, the problem was solved.

@Gopakumar, your addon also does not have the problem but I think it is not the latest. Thank you again for sending the addon to my email.

Thank you guys, @Acespritch and @Gopakumar, for your help.

Acespritech Solutions Private Limited

That's nice!!! You can test latest functionality of OpenERP from http://runbot.openerp.com/

Gopakumar N G

@heinwintsoe: The problem is now fixed in the free online trial of OpenERP.

heinwintsoe
Autor

Thank you @Gopakumar for your update information.

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
what is Shipping Policy? Solved
stock sale openerp
Avatar
Avatar
Avatar
2
de des. 24
12065
Nothing happens on calling a function
stock stock_picking openerp
Avatar
Avatar
Avatar
2
de març 15
10437
Inventory Valuation Odoo 15
stock
Avatar
Avatar
1
d’oct. 25
1687
Why Inventory Defaults -- Warehouse not showing as selected ?
stock
Avatar
Avatar
1
d’oct. 25
683
Force the creation of a new product when a package arrives
stock
Avatar
Avatar
Avatar
2
de set. 25
818
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