Hi All,
I have created some custom fields to identify the customer for contacts and for every customer & child of that customer, I created some tags in contact tags(i.e, Billing, Financial, Handover, Onsite, Primary).
Now the posted Invoices I want to send to those who have been tagged as "Billing". so, I override the action_send_and_print method points.
for single inovice send the method is _get_sending_settings
And for bulk invoice send the method is _get_default_sending_settings
these are working fine and send mail to contacts those who have tagged as "Billing".
But It also send an email to the customer who does not have "Billing" tag but it is in invoice customer field.
I unable to find how can I restrict it.
could you please help me on this?