Purchase order lines can be linked to view analytical accounts

Bug #1149267 reported by Numérigraphe
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fix Committed
OpenERP R&D Addons Team 3

Bug Description

The purchase module lets user attach each purchase order line to an arbitrary analytic account, as long as it's not a top-level account ( domain="[('parent_id','!=',False)]").
When this analytic account is a view, accounting entries will be generated inside this view, which is not how view accounts are supposed to be used.
So the purchase order lines should only allow "normal" analytic accounts.
Lionel Sausin.

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Ferdinand (office-chricar) wrote :


Amit Parik (amit-parik)
tags: added: account analytic
tags: added: costing
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Chirag Dodiya(OpenERP) (chirag.dodiya-openerp) wrote :


It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1149267-cod.

revision-id: <email address hidden>

revno: 8955.

It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers