← Back to team overview

openerp-india team mailing list archive

[Bug 931248] Re: product_variant_multi , product_extended -> 6.1 dev: can´t insert supplier info

 

Hello,

Yes, you did a correct thing. We have to add a qty field on parent form view because we have used a inheritance in child view.
Like we have used a   <field name="qty" position="after">  on inheritance , So for that the qty field must be exist on parent view.

I think here you have no need to add sequence field in view as per your
traceback.

Thank you!

** Changed in: openobject-addons
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/openobject-addons/+question/187614

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/931248

Title:
  product_variant_multi , product_extended -> 6.1 dev: can´t insert
  supplier info

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Cant insert supplier info in the products module with product_extended
  and product_variant_multi installed.

  don´t known what´s the module is buggy because i´ve installed
  together.

  this happens when press create button on supplier tab in the products
  form

  --------------------------------------------------------------
  Client Traceback (most recent call last):
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\openerp\addons\web\common\http.py", line 180, in dispatch
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\openerp\addons\web\controllers\main.py", line 1063, in load
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\openerp\addons\web\controllers\main.py", line 945, in fields_view_get
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\openerp\addons\web\common\http.py", line 609, in send

  
  Server Traceback (most recent call last):
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\openerp\addons\web\common\http.py", line 590, in send
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\netsvc.py", line 324, in dispatch_rpc
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\service\web_services.py", line 591, in dispatch
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\osv\osv.py", line 166, in execute_kw
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\osv\osv.py", line 120, in wrapper
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\osv\osv.py", line 175, in execute
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\osv\osv.py", line 163, in execute_cr
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\osv\orm.py", line 2122, in fields_view_get
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\osv\orm.py", line 2080, in apply_view_inheritance
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\osv\orm.py", line 2065, in apply_inheritance_specs
    File "C:\Arquivos de programas\OpenERP 6.1dev-20120203-020001\server\.\openerp\osv\orm.py", line 1963, in raise_view_error
  AttributeError: View definition error for inherited view 'product_extended.product_supplierinfo_ext_form_view' on model 'product.supplierinfo': Element '<field name="qty">' not found in parent view '%(parent_xml_id)s'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/931248/+subscriptions


References