table entity_class contained field country_id, the idea was that we could have country-specific entity classes, nobody uses this , it can be removed from 1.4.

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6290 4979c152-3d1c-0410-bac9-87ea11338e46
audittrail person_id should reference person(id)

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6293 4979c152-3d1c-0410-bac9-87ea11338e46
function  person__get_my_entity_id() also defined in Person.sql

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6294 4979c152-3d1c-0410-bac9-87ea11338e46
disable trigger on acc_trans for load,check 1.3 audittrail for person_id

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6295 4979c152-3d1c-0410-bac9-87ea11338e46
Correcting schema changes due to new remark field and new crdate fields.

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6308 4979c152-3d1c-0410-bac9-87ea11338e46
Making account deletion easier

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6309 4979c152-3d1c-0410-bac9-87ea11338e46
Fixed person not working as customer/vendor.  Also fixed country id clearing when generating new control code on person tab

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6311 4979c152-3d1c-0410-bac9-87ea11338e46
Fixed person not working as customer/vendor.  Also fixed country id clearing when generating new control code on person tab

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6312 4979c152-3d1c-0410-bac9-87ea11338e46
Initial changes so that templates will print descriptions

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6313 4979c152-3d1c-0410-bac9-87ea11338e46
Undoing Herman's audit trail changes, which would have enforced a primary key against person(id), not against entity(id).  Currently the trigger requires a database user account, as well as an entry in the users table.    This should be quite safe (if even overly restricted) regarding preventing unauthorized access.

Additionally the trigger had a bug in it, so this has been corrected.

I am going to propose instead that we rename the person_id field in 1.5 to entity_id.  This would allow addons for managing automated processes as entities as well (perhaps through a different join table).

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6314 4979c152-3d1c-0410-bac9-87ea11338e46
Fixing two errors relating to the crdate patches

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6315 4979c152-3d1c-0410-bac9-87ea11338e46
die while giving understandable reason

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6316 4979c152-3d1c-0410-bac9-87ea11338e46
more info on die

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6317 4979c152-3d1c-0410-bac9-87ea11338e46
view as documentation for the moment

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6318 4979c152-3d1c-0410-bac9-87ea11338e46
is or ir , inv_id 

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6319 4979c152-3d1c-0410-bac9-87ea11338e46
typing error

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6320 4979c152-3d1c-0410-bac9-87ea11338e46
eca__set_taxes expects in_id

git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@6321 4979c152-3d1c-0410-bac9-87ea11338e46