[trunk/7.0] stock.picking creation form 'warehouse_id' is writeable even if no purchase.order linked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
When creating (or modifying) an incoming shipment, we can input a value for the field 'Destination Warehouse' (warehouse_id). It's a fields.related to the warehouse_id field of the purchase.order. When the user does that on a stock.picking not linked to a purchase.order and saves the stock.picking, the value of origin is lost without warning.
Steps to reproduce:
* connect on Runbot
* Go to Warehouse -> Incoming Shipments
* Click the create button
* fill the 'Destination Warehouse' field
* Save
Observed behavior: the Destination Warehouse field is empty.
Expected behavior: the Destination Warehouse field in the form should be hidden or non writeable if the Purchase Order (purchase.order) field is not set.
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- [7.0] stock.picking creation form 'warehouse_id' is writeable even if - no purchase.order linked + [trunk/7.0] stock.picking creation form 'warehouse_id' is writeable even + if no purchase.order linked |
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
Changed in openobject-addons: | |
status: | Fix Committed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |
Same behavior observed on stock.move here: https:/ /bugs.launchpad .net/openobject -addons/ +bug/1203676