I have added field quantity_received in detail/line Purchase Order and I need to write it when transfer stock. But I confused how to get id PO from form Incoming Shipment or stock.transfer_details without use parameter PO name ? anyone know how to get it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hi Miftah,
In the incoming shipment there is a field named "purchase_id", with the string Purchase Order
you can get the id of the purchase order there
You can find that field in incoming shipment.Its a many2one field with the String "Purchase Order" After the "Supplier" field.
Create a PO and confirm it.Note the PO order name like "PO10010004",Then come to incoming Shipment.Search the record with that PO name.You can see the field.
You may find this information with the field "origin".