Better handling of companies

Fix issue where the location_id was not taken into account on the PO
Now merge with existing draft PO if exists
This commit is contained in:
Alexis de Lattre
2015-05-28 23:15:11 +02:00
parent 681be2ec9e
commit 979c33a457
3 changed files with 105 additions and 38 deletions

View File

@@ -96,6 +96,9 @@
<form string="Create Purchase Orders">
<p class="oe_grey">
Click on the red button below to create the purchase orders.
If a draft purchase order already exists for one of the suppliers
for the same stock location, it will be updated with the new
products and quantities to order.
</p>
<footer>
<button type="object" name="create_po"