sale_margin error, cannot add products to sales order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
Hi
Lately I wanted to give every client its own price list
My company has Currency RON (romanian lei)
Some of the clients have currency EUR
So I have a pricelist - sale pricelist - in eur, with setting Public price of the product
Create a new sales order, added first product, after that saved the sale order.
I assigned the price list newly created this to a the client in the sales order client and go to add new product.
Now, no matter what pricelist I select, the error is this:
Environment Information :
System : Linux-2.
OS Name : posix
Distributor ID: LinuxMint
Description: Linux Mint 10 Julia
Release: 10
Codename: julia
Operating System Release : 2.6.38-
Operating System Version : #201102220910 SMP Tue Feb 22 10:23:10 UTC 2011
Operating System Architecture : 32bit
Operating System Locale : ro_RO.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 6.0.2
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/lib/
result = ExportService.
File "/usr/lib/
res = fn(db, uid, *params)
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
to_cur = self.pool.
AttributeError: 'NoneType' object has no attribute 'id'
Thanks
Related branches
- Mustufa Rangwala (Open ERP) (community): Approve
- Meera Trambadia (OpenERP) (community): Needs Resubmitting
- qdp (OpenERP): Pending requested
-
Diff: 15 lines (+3/-1)1 file modifiedsale_margin/sale_margin.py (+3/-1)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Hello,
I have faced the same problem at my end So I am confirming this issue.
This bug is simply reproducible.
1) Install the sale_margin module.
2) Remove the pricelist in to partner form and then create a SO.
For more information I have attached a video.
Thanks.