Hello,
I want to have the option to sort invoices based on two parameters: cost centers and cost units. I know this functionality is covered by analytic accounts, however i am only able to select either a cost center or a cost unit as the analytic account for that invoice line. I have previously added a new field to an existing model (account.move) and added the new custom fields to the view. However, i am not quite sure if i can do the same for analytic accounts without problems. Is it possible to "duplicate" the analytic account field and simply attach two analytic accounts to one invoice line? Or is the problem more complex, as analytic accounts are related to one invoice line, have ids etc.
Alternatively, i could add two new fields (selections), independently from the analytic account functionality, to the account.move view, but then i would not know how to build views to only select the invoice lines regardingly (building my own