← Back to team overview

openerp-community team mailing list archive

Re: [Merge] lp:~openerp-dev/openobject-addons/trunk-bug-1092211-sejal into lp:openobject-addons

 

Hello Niels Huylebroeck,

I think yes you are right. not only checking backorder id but also with invoice state of backorder id.
something like : 

        if partial.picking_id.backorder_id and partial.picking_id.backorder_id.invoice_state == '2binvoiced':
            partial_picking_id=partial.picking_id.backorder_id.id
        else:
          partial_picking_id=partial.picking_id.id
Thanks



-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1092211-sejal/+merge/151180
Your team OpenERP Community is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-1092211-sejal.


References