[FR] Delivery Address on Purchase Orders
Please verify that this feature request has NOT been suggested before.
- [x] I checked and didn't find a similar feature request
Problem statement
It would be great to allow a 'Delivery Address' field for purchase orders.
This field would allow you to then select any companies address and could then be used to generate a delivery address in the purchase order report.
As discussed here https://github.com/inventree/InvenTree/discussions/9219
Suggested solution
The existing address field in POs should be renamed to something like 'Suppliers Address' and the new field should be something like 'Delivery Address'.
Describe alternatives you've considered
I'm currently getting around this by adding a 'shipping address' to the suppliers addresses list. I then select this suppliers 'shipping address' in the purchase order 'address' field drop down.
Examples of other systems
No response
Do you want to develop this?
- [ ] I want to develop this.
Hi, You can add your own company to the supplier list and add addresses e.g. delivery, invoice, ... the rest can easily be handled using a plugin.
@SergeoLacruz I’ve already added our company as a supplier but I want the PO to be assigned to and listed under the actual supplier we’re purchasing from. If the PO is under our company, I would have to assign all their parts to us too.
Maybe I’m missing a finer detail in your comment?
Have a look at the build order plugin: https://github.com/SergeoLacruz/inventree-build-data It adds additional data to the build order using the meta data field. There you can add your company.
Oh nice, will this plugin also work for purchase orders?
If you read the the doc you see that this is for build orders. But you can write a similar plugin for purchase orders. If you need just the address, it is much simpler.
Hi @SchrodingersGat
I would like to work on this issue.
Just to clarify,
I wanna change a field in the Order abstract model and add a 'delivery_address' field to this abstract model for front-end implementation.
Is this OK?
Do I also need to change the 'address' field to 'suppliers_address'?