diff --git a/__init__.py b/__init__.py index d77cd7e..8e34bca 100644 --- a/__init__.py +++ b/__init__.py @@ -1,7 +1,6 @@ # The COPYRIGHT file at the top level of this repository contains the full # copyright notices and license terms. from trytond.pool import Pool - from .model import * diff --git a/account.xml b/account.xml index 2307b04..0da8ba1 100644 --- a/account.xml +++ b/account.xml @@ -1,260 +1,253 @@ - + + + + + + char + + o.analytic_accounts and ','.join([x.rec_name for x in o.analytic_accounts.accounts]) + Analytic Account + + + many2one + + o.analytic_accounts and o.analytic_accounts.accounts[0].id + Analytic Account + + + + char + + o.analytic_accounts and ','.join([x.name for x in o.analytic_accounts.accounts]) + Analytic Account Name + + + many2one + + o.id + Line + + + + int + + o.id + ID + + + char + + o.name + Name + + + char + + y(o.date) + Year + + + char + + m(o.date) + Month + + + char + + d(o.date) + Day + + + char + + w(o.date) + Week + + + char + + ym(o.date) + Year-Month + + + char + + ymd(o.date) + Date + + + many2one + + o.move_line.account.id + General Account + + + + char + + o.move_line.account.code + General Account Code + + + char + + o.move_line.account.name + General Account Name + + + many2one + + o.account.id + Analytic Account + + + + char + + o.account.name + Analytic Account Name + + + char + + o.move_line.move.rec_name + Move + + + float + + -o.credit + -Credit + + + float + + o.debit + Debit + + + float + + o.debit - o.credit + Debit - Credit + + + char + + o.create_uid and o.create_uid.rec_name + User + - - - - - - char - - o.analytic_accounts and ','.join([x.rec_name for x in o.analytic_accounts.accounts]) - Analytic Account - - - many2one - - o.analytic_accounts and o.analytic_accounts.accounts[0].id - Analytic Account - - - - char - - o.analytic_accounts and ','.join([x.name for x in o.analytic_accounts.accounts]) - Analytic Account Name - - - many2one - - o.id - Line - - - - int - - o.id - ID - - - char - - o.name - Name - - - char - - y(o.date) - Year - - - char - - m(o.date) - Month - - - char - - d(o.date) - Day - - - char - - w(o.date) - Week - - - char - - ym(o.date) - Year-Month - - - char - - ymd(o.date) - Date - - - many2one - - o.move_line.account.id - General Account - - - - char - - o.move_line.account.code - General Account Code - - - char - - o.move_line.account.name - General Account Name - - - many2one - - o.account.id - Analytic Account - - - - char - - o.account.name - Analytic Account Name - - - char - - o.move_line.move.rec_name - Move - - - float - - -o.credit - -Credit - - - float - - o.debit - Debit - - - float - - o.debit - o.credit - Debit - Credit - - - char - - o.create_uid and o.create_uid.rec_name - User - - - - - - - - - - Year - Analytic Account - - - - - - - - - - Year - 1 - - - - - Analytic Account - 2 - - - - - Subtotal - sum - - - - - - - - - - Amount - Year - - - - - - - - - - Account - 1 - - - - - Year - 2 - - - - - Debit - Credit - sum - 1 - - - - - - - User - Year - Account - - - - - - - - - - User - 1 - - - - - Account - 1 - - - - - Year - 2 - - - - - Debit - Credit - sum - 1 - - + + + + + + + Year - Analytic Account + + + + + + + + + + Year + 1 + + + + + Analytic Account + 2 + + + + + Subtotal + sum + + + + + + + Amount - Year + + + + + + + + + + Account + 1 + + + + + Year + 2 + + + + + Debit - Credit + sum + 1 + + + + + + User - Year - Account + + + + + + + + + + User + 1 + + + + + Account + 1 + + + + + Year + 2 + + + + + Debit - Credit + sum + 1 +