Sequence in product.packaging is not used for sort [5.0]
Bug #596940 reported by
Niels Huylebroeck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
Niels Huylebroeck |
Bug Description
The model does not define an _order = "sequence"
So when in the code in product_id_change (in sale.order.line) is executed the the result of the call to:
if not packaging and product_
... will yield the packaging to be the first inserted record instead of taking lowest sequenced packaging.
Related branches
lp:~red15/openobject-addons/fix_product_packaging_sequence
- Olivier Dony (Odoo): Approve
-
Diff: 11 lines (+1/-0)1 file modifiedproduct/product.py (+1/-0)
Changed in openobject-addons: | |
assignee: | nobody → Niels Huylebroeck (niels-bubbles-it) |
Changed in openobject-addons: | |
status: | New → Fix Committed |
To post a comment you must log in.
Niels?.
Don't you think "fix-commited" will be when your branch has been merged? I
think the state should be "in progress"
THX
2010/6/21 Niels Huylebroeck <email address hidden>
> ** Changed in: openobject-addons /bugs.launchpad .net/bugs/ 596940 obj.packaging: obj.packaging[ 0].id 'product_ packaging' ] = packaging
> Status: New => Fix Committed
>
> --
> Sequence in product.packaging is not used for sort [5.0]
> https:/
> You received this bug notification because you are a member of OpenERP
> Drivers, which is subscribed to OpenObject Addons.
>
> Status in OpenObject Addons Modules: Fix Committed
>
> Bug description:
> The model does not define an _order = "sequence"
>
> So when in the code in product_id_change (in sale.order.line) is executed
> the the result of the call to:
>
> if not packaging and product_
> packaging = product_
> result[
>
> ... will yield the packaging to be the first inserted record instead of
> taking lowest sequenced packaging.
>
>
>
--
Saludos Cordiales
Nhomar G. Hernandez M. geronimo. com.ve openerp. netquatro. com
+58-414-4110269
+58-212-6615932
+58-212-9536734 ext 124
+58-212-9512643
Skype: nhomar00
Web-Blog: http://
Servicios IT: http://
Linux-Counter: 467724
Correos:
<email address hidden>
<email address hidden>