Packaging on sales order lines reported as "False"

Bug #386351 reported by Numérigraphe
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Jay Vora (Serpent Consulting Services)
Nominated for 5.0 by Numérigraphe
Nominated for Trunk by Numérigraphe

Bug Description

Code from the latest v50 branches.
- on the product form, add packaging data to a product, quantity=10
- on the sales order form, enter a new sales order line for that product, quantity=10
=> the field "packaging" in the order line window contains "False" instead of the chosen packaging.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Numérigraphe,

There is no such problem, 'False' value is displayed on packaging just due to you have not entered any value for EAN.

The Name of the package is considered from EAN.

Thank You.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Then I guess the EAN should be mandatory, or the name should revert to some other field if the EAN is empty, or maybe default to "Unnamed packaging".
Anyway it's just wrong for a name to be "False".

Changed in openobject-addons:
status: Invalid → New
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed in revision 2311(trunk).

Thanks.

Changed in openobject-addons:
assignee: nobody → Jay (Open ERP) (jvo-openerp)
status: New → Fix Released
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Thank you.

summary: - [5.0] Packaging on sales order lines reported as "False"
+ Packaging on sales order lines reported as "False"
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Seems not to be completely fixed, as reported by Ana Juaristi Olalde in bug 404012 :

"This is a minor bug, not critical at all...

Sales order line, when you select a packaging for the product, the name shown on form is "False". Packaging is well assigned to line, but it's not shown correctly on form."

Changed in openobject-addons:
status: Fix Released → New
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Lionel,

Kindly read the comment no. 3. It has been fixed in trunk version, as it cannot be considered as a bug/flow-stopping issue.

Thank you.

Changed in openobject-addons:
status: New → Fix Released
Revision history for this message
Numérigraphe (numerigraphe) wrote :

>It has been fixed in trunk version, as it cannot be considered as a bug/flow-stopping issue.
Ok sorry didn't notice. I'll get the diff and patch my local branches

> Fixed in revision 2311(trunk).
Unfortunately there is no such revision on the trunk addons, the latest is 2310 this morning

Revision history for this message
Numérigraphe (numerigraphe) wrote :

I think here's the patch applied by Jay to the trunk on revision <email address hidden>.
Anna can you give it a try please?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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