Wonach suchst Du?
What are you looking for?

IT gh#1056

#1056 Purchase Order from Sales Order process, wrong InvoiceBPartner

Testcase to check invoice BPartner in purchase order

  1. Setup:
  2. go to BP Relation window and create a new one for G000X no address and G000Y as proxy, with the address that is used for invoice. Set isBillTo on Y

  3. go to purchase order and create a new one, set bpartner G000X
  4. go to purchase order and create a new one, set bpartner G000Y
  5. go to sales order and create a new one, bpartner G000Z
  6. add product P0001 and complete

  7. gear, select Purchase Order from Sales Order process, start
  8. create a new sales order, bpartner G000X, product P0001
  9. Make Purchase order from sales order
  10. create a new sales order, bpartner G000Y, product P0001
  11. Make Purchase order from sales order
  12. Go to bpartner G000X and add an invoice address

  13. create a sales order with G000X, product P0001
  14. make Purchase order from Sales order

View source file on GitHub.com