[6.1]Partner field in Stock Move Analysis/Reception Analysis

Bug #1002666 reported by hifly
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Undecided
OpenERP Publisher's Warranty Team

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

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

Yes, you are right it's confusing, but this is already improved on trunk version. So this issue is only affect for 6.1 stable version.

As per the policy of stable version, we can consider only blocking point as well as regression. We can not consider this type of issue on stable version. As per my "Opinion" we can not fix this issue on stable version because here we have to change the field name 'partner_id' to 'address_id.

Btw this thing is already improved on trunk, So it will be available in next stable version.

Thanks for the reporting!

Changed in openobject-addons:
status: New → Won't Fix
summary: - Partner field in Stock Move Analysis/Reception Analysis
+ [6.1]Partner field in Stock Move Analysis/Reception Analysis
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
status: Won't Fix → New
Changed in openobject-addons:
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Kirti Savalia(OpenERP) (ksa-openerp) wrote :

Hello,

This issue has been fixed in http://bazaar.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575055-ksa
revision-id: <email address hidden>
revno: 6807

It will be soon merged in the stable branch.

Thanks

Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.