Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Error on creation "Incoming Shipments"

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
stockopenerp
4516 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
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!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
what is Shipping Policy? Rezolvat
stock sale openerp
Imagine profil
Imagine profil
Imagine profil
2
dec. 24
12076
Nothing happens on calling a function
stock stock_picking openerp
Imagine profil
Imagine profil
Imagine profil
2
mar. 15
10452
Inventory Valuation Odoo 15
stock
Imagine profil
Imagine profil
1
oct. 25
1695
Why Inventory Defaults -- Warehouse not showing as selected ?
stock
Imagine profil
Imagine profil
1
oct. 25
722
Force the creation of a new product when a package arrives
stock
Imagine profil
Imagine profil
Imagine profil
2
sept. 25
856
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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