Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

I can't install mrp work order lot

By
Yuanika Indanea
on 6/5/16, 1:16 PM 273 views

I want to install work order lot for mrp module, but I get this following error. Is there any explanation for this? Thank you.


Odoo

Odoo Server Error
Traceback (most recent call last):
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\http.py", line 539, in _handle_exception
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\http.py", line 576, in dispatch
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\http.py", line 312, in _call_function
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\service\model.py", line 118, in wrapper
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\http.py", line 309, in checked_call
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\http.py", line 805, in __call__
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\http.py", line 405, in response_wrap
  File "C:\Program Files\Odoo 8.0-20160501\server\openerp\addons\web\controllers\main.py", line 948, in call_button
  File "C:\Program Files\Odoo 8.0-20160501\server\openerp\addons\web\controllers\main.py", line 936, in _call_kw
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\api.py", line 268, in wrapper
  File "C:\Program Files\Odoo 8.0-20160501\server\openerp\addons\base\module\module.py", line 726, in install_from_urls
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\api.py", line 268, in wrapper
  File "C:\Program Files\Odoo 8.0-20160501\server\openerp\addons\base\module\module.py", line 447, in button_immediate_install
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\api.py", line 268, in wrapper
  File "C:\Program Files\Odoo 8.0-20160501\server\openerp\addons\base\module\module.py", line 495, in _button_immediate_function
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\modules\registry.py", line 370, in new
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\modules\loading.py", line 355, in load_modules
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\modules\loading.py", line 255, in load_marked_modules
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\modules\loading.py", line 176, in load_module_graph
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\modules\loading.py", line 118, in _load_data
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\tools\convert.py", line 900, in convert_file
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\tools\convert.py", line 986, in convert_xml_import
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\tools\convert.py", line 852, in parse
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\tools\convert.py", line 756, in _tag_record
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\tools\convert.py", line 176, in _eval_xml
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\tools\convert.py", line 165, in _process
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\tools\convert.py", line 831, in id_get
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\tools\convert.py", line 842, in model_id_get
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\api.py", line 268, in wrapper
  File "C:\Program Files\Odoo 8.0-20160501\server\openerp\addons\base\ir\ir_model.py", line 905, in xmlid_to_res_model_res_id
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\api.py", line 268, in wrapper
  File "<string>", line 2, in xmlid_lookup
  File "C:\Program Files\Odoo 8.0-20160501\server\.\openerp\tools\cache.py", line 74, in lookup
  File "C:\Program Files\Odoo 8.0-20160501\server\openerp\addons\base\ir\ir_model.py", line 895, in xmlid_lookup
ParseError: "External ID not found in the system: stock.track_line" while parsing file:///C:/Users/Yuan/AppData/Local/OpenERP S.A/Odoo/addons/8.0/mrp_consume_produce/mrp_consume_produce_view.xml:61, near
<record model="ir.ui.view" id="view_mrp_production_colors_inherit">
            <field name="name">view.mrp.production.colors.inherit</field>
            <field name="model">mrp.production</field>
            <field name="inherit_id" ref="mrp.mrp_production_form_view"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name='move_created_ids2']" position="replace" expxml_f="//field[@name='move_created_ids2']">
                     <field colspan="2" name="move_created_ids2" nolabel="1" domain="[('state','in', ('done', 'cancel'))]" widget="one2many_list" height="275">
                        <tree colors="red:scrapped==True;blue:state == 'draft';black:state in('picking_except','confirmed','ready','in_production');gray:state in('cancel');black:state == 'done' " string="Finished Products">
                           <field name="product_id" readonly="1"/>
                           <field name="product_qty" readonly="1" string="Qty"/>
                           <field name="product_uom" readonly="1" string="UOM"/>
                           <field name="location_dest_id" readonly="1" string="Destination Loc." widget="selection"/>
                           <field name="prodlot_id" context="{'product_id': product_id}"/>
                           <field name="scrapped" invisible="1"/>
                           <field name="state" invisible="1"/>
                           <button name="%(stock.track_line)d" string="Split in production lots" type="action" icon="gtk-justify-fill" states="done,cancel"/>
                           <button name="%(stock.move_scrap)d" string="Scrap Products" type="action" icon="gtk-convert" states="done,cancel"/>
                       </tree>
                    </field>
                </xpath>
            </field>
        </record>


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/5/16, 1:16 PM
Seen: 273 times
Last updated: 6/5/16, 4:14 PM