Property fields not completely deleted

Bug #858903 reported by Eric Caudal - www.elico-corp.com
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Invalid
Low
OpenERP's Framework R&D

Bug Description

When deleting the accounting properties of a product (eg income account) in the product itself, the corresponding entry in ir.property is not deleted properly: the entry remains with value_reference empty which is not very logical.
Indeed, in this case, the search by category doesnot work and the one in the product (empty) is selected, which makes very few sense as this is the one necessary for the invoice, which remains empty in this case.

Related branches

Amit Parik (amit-parik)
affects: openobject-addons → openobject-client
affects: openobject-client → openobject-addons
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Eric,

I have checked your bug report but I didn't get your point exactly what you want to specified or where you have faced the problem.

So would you please elaborate more on this or provide the precious example on this.

Thanks and waiting for your reply!

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Eric Caudal - www.elico-corp.com (elicoidal) wrote : Re: [Bug 858903] Re: Property fields not completely deleted

Please find enclosed the screenshoot concerning the product definition
(first with account then I deleted the account in the product definition).
the record 115993 should be completely deleted and not set to null
(which could potentially make OE crash as it doesnot find an account)
Best regards

openerp

*Eric CAUDAL*, CEO
<email address hidden> <mailto:<email address hidden>>
Cell: + 86 186 2136 1670
*Elico Corp - OpenERP Ready Partner, Shanghai.*
http://www.openerp.net.cn

On 18/10/2011 12:36, Amit Parik (OpenERP) wrote:
> Hello Eric,
>
> I have checked your bug report but I didn't get your point exactly what
> you want to specified or where you have faced the problem.
>
> So would you please elaborate more on this or provide the precious
> example on this.
>
> Thanks and waiting for your reply!
>
> ** Changed in: openobject-addons
> Status: New => Incomplete
>

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

Hello Eric,

Thanks for your reply and screen-shots!

affects: openobject-addons → openobject-server
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: Incomplete → Confirmed
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Eric,

Thanks for reporting the issue!

The issue has been fixed at lp:~openerp-dev/openobject-server/trunk-bug-858903-nch with revision-info:3780 <email address hidden> and will be merged soon to the trunk server.

Regards,

Changed in openobject-server:
status: Confirmed → In Progress
status: In Progress → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
Vo Minh Thu (thu) wrote :

It seems to me that when you set a field to some value, you expect to see that value in the field. And as it happens, the field we talk about is a property field. So you set the property field (which has to exist); you are not deleting it.

As for the potential problem you mention (the referenced record doesn't exist), there is code in the framework to deal with this case. Please add more information and re-open the bug report if needed.

Changed in openobject-server:
status: Fix Committed → Incomplete
status: Incomplete → Invalid
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.