You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rahul Singh (JIRA)" <ji...@apache.org> on 2016/06/04 10:26:59 UTC

[jira] [Updated] (OFBIZ-7122) Showing Invoice address from PartyContactMech

     [ https://issues.apache.org/jira/browse/OFBIZ-7122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahul Singh updated OFBIZ-7122:
-------------------------------
    Attachment: InvoiceWorker.patch

Adding patch to address this issue.

> Showing Invoice address from PartyContactMech
> ---------------------------------------------
>
>                 Key: OFBIZ-7122
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7122
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting
>    Affects Versions: Upcoming Branch
>            Reporter: Arun Patidar
>            Assignee: Arun Patidar
>         Attachments: InvoiceWorker.patch
>
>
> In getInvoiceAddressByType() method of InvoiceWorker, it is fetching address from PartyContactWithPurpose in case of empty InvoiceContactMech.
> This method calls from two methods getBillToAddress() and getSendFromAddress() of same class.
> Here, my concerns are:
> - There is no way to check that returned address is invoice associated address or party address. It is misleading.
> - There is no control of user to get the address linked to invoice only.
> My proposals is:
> 1). System should return party address only if user really demand for it. We can override method and pass additional parameter for achieving this. Systems default behavior should same as current.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)