[trunk] AttributeError: 'pos_order' object has no attribute 'button_dummy'

Bug #1088833 reported by Cats&Dogs
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3

Bug Description

Hello,

Test done on trunk:

(Build 1862)
server (4671)
addons (8274)
web (3587)

- Goto Point of Sales
- Orders
- Create new order
- Add products
- click on 'update' link to calcultate totals

Error popup appears:

Server Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-1862/server/openerp/addons/web/session.py", line 87, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-1862/server/openerp/netsvc.py", line 281, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-1862/server/openerp/service/web_services.py", line 603, in dispatch
    res = fn(db, uid, *params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-1862/server/openerp/osv/osv.py", line 169, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/odoo/runbot/static/openerp-dev-trunk-1862/server/openerp/osv/osv.py", line 123, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-1862/server/openerp/osv/osv.py", line 179, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-1862/server/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-1862/server/openerp/osv/osv.py", line 166, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
AttributeError: 'pos_order' object has no attribute 'button_dummy'

The update of totals is however successful !

In a POS situation it is confusing and annoying...

Related branches

Revision history for this message
Cats&Dogs (catsanddogs) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Nimesh Contractor(Open ERP) (nco-openerp) wrote :

Hello,

          It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1088833-nco branch.
          Revno: 8277
          Revision ID: <email address hidden>

          It will be available in trunk soon.

Thanks,
 NCO.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Cats&Dogs (catsanddogs) wrote :

This change fixes my problem, how soon will it be in the trunk/7.0 ?

Revision history for this message
Nimesh Contractor(Open ERP) (nco-openerp) wrote :

Hello,

 It has been fixed for 7.0 in https://code.launchpad.net/~openerp-dev/openobject-addons/7.0-bug-1088833-nco branch.

Thanks,
 NCO.

no longer affects: ocb-addons/7.0
no longer affects: ocb-addons
Revision history for this message
Cats&Dogs (catsanddogs) wrote :

What does "no longer affects: ocb-addons/7.0" mean?
When I do a fresh install this is still not merged?
What am I missing here...

Revision history for this message
Mario Arias (the-clone-master) wrote :

Hi Stefan,

I just checked in current ocb branches and problem is still there...
point_of_sale.py is missing button_dummy definition, and point_of_sale_view.xml is still referencing it...

Regards,
-Mario

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.