← Back to team overview

openerp-india team mailing list archive

[Bug 1071126] [NEW] [trunk] warning installing sale runbot ok.

 

Public bug reported:

Hello.

If you install only sale:

2012-10-24 23:49:44,341 3351 INFO trunk-test openerp.modules.loading: module product: loading product_demo.xml
2012-10-24 23:49:44,650 3351 WARNING trunk-test openerp.osv.orm: No such field(s) in model product.product: sale_delay.
2012-10-24 23:49:44,722 3351 WARNING trunk-test openerp.osv.orm: No such field(s) in model product.product: sale_delay.
2012-10-24 23:49:44,795 3351 WARNING trunk-test openerp.osv.orm: No such field(s) in model product.product: sale_delay.


What is corious is that runbot doesnt show this warning:

(Build 23095)
server (4508)
addons (7848)
web (3307)

Making an rgrep:

[ ~/instancias/7.0/addons ] 
(184 files, 760Kb)  $: rgrep sale_delay . --exclude=*.po*
./stock/product_view.xml:            		<field name="sale_delay" attrs="{'readonly':[('sale_ok','=',False)]}"/>
./stock/product_view.xml:                    <label for="sale_delay"/>
./stock/product_view.xml:                            <field name="sale_delay" class="oe_inline"/> days
./stock/product.py:        'sale_delay': fields.float('Customer Lead Time', help="This is the average delay in days between the confirmation of the customer order and the delivery of the finished products. It's the time you promise to your customers."),
./stock/product.py:        'sale_delay': 7,
Binary file ./stock/product.pyc matches
Binary file ./sale_stock/sale_stock.pyc matches
./sale_stock/sale_stock.py:        res['value']['delay'] = (product_obj.sale_delay or 0.0)
./product/product_demo.xml:            <field name="sale_delay">4.0</field>
./product/product_demo.xml:            <field name="sale_delay">4.0</field>
./product/product_demo.xml:            <field name="sale_delay">7.0</field>


We can see easily that demo on product has conflicts with field sale_delay added by stock (which depend of product) this demo data must be added on stock.

** Affects: openobject-addons
     Importance: Low
         Status: New

** Affects: openobject-addons/trunk
     Importance: Low
         Status: New

** Changed in: openobject-addons
   Importance: Undecided => Low

** Also affects: openobject-addons/trunk
   Importance: Low
       Status: New

-- 
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/1071126

Title:
  [trunk] warning installing sale runbot ok.

Status in OpenERP Addons (modules):
  New
Status in OpenERP Addons trunk series:
  New

Bug description:
  Hello.

  If you install only sale:

  2012-10-24 23:49:44,341 3351 INFO trunk-test openerp.modules.loading: module product: loading product_demo.xml
  2012-10-24 23:49:44,650 3351 WARNING trunk-test openerp.osv.orm: No such field(s) in model product.product: sale_delay.
  2012-10-24 23:49:44,722 3351 WARNING trunk-test openerp.osv.orm: No such field(s) in model product.product: sale_delay.
  2012-10-24 23:49:44,795 3351 WARNING trunk-test openerp.osv.orm: No such field(s) in model product.product: sale_delay.

  
  What is corious is that runbot doesnt show this warning:

  (Build 23095)
  server (4508)
  addons (7848)
  web (3307)

  Making an rgrep:

  [ ~/instancias/7.0/addons ] 
  (184 files, 760Kb)  $: rgrep sale_delay . --exclude=*.po*
  ./stock/product_view.xml:            		<field name="sale_delay" attrs="{'readonly':[('sale_ok','=',False)]}"/>
  ./stock/product_view.xml:                    <label for="sale_delay"/>
  ./stock/product_view.xml:                            <field name="sale_delay" class="oe_inline"/> days
  ./stock/product.py:        'sale_delay': fields.float('Customer Lead Time', help="This is the average delay in days between the confirmation of the customer order and the delivery of the finished products. It's the time you promise to your customers."),
  ./stock/product.py:        'sale_delay': 7,
  Binary file ./stock/product.pyc matches
  Binary file ./sale_stock/sale_stock.pyc matches
  ./sale_stock/sale_stock.py:        res['value']['delay'] = (product_obj.sale_delay or 0.0)
  ./product/product_demo.xml:            <field name="sale_delay">4.0</field>
  ./product/product_demo.xml:            <field name="sale_delay">4.0</field>
  ./product/product_demo.xml:            <field name="sale_delay">7.0</field>

  
  We can see easily that demo on product has conflicts with field sale_delay added by stock (which depend of product) this demo data must be added on stock.

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


Follow ups

References