[trunk] Issue on right bar wizard on purchase
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Fix Released
|
Medium
|
OpenERP R&D Web Team |
Bug Description
Revno 4341
Create a new DB with demo data, with check only 'Purchase Management'. After the creation, go to Purchase -> Request for Quotation.
Open PO00001 and duplicate it.
Save the new RfQ.
Return to the list
Select all with the checkbox on the title of the table
Click on Merge Purchase Order at the right bar
Click on 'Merge...' button and an error occurs (Traceback below).
I investigate on this issue, and I see that the return active_id and active_ids values aren't correct. In fact, the web client return in active_ids and active_id, the id of the ir.ui.menu instead of the ids of the selectionned objects.
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
allorders = order_obj.
File "/home/
for porder in [order for order in self.browse(cr, uid, ids, context=context) if order.state == 'draft']:
File "/home/
raise AttributeError(e)
AttributeError: 'Field state not found in browse_
summary: |
- [trunk] Big issue on right bar wizard + [trunk] Issue on right bar wizard on purchase |
Changed in openobject-client-web: | |
assignee: | nobody → OpenERP SA's Web Client R&D (openerp-dev-web) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-client-web: | |
status: | Confirmed → In Progress |
I test this issue on res.partner and product.product object and it's ok. Obviously, it's only on purchase.order