Backport r6322: Prevent outgoing mail from being classified as SPAM
  due to wrong envelope sender; rather overrule envelope sender with
  From field value.


git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6323 4979c152-3d1c-0410-bac9-87ea11338e46
Make prepare-company-database.pl work (better) with PostgreSQL 9.1
(and a bit more user-friendly by checking available extensions
 instead of failing silently).


git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6337 4979c152-3d1c-0410-bac9-87ea11338e46
In 1.3, reduce the number of warnings/errors in the logs
by checking the query has any chance of succeeding at all.

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6347 4979c152-3d1c-0410-bac9-87ea11338e46
Removing check for LedgerSMB base object.  This was previously required before we moved a lot of stuff to App_State but with the current set-up it does more harm than good, and it keeps a lot of backported addons from working out of the box.

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6353 4979c152-3d1c-0410-bac9-87ea11338e46
Undoing accidental commit of addon

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6354 4979c152-3d1c-0410-bac9-87ea11338e46
Removing check for LedgerSMB base object.  This was previously required before we moved a lot of stuff to App_State but with the current set-up it does more harm than good, and it keeps a lot of backported addons from working out of the box.

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6355 4979c152-3d1c-0410-bac9-87ea11338e46
Fixing 864, manually entered tax amount ignored printing invoice, merged from trunk

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6408 4979c152-3d1c-0410-bac9-87ea11338e46
Correcting draft deletion of journal entries.

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6412 4979c152-3d1c-0410-bac9-87ea11338e46
Merging 'To pay' vs 'Received' fix from trunk

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6415 4979c152-3d1c-0410-bac9-87ea11338e46
Moving this definition behind its referenced function, otherwise this function only will be created when running setup.pl second time: CREATE OR REPLACE FUNCTION eoy__reopen_books_at(in_reopen_date date)

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6418 4979c152-3d1c-0410-bac9-87ea11338e46
Add a sample Nginx+fcgiwrap configuration to the contrib directory. It is handy for those, who would like to run ledgersmb on nginx webserver. Anyway, just google for nginx + fcgiwrap + perl for more up to date documents.

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6419 4979c152-3d1c-0410-bac9-87ea11338e46
Fixing Company->get_metadata() and Setting->get() so that they work better with addons

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6422 4979c152-3d1c-0410-bac9-87ea11338e46
Removing debugging lines in Setting->get()


git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6425 4979c152-3d1c-0410-bac9-87ea11338e46
Correcting errors when some addons are installed, that setup.pl errors after adding user.

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6426 4979c152-3d1c-0410-bac9-87ea11338e46
Version number changes for 1.3.36

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6427 4979c152-3d1c-0410-bac9-87ea11338e46
Fix for bug #903 - Cannot delete warehouse. New role and permission added for delete, so, if a user has no rights to delete, he/she will not able to delete an existing warehouse. Please note: I did not find trigger for deleting warehouse - which enable or disable the delete based on items in that warehouse - , so, I cannot predict at this moment, what happens if there are items in the specified warehouse. Delete is useful when one build up a warehouse system but accidentaly setup more than enough or want to wipe out never-used-warehouses. In other words, it could be handy on system setup.

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6428 4979c152-3d1c-0410-bac9-87ea11338e46
Corrects copy to new behavior, but update still broken.
Fixes deleting ar vouchers in batch delete

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6451 4979c152-3d1c-0410-bac9-87ea11338e46
Undoing accidental commit of upgrade script.


git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6452 4979c152-3d1c-0410-bac9-87ea11338e46
Full fix for 923, still to document implications

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6454 4979c152-3d1c-0410-bac9-87ea11338e46
Updating release notes for fix for 923

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.3@6457 4979c152-3d1c-0410-bac9-87ea11338e46