Merge lp:~acsone-openerp/stock-logistic-warehouse/7.0-inventory-hierarchical-location-exception-fil-inventory-lga into lp:~numerigraphe-team/stock-logistic-warehouse/7.0-inventory-hierarchical
Status: | Merged |
---|---|
Merged at revision: | 42 |
Proposed branch: | lp:~acsone-openerp/stock-logistic-warehouse/7.0-inventory-hierarchical-location-exception-fil-inventory-lga |
Merge into: | lp:~numerigraphe-team/stock-logistic-warehouse/7.0-inventory-hierarchical |
Diff against target: |
21 lines (+2/-2) 1 file modified
stock_inventory_hierarchical_location/wizard/stock_fill_location_inventory.py (+2/-2) |
To merge this branch: | bzr merge lp:~acsone-openerp/stock-logistic-warehouse/7.0-inventory-hierarchical-location-exception-fil-inventory-lga |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Numérigraphe | Pending | ||
Review via email: mp+224470@code.launchpad.net |
Description of the change
Following the discover of Loïc Bellier / Numérigraphe :
Server Traceback (most recent call last):
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
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/
if e.value == _('No product in this location. Please select a location in the product form.'):
AttributeError: 'exceptions.
I correct the problem by changing the type of exception.