TestXHTML: install a localization business template

To reveal invalid html in erp5_web's language selector
Only take products into account in stock tab on deliveries

We don't show stocks of services
Do not display stock tab on open sale orders.

Because they are not delivery and the implementation would have to be different
erp5_web: generate valid html

<u> tag does not exist in the standard used by erp5_web; use something which
should be equivalent
Business template format change

due to fc05b33b1281193b48d06c6ffd0858359734ec4e
Fix wrong SQL join in BudgetCell_getEngagedBudget
do not modify argument variables in Base_createMailMessageAsString.
do not store aggregated documents in Email document to avoid duplicate data.
add 'policy' property in message catalog.

so that we can disable adding new entries or we log the backtrace that
causes a new entry.
Do not allow changing the section of accounting line

By changing the section one can enter accounting transaction lines on a
different section bypassing the security because usually only the section at
the transaction level is taken into account for roles assignements.
Add support for project in other parties reports

Entity_stat scripts are also modified in a way similar to
http://git.erp5.org/gitweb/erp5.git?a=commit;h=ce47e4d80b9d30943794d7023da9858cbbd1046b
to properly use project parameter in stat columns

Signed-off-by: Aurélien Calonne <aurel@nexedi.com>
enable update button on accounting reports dialogs

Signed-off-by: Aurélien Calonne <aurel@nexedi.com>
use better message on resource constraint

Signed-off-by: Aurélien Calonne <aurel@nexedi.com>
Translate account names
In account statement begin balance, we must get third party from the line, not transaction

Signed-off-by: Aurélien Calonne <aurel@nexedi.com>
Fix Base_createCloneDocument for categories + optimizations
fix manual edition of xml
Define a scriptable key for translated_title
Display translated title of accounts in the module
column of account module is now translated_title