Apportion and invoice import costs simultaneously before stock has been booked in creates an incorrect journal - 7.00.175

Problem

Where import costs are apportioned and invoiced at the same time BEFORE any stock has been booked in, an incorrect journal is posted.

Solution

Download and import the attached plugin which disables the ability to apportion a cost and invoice in one step - user must apportion, save, then invoice.