[trunk] Error In - stock - stock_demo.xml

Bug #642896 reported by vitridex
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Hi all, found an error in trunk addons | stock - stock_demo.xml
=================
[2010-09-19 23:25:59,166][testdemo] INFO:init:module stock: loading stock_data.xml
[2010-09-19 23:25:59,545][testdemo] INFO:init:module stock: loading wizard/stock_move_view.xml
[2010-09-19 23:25:59,701][testdemo] INFO:init:module stock: loading wizard/stock_partial_picking_view.xml
[2010-09-19 23:25:59,726][testdemo] INFO:init:module stock: loading wizard/stock_partial_move_view.xml
[2010-09-19 23:25:59,764][testdemo] INFO:init:module stock: loading wizard/stock_inventory_set_stock_zero_view.xml
[2010-09-19 23:25:59,824][testdemo] INFO:init:module stock: loading wizard/stock_fill_inventory_view.xml
[2010-09-19 23:25:59,886][testdemo] INFO:init:module stock: loading wizard/stock_invoice_onshipping_view.xml
[2010-09-19 23:25:59,943][testdemo] INFO:init:module stock: loading wizard/stock_inventory_merge_view.xml
[2010-09-19 23:25:59,996][testdemo] INFO:init:module stock: loading wizard/stock_location_product_view.xml
[2010-09-19 23:26:00,058][testdemo] INFO:init:module stock: loading wizard/stock_splitinto_view.xml
[2010-09-19 23:26:00,116][testdemo] INFO:init:module stock: loading wizard/stock_inventory_line_split_view.xml
[2010-09-19 23:26:00,173][testdemo] INFO:init:module stock: loading wizard/stock_change_standard_price_view.xml
[2010-09-19 23:26:00,220][testdemo] INFO:init:module stock: loading wizard/stock_picking_make_view.xml
[2010-09-19 23:26:00,268][testdemo] INFO:init:module stock: loading wizard/stock_return_picking_view.xml
[2010-09-19 23:26:00,297][testdemo] INFO:init:module stock: loading stock_workflow.xml
[2010-09-19 23:26:00,543][testdemo] INFO:init:module stock: loading stock_incoterms.xml
[2010-09-19 23:26:00,647][testdemo] INFO:init:module stock: loading stock_view.xml
[2010-09-19 23:26:02,742][testdemo] INFO:init:module stock: loading stock_report.xml
[2010-09-19 23:26:02,865][testdemo] INFO:init:module stock: loading stock_sequence.xml
[2010-09-19 23:26:03,007][testdemo] INFO:init:module stock: loading product_data.xml
[2010-09-19 23:26:03,105][testdemo] INFO:init:module stock: loading product_view.xml
[2010-09-19 23:26:03,305][testdemo] INFO:init:module stock: loading partner_view.xml
[2010-09-19 23:26:03,353][testdemo] INFO:init:module stock: loading report/report_stock_move_view.xml
[2010-09-19 23:26:03,594][testdemo] INFO:init:module stock: loading report/report_stock_picking_view.xml
[2010-09-19 23:26:03,732][testdemo] INFO:init:module stock: loading report/report_stock_view.xml
[2010-09-19 23:26:03,905][testdemo] INFO:init:module stock: loading security/stock_security.xml
[2010-09-19 23:26:04,116][testdemo] INFO:init:module stock: loading security/ir.model.access.csv
[2010-09-19 23:26:04,707][testdemo] INFO:init:module stock: loading board_warehouse_view.xml
[2010-09-19 23:26:04,836][testdemo] INFO:init:module stock: loading stock_demo.xml
[2010-09-19 23:26:05,343][testdemo] ERROR:db.cursor:bad query: insert into "stock_move" (id,"date_expected","name","sale_line_id","date_planned","auto_validate","company_id","priority","date","product_uom","state","location_dest_id","product_qty","prodlot_id","purchase_line_id","location_id","product_id",create_uid,create_date) values (2,E'2010-09-19 23:20:11',E'INV:2:Starting Inventory',NULL,E'2010-09-19 23:20:11',E'False',1,E'1',E'2010-09-19 23:20:11',1,E'done',41,14.0,NULL,NULL,NULL,3,1,now())
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 124, in execute
    res = self._obj.execute(query, params)
IntegrityError: null value in column "location_id" violates not-null constraint

[2010-09-19 23:26:05,344][testdemo] ERROR:init:[01]: <function model="stock.inventory" name="action_done">
[2010-09-19 23:26:05,344][testdemo] ERROR:init:[02]: <function eval="[[]]" model="stock.inventory" name="search"/>
[2010-09-19 23:26:05,344][testdemo] ERROR:init:[03]: </function>
=======================================
Not shore how to fix this...???

Thanks

Revision history for this message
JMA(Open ERP) (jma-openerp) wrote :

Hello Vitridex,

It has already been fixed.
Please update your code and re-check it.

Thank you for reporting.

Changed in openobject-addons:
status: New → Fix Released
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.