Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3110 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 24
1251
0
feb 23
3766
0
ene 23
1488
5
nov 22
7999
2
oct 21
3064