Sunday 15 January 2012

python - Relate stock location to product model - OpenERP report -



python - Relate stock location to product model - OpenERP report -

i made new study on openerp, stock module, uses product.product model, default 1 stock level forecast.

now, problem have, need study shown on "location structure->physical locations->warehouse->analyze current inventory"

it showing there, no errors, everything's fine, problem is, because study tied product.product need show product fields (already declared on report) , location_id of warehouse i'm querying.

obviously if loop on current location on report, throws error, because stock object, , not product.

so, question is, how can bring product fields stock, study product fields , stock location @ same time?

i guess should create related field, or one2many there, i'm confused @ point.

any ideas?

i hope explained myself, if need code please allow me know i'll edit question then.

thanks in advance!

you have create parser report. , parser returns list of products.

python openerp openerp-7 odoo

No comments:

Post a Comment