Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR qrhcin openerp.osv.orm: Can't find field 'observations' in the following view parts composing the view of object model 'stock.picking.out':
- * stock.picking.out.form.new.inh
- Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
- 2014-09-19 13:45:01,016 2744 ERROR qrhcin openerp.addons.base.ir.ir_ui_view: Can't render view health_center_warehouse.view_picking_out_form_new for model: stock.picking.out
- Traceback (most recent call last):
- File "/opt/openerp/server/openerp/addons/base/ir/ir_ui_view.py", line 126, in _check_render_view
- fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context)
- File "/opt/openerp/solt-qrhcin_src/addons/health_center_warehouse/stock.py", line 235, in fields_view_get
- return super(stock_picking, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
- File "/opt/openerp/server/openerp/addons/stock/stock.py", line 728, in fields_view_get
- return super(stock_picking, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
- File "/opt/openerp/server/openerp/osv/orm.py", line 2260, in fields_view_get
- xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
- File "/opt/openerp/server/openerp/osv/orm.py", line 1913, in __view_look_dom_arch
- fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
- File "/opt/openerp/server/openerp/osv/orm.py", line 1859, in __view_look_dom
- fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
- File "/opt/openerp/server/openerp/osv/orm.py", line 1859, in __view_look_dom
- fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
- File "/opt/openerp/server/openerp/osv/orm.py", line 1859, in __view_look_dom
- fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
- File "/opt/openerp/server/openerp/osv/orm.py", line 1859, in __view_look_dom
- fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
- File "/opt/openerp/server/openerp/osv/orm.py", line 1776, in __view_look_dom
- xarch, xfields = relation.__view_look_dom_arch(cr, user, f, view_id, ctx)
- File "/opt/openerp/server/openerp/osv/orm.py", line 1913, in __view_look_dom_arch
- fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
- File "/opt/openerp/server/openerp/osv/orm.py", line 1859, in __view_look_dom
- fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
- File "/opt/openerp/server/openerp/osv/orm.py", line 1859, in __view_look_dom
- fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
- File "/opt/openerp/server/openerp/osv/orm.py", line 1859, in __view_look_dom
- fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
- File "/opt/openerp/server/openerp/osv/orm.py", line 1859, in __view_look_dom
- fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
- File "/opt/openerp/server/openerp/osv/orm.py", line 1776, in __view_look_dom
- xarch, xfields = relation.__view_look_dom_arch(cr, user, f, view_id, ctx)
- File "/opt/openerp/server/openerp/osv/orm.py", line 1937, in __view_look_dom_arch
- raise except_orm('View error', msg)
- except_orm: ('View error', u"Can't find field 'observations' in the following view parts composing the view of object model 'stock.picking.out':\n * stock.picking.out.form.new.inh\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model")
- 2014-09-19 13:45:01,059 2744 ERROR qrhcin openerp.tools.convert: Parse error in /opt/openerp/solt-qrhcin_src/addons/health_center_warehouse/view/stock_view.xml:1192:
- <record id="view_picking_out_form_new" model="ir.ui.view">
- <field name="name">stock.picking.out.form.new.inh</field>
- <field name="model">stock.picking.out</field>
- <field name="inherit_id" ref="stock.view_picking_form"/>
- <field name="priority">17</field>
- <field name="arch" type="xml">
- <data>
- <xpath expr="/form/header" position="replace">
- <header>
- <button name="draft_validate" states="draft" string="Confirm & Deliver" type="object" class="oe_highlight" groups="stock.group_stock_user"/>
- <button name="action_process" states="assigned" string="Deliver" type="object" class="oe_highlight" groups="stock.group_stock_user"/>
- <field name="state" widget="statusbar" statusbar_visible="draft,assigned,done"/>
- </header>
- </xpath>
- <xpath expr="//field[@name='partner_id']" position="replace">
- <field name="partner_id" on_change="onchange_partner_in(partner_id)" string="Customer" domain="[('customer','=',True)]" invisible="1"/>
- <field name="warehouse_destination_id" required="True"/>
- <field name="location_dest_id" groups="stock.group_locations" invisible="True"/>
- <field name="warehouse_source_id" required="True"/>
- <field name="transported_by"/>
- <field name="location_id" groups="stock.group_locations" invisible="True"/>
- </xpath>
- <xpath expr="/form/sheet/notebook/page[@string='Additional Info']" position="attributes">
- <attribute name="attrs">{'invisible': True}</attribute>
- </xpath>
- <field name="origin" position="replace">
- <field name="origin_picking_id" domain="[('state','=','done')]" widget="selection"/>
- </field>
- <field name="move_lines" position="replace">
- <field name="move_lines" context="{'address_in_id': partner_id, 'tree_view_ref':'view_move_picking_tree', 'picking_type': 'internal'}">
- <form string="Stock Moves" version="7.0" create="false" edit="false" delete="false">
- <header>
- <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,assigned,done" statusbar_colors="{"waiting":"blue","confirmed":"blue"}" invisible="1"/>
- </header>
- <sheet>
- <group>
- <group name="main_grp" string="Details">
- <group>
- <field name="product_id" on_change="onchange_product_id(product_id,False,False, False)" options="{'create_edit': false}"/>
- <field name="name"/>
- <label for="requested_qty"/>
- <div>
- <field name="requested_qty" required="True" class="oe_inline"/>
- </div>
- <label for="product_qty"/>
- <div>
- <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" class="oe_inline"/>
- <field name="product_uom" groups="product.group_uom" class="oe_inline"/>
- </div>
- </group>
- <group>
- <field name="price_unit"/>
- <field name="taxes_id" widget="many2many_tags" domain="[('parent_id','=',False),('type_tax_use','!=','sale')]"/>
- <field name="special_discount"/>
- <label for="product_uos_qty" groups="product.group_uos"/>
- <div groups="product.group_uos">
- <field name="product_uos_qty" on_change="onchange_uos_quantity(product_id, product_uos_qty, product_uos, product_uom)" class="oe_inline"/>
- <field name="product_uos" class="oe_inline"/>
- </div>
- <field name="company_id" groups="base.group_multi_company" widget="selection"/>
- <field name="cost_element_id"/>
- </group>
- <group col="1">
- <field name="observations" string="Observaciones"/>
- </group>
- </group>
- <group name="origin_grp" string="Origin" invisible="1">
- <field name="origin"/>
- <field name="picking_id" domain="[('type','=',type)]"/>
- <field name="location_id" groups="stock.group_locations" invisible="True"/>
- <field name="create_date" groups="base.group_no_one"/>
- </group>
- <group name="destination_grp" string="Destination" invisible="1">
- <field name="location_dest_id" groups="stock.group_locations" invisible="True"/>
- <field name="partner_id" context="{'contact_display':'partner'}" groups="stock.group_locations"/>
- </group>
- </group>
- <group string="Traceability">
- <group>
- <label for="prodlot_id" string="Lote de producción" attrs="{'invisible': [('prodlot_id', '=', False)]}"/>
- <div groups="stock.group_production_lot" attrs="{'invisible': [('prodlot_id', '=', False)]}">
- <field name="prodlot_id" string="Lote de producción" class="oe_inline" readonly="1"/>
- </div>
- <label for="register_type" string="Seleccionar por"/>
- <div>
- <field name="register_type"/>
- </div>
- </group>
- </group>
- <notebook>
- <page string="Product by serial number" attrs="{'invisible': [('register_type', 'not in', ['serial','both'])]}">
- <field name="prodserial_ids" options="{'creatable': false}">
- <tree edit="false">
- <field name="product_id" string="Product"/>
- <field name="name" string="Serial No"/>
- <field name="warehouse_id"/>
- <field name="location_id" string="Actual location"/>
- <field name="prodlot_id" string="Production Lot" quick_create="false" options="{'create': false, 'create_edit': false, 'no_open':true}"/>
- <field name="life_date" string="Life date"/>
- <field name="days_expire" invisible="1"/>
- </tree>
- <form>
- <group>
- <field name="product_id" string="Product"/>
- <field name="name" string="Serial No"/>
- <field name="warehouse_id"/>
- <field name="location_id" string="Actual location"/>
- <field name="prodlot_id" string="Production Lot" quick_create="false" options="{'create': false, 'create_edit': false, 'no_open':true}"/>
- <field name="life_date" string="Life date"/>
- <field name="days_expire" invisible="1"/>
- </group>
- </form>
- </field>
- </page>
- <page string="Lotes de producción33" attrs="{'invisible': [('register_type', '!=', 'lot')]}">
- <field name="split_lot_ids" widget="one2many" context="{'default_product_id':product_id}">
- <tree>
- <field name="product_id" string="Id del Producto" invisible="1"/>
- <field name="prodlot_id" string="Lote de producción" on_change="on_change_lot(prodlot_id,context)" quick_create="false" options="{'create': false, 'create_edit': false, 'no_open':true}" domain="[('product_id','=',product_id)]"/>
- <field name="qty" string="Cantidad"/>
- <field name="observations" string="Observaciones"/>
- <field name="life_date" string="Fecha de vencimiento" readonly="1"/>
- </tree>
- <form>
- <group>
- <field name="product_id" invisible="1"/>
- <field name="prodlot_id" string="Lote de producción" on_change="on_change_lot(prodlot_id,context)" quick_create="false" options="{'create': false, 'create_edit': false, 'no_open':true}" domain="[('product_id','=',product_id)]"/>
- <field name="stock_available" string="Cantidad del Lote" readonly="1"/>
- <field name="qty" string="Cantidad"/>
- <field name="life_date" string="Fecha de vencimiento" readonly="1"/>
- </group>
- </form>
- </field>
- </page>
- </notebook>
- </sheet>
- </form>
- </field>
- </field>
- </data>
- </field>
- </record>
- Traceback (most recent call last):
- File "/opt/openerp/server/openerp/tools/convert.py", line 847, in parse
- self._tags[rec.tag](self.cr, rec, n)
- File "/opt/openerp/server/openerp/tools/convert.py", line 814, in _tag_record
- id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
- File "/opt/openerp/server/openerp/addons/base/ir/ir_model.py", line 936, in _update
- model_obj.write(cr, uid, [res_id], values, context=context)
- File "/opt/openerp/server/openerp/addons/base/ir/ir_ui_view.py", line 208, in write
- return super(view, self).write(cr, uid, ids, vals, context)
- File "/opt/openerp/server/openerp/osv/orm.py", line 4201, in write
- self._validate(cr, user, ids, context)
- File "/opt/openerp/server/openerp/osv/orm.py", line 1544, in _validate
- raise except_orm('ValidateError', '\n'.join(error_msgs))
- except_orm: ('ValidateError', u'Ha ocurrido un error mientras se validaban los campo(s) arch: Invalid XML for View Architecture!')
- 2014-09-19 13:45:01,086 2744 ERROR qrhcin openerp.netsvc: ValidateError
- Ha ocurrido un error mientras se validaban los campo(s) arch: Invalid XML for View Architecture!
- Traceback (most recent call last):
- File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
- result = ExportService.getService(service_name).dispatch(method, params)
- File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch
- res = fn(db, uid, *params)
- File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw
- return self.execute(db, uid, obj, method, *args, **kw or {})
- File "/opt/openerp/server/openerp/osv/osv.py", line 144, in wrapper
- raise except_osv(inst.name, inst.value)
- except_osv: ('ValidateError', u'Ha ocurrido un error mientras se validaban los campo(s) arch: Invalid XML for View Architecture!')
- 2014-09-19 13:45:01,148 2744 INFO qrhcin werkzeug: 192.168.0.15 - - [19/Sep/2014 13:45:01] "POST /web/dataset/call_button HTTP/1.1" 200 -
- 2014-09-19 13:45:01,253 2744 INFO ? werkzeug: 192.168.0.15 - - [19/Sep/2014 13:45:01] "GET /web/static/src/img/warning.png HTTP/1.1" 200 -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement