Skip to Content
Menu
This question has been flagged
1 Reply
2412 Views

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 analytic.view_account_analytic_account_list view). I am not too experienced with relations and databases in general, maybe there is a simple solution which i do not see. Any help is appreciated.


Avatar
Discard
Best Answer

Additional dimensions in Analytic Accounting are implemented as Analytic Tags.

This approach scales to an unlimited number of dimensions and is supported in Financial Reports via a Tag filter.

Your first dimension should be the Account, which is not optional if you want Analytic Entries.

Your second (and subsequent) dimension(s) are optional.

Activate Tags in Settings.

Avatar
Discard
Author

Perfekt, never saw that option in settings, exactly what i need! Thank you Ray!!

Related Posts Replies Views Activity
0
Apr 24
232
0
Feb 23
2629
0
Jan 23
817
5
Nov 22
6908
2
Oct 21
2117