[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SF.net SVN: ledger-smb:[3290] trunk



I'm not really used to the system where you extract relevant changes
into the updates/ directory. Can someone walk me through how that
would work out fro this commit?

Thanks in advance!

Bye,

Erik.

On Sun, Jun 19, 2011 at 8:42 PM,  <..hidden..> wrote:
> Revision: 3290
>          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3290&view=rev
> Author:   ehuelsmann
> Date:     2011-06-19 18:42:17 +0000 (Sun, 19 Jun 2011)
>
> Log Message:
> -----------
> First step at resolving 3321964: Add a 'tax' boolean to the 'account' table,
> which serves to tell the application the account is tax related.
>
>
>  * sql/Pg-database.sql
>   (account [TABLE]): Add 'tax' bool-typed field.
>   (chart [VIEW]): Add 'tax' field.
>
>  * sql/modules/Account.sql
>   (account_save [FUNCTION]): Add a 'in_tax' parameter,
>     to be stored in the 'account.tax' field.
>   (chart_i [RULE]): Give 'tax' field same treatment as 'contra'.
>
>  * UI/accounts/edit.html: Add checkbox for 'tax' field, copied from 'contra'.
>
>  * LedgerSMB/DBObject/Account.pm
>   (save): Set the value for the 'tax' field to 0 (false) if
>     the form doesn't specify a value  -- same as 'contra'.
>
>  * scripts/account.pl
>   (_display_account_screen): Set the value of the Tax checkbox, like 'contra'.
>
>  * sql/coa/*/chart/*.sql:
>   Change account_save() invocations to include the 'tax' parameter (always
>    false).  At the end, insert a query to set the 'tax' field to true
>    for those accounts which have tax related links.
>
> Modified Paths:
> --------------
>    trunk/LedgerSMB/DBObject/Account.pm
>    trunk/UI/accounts/edit.html
>    trunk/scripts/account.pl
>    trunk/sql/Pg-database.sql
>    trunk/sql/coa/at/chart/General.sql
>    trunk/sql/coa/au/chart/General-0000.sql
>    trunk/sql/coa/au/chart/General-00000.sql
>    trunk/sql/coa/be/chart/General.sql
>    trunk/sql/coa/br/chart/General.sql
>    trunk/sql/coa/ca/chart/English_General.sql
>    trunk/sql/coa/ca/chart/French-Quebec_General.sql
>    trunk/sql/coa/ch/chart/German.sql
>    trunk/sql/coa/cn/chart/General.sql
>    trunk/sql/coa/co/chart/PUC.sql
>    trunk/sql/coa/cz/chart/General.sql
>    trunk/sql/coa/de/chart/DATEV-SKR03.sql
>    trunk/sql/coa/de/chart/General.sql
>    trunk/sql/coa/de/chart/SKR03.sql
>    trunk/sql/coa/dk/chart/General.sql
>    trunk/sql/coa/eg/chart/General.sql
>    trunk/sql/coa/es/chart/General.sql
>    trunk/sql/coa/es/chart/ISO.sql
>    trunk/sql/coa/fr/chart/General.sql
>    trunk/sql/coa/hu/chart/Complete.sql
>    trunk/sql/coa/hu/chart/Minimal.sql
>    trunk/sql/coa/hu/chart/Old-general.sql
>    trunk/sql/coa/id/chart/General.sql
>    trunk/sql/coa/it/chart/General.sql
>    trunk/sql/coa/it/chart/cc2424.sql
>    trunk/sql/coa/lv/chart/General.sql
>    trunk/sql/coa/nl/chart/General.sql
>    trunk/sql/coa/nl/chart/Simple.sql
>    trunk/sql/coa/no/chart/General.sql
>    trunk/sql/coa/pl/chart/General.sql
>    trunk/sql/coa/py/chart/General.sql
>    trunk/sql/coa/se/chart/Agriculture.sql
>    trunk/sql/coa/se/chart/Church_Society.sql
>    trunk/sql/coa/se/chart/General.sql
>    trunk/sql/coa/tw/chart/General.sql
>    trunk/sql/coa/uk/chart/General.sql
>    trunk/sql/coa/us/chart/General.sql
>    trunk/sql/coa/us/chart/Manufacturing.sql
>    trunk/sql/coa/us/chart/Service.sql
>    trunk/sql/coa/us/chart/UCOA-Form990.sql
>    trunk/sql/coa/us/chart/UCOA-Form990EZ.sql
>    trunk/sql/coa/ve/chart/General.sql
>    trunk/sql/modules/Account.sql
>