Skip to content

[IMP] sm_partago_invoicing_rest_api: Add _find_or_create_partner method

[IMP] sm_partago_invoicing_rest_api: Add _find_or_create_partner method to handle partner retrieval or creation based on customer data.

This commit refactors the code responsible for finding or creating a partner when generating an invoice. The function _find_or_create_partner() should now handle all possible cases and is easier to read

Merge request reports

Loading