← Back to team overview

openerp-india team mailing list archive

[Bug 1002666] [NEW] Partner field in Stock Move Analysis/Reception Analysis

 

Public bug reported:

in object report.stock.move:

        'partner_id':fields.many2one('res.partner.address', 'Partner',
readonly=True),

in sql view:

                        al.in_qty as product_qty_in,
                        al.address_id as partner_id,
                        al.product_id as product_id,

But when confirmed the purchase order, the address_id field of sotck.move which generated from PO is always blank (NULL):
select address_id,partner_id,origin from stock_move where origin ilike 'PO%' and address_id is not null limit 15;
 address_id | partner_id | origin 
------------+------------+--------
(0 行记录)

select address_id,partner_id,origin from stock_move where origin ilike 'PO%' and partner_id is not null limit 5;
 address_id | partner_id |          origin           
------------+------------+---------------------------
            |        809 | PO1202171086:SO1202161677
            |        809 | PO1202171086:SO1202161677
            |        315 | PO110715028:PR110714006
            |        809 | PO1202171086:SO1202161677
            |        315 | PO110803053:PR110802027
(5 行记录)


SO it is confused.

Can you check it?

Thanks

** Affects: openobject-addons
     Importance: Undecided
         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/1002666

Title:
  Partner field in Stock Move Analysis/Reception Analysis

Status in OpenERP Addons (modules):
  New

Bug description:
  in object report.stock.move:

          'partner_id':fields.many2one('res.partner.address', 'Partner',
  readonly=True),

  in sql view:

                          al.in_qty as product_qty_in,
                          al.address_id as partner_id,
                          al.product_id as product_id,

  But when confirmed the purchase order, the address_id field of sotck.move which generated from PO is always blank (NULL):
  select address_id,partner_id,origin from stock_move where origin ilike 'PO%' and address_id is not null limit 15;
   address_id | partner_id | origin 
  ------------+------------+--------
  (0 行记录)

  select address_id,partner_id,origin from stock_move where origin ilike 'PO%' and partner_id is not null limit 5;
   address_id | partner_id |          origin           
  ------------+------------+---------------------------
              |        809 | PO1202171086:SO1202161677
              |        809 | PO1202171086:SO1202161677
              |        315 | PO110715028:PR110714006
              |        809 | PO1202171086:SO1202161677
              |        315 | PO110803053:PR110802027
  (5 行记录)

  
  SO it is confused.

  Can you check it?

  Thanks

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


Follow ups

References