diff --git a/ChangeLog b/ChangeLog index 8bf7668ec2c..6598ca3d17d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -88,6 +88,7 @@ For developers: - New: A module can add its own ECM view. - New: A module can disable a standard ECM view. - New: Add multilang support into product webservice. +- New: Add hooks on project card page. WARNING: Following change may create regression for some external modules, but was necessary to make Dolibarr better: @@ -116,12 +117,14 @@ Fix: Pb of records not correctly cleaned when module marge is Fix: [ bug #1341 ] Lastname not added by file or direct input in mass e-mailing. Fix: [ bug #1357 ] Invoice creator state not printed in generated invoice documents. Fix: Suppliers invoice mask fails using {tttt} in numbering. -Fix: pdf template name for typhon was not correctly et when enabling module. +Fix: [ bug #1350 ] pdf template name for typhon was not correctly set when enabling module. Fix: Navigation on notes for shipments was not working. Fix: [ bug #1353 ] Email notifications, wrong URL. Fix: [ bug #1362 ] Note is not saved. Fix: tr/td balance. Fix: [ bug #1360 ] note indicator for member tab. +Fix: Nb of notes and doc not visible onto tasks. +Fix: [ bug #1372 ] Margin calculation does not work in proposals ***** ChangeLog for 3.5.2 compared to 3.5.1 ***** Fix: Can't add user for a task. diff --git a/build/debian/README.howto b/build/debian/README.howto index 15eebac6f3c..78f93cd46cc 100644 --- a/build/debian/README.howto +++ b/build/debian/README.howto @@ -105,8 +105,8 @@ http://bugs.debian.org/package ##### Testing a package into unstable env Check you have a mysql server available from another interface than localhost -Uncomment line if required and restart mysql -bind-address = 127.0.0.1 +Comment line in /etc/mysql/my.cnf if required and restart mysql +#bind-address = 127.0.0.1 Create a chroot called "unstable-amd64-sbuild" > sudo sbuild-createchroot --keyring= unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian @@ -120,14 +120,16 @@ Puis pour se connecter et préparer l'environnement > apt-get install links mysql-client Pour tester un package +> On host server, stop any server on port 80 and 3306 (same port will be used by chroot env) > cp ../build-area/* /srv/chroot/unstable/tmp > sudo schroot -c name_of_chroot > cd /tmp > lintian --pedantic -E -I dolibarr*.deb > lintian --pedantic -E -I dolibarr*.dsc -> dpkg -i dolibarr*.deb +> dpkg -i dolibarr*.deb ou pour avoir des traces: dpkg -D77777 -i dolibarr*.deb > apt-get install -f +Puis http://localhost/dolibarr/ (cela peut etre appeler depuis le hote). @@ -227,9 +229,13 @@ from origin/upstream and origin/pristine. * If new upstream is available onto sourceforge, launch: > debian/get-orig-source.sh +* Edit tgz file to remove ckeditor and phpexcel and renama file into dolibarr-x.y.z+dsfgw.tgz + * Staying into git root directory, run -> git-import-orig -vv ../dolibarr-3.3.4.tgz -and enter version when requested. +> git-import-orig -vv ../dolibarr-x.y.z+dsfgw.tgz +and enter version when requested with format +x.y.z+dsfgw +(x.y.z = version, w start from 1 and is increased for each new import) Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit diff --git a/dev/skeletons/modMyModule.class.php b/dev/skeletons/modMyModule.class.php index b5001f9a4ac..bdeb61a7821 100644 --- a/dev/skeletons/modMyModule.class.php +++ b/dev/skeletons/modMyModule.class.php @@ -117,24 +117,25 @@ class modMyModule extends DolibarrModules // 'objecttype:+tabname2:Title2:mylangfile@mymodule:$user->rights->othermodule->read:/mymodule/mynewtab2.php?id=__ID__', // To add another new tab identified by code tabname2 // 'objecttype:-tabname:NU:conditiontoremove'); // To remove an existing tab identified by code tabname // where objecttype can be - // 'thirdparty' to add a tab in third party view - // 'intervention' to add a tab in intervention view - // 'order_supplier' to add a tab in supplier order view - // 'invoice_supplier' to add a tab in supplier invoice view - // 'invoice' to add a tab in customer invoice view - // 'order' to add a tab in customer order view - // 'product' to add a tab in product view - // 'stock' to add a tab in stock view - // 'propal' to add a tab in propal view - // 'member' to add a tab in fundation member view - // 'contract' to add a tab in contract view - // 'user' to add a tab in user view - // 'group' to add a tab in group view + // 'categories_x' to add a tab in category view (replace 'x' by type of category (0=product, 1=supplier, 2=customer, 3=member) // 'contact' to add a tab in contact view + // 'contract' to add a tab in contract view + // 'group' to add a tab in group view + // 'intervention' to add a tab in intervention view + // 'invoice' to add a tab in customer invoice view + // 'invoice_supplier' to add a tab in supplier invoice view + // 'member' to add a tab in fundation member view + // 'opensurveypoll' to add a tab in opensurvey poll view + // 'order' to add a tab in customer order view + // 'order_supplier' to add a tab in supplier order view // 'payment' to add a tab in payment view // 'payment_supplier' to add a tab in supplier payment view - // 'categories_x' to add a tab in category view (replace 'x' by type of category (0=product, 1=supplier, 2=customer, 3=member) - // 'opensurveypoll' to add a tab in opensurvey poll view + // 'product' to add a tab in product view + // 'propal' to add a tab in propal view + // 'project' to add a tab in project view + // 'stock' to add a tab in stock view + // 'thirdparty' to add a tab in third party view + // 'user' to add a tab in user view $this->tabs = array(); // Dictionaries diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index e01eee09663..91c786b2a10 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -473,8 +473,8 @@ if ($user->rights->adherent->cotisation->creer && $action == 'cotisation' && ! $ // Define output language $outputlangs = $langs; $newlang = ''; - if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST ['lang_id'])) - $newlang = $_REQUEST ['lang_id']; + if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) + $newlang = $_REQUEST['lang_id']; if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang = $customer->default_lang; if (! empty($newlang)) { diff --git a/htdocs/cashdesk/facturation.php b/htdocs/cashdesk/facturation.php index 4d8f0264e5f..4d442c0dbd3 100644 --- a/htdocs/cashdesk/facturation.php +++ b/htdocs/cashdesk/facturation.php @@ -25,6 +25,15 @@ * \brief Include to show main page for cashdesk module */ + + + +/* + * View + */ + +$form=new Form($db); + // Get list of articles (in warehouse '$conf_fkentrepot' if defined and stock module enabled) if ( GETPOST('filtre') ) { diff --git a/htdocs/cashdesk/tpl/facturation1.tpl.php b/htdocs/cashdesk/tpl/facturation1.tpl.php index bb638918dd5..d8e4049f922 100644 --- a/htdocs/cashdesk/tpl/facturation1.tpl.php +++ b/htdocs/cashdesk/tpl/facturation1.tpl.php @@ -22,6 +22,8 @@ $langs->load("main"); $langs->load("bills"); $langs->load("cashdesk"); +// Object $form must de defined + ?> diff --git a/htdocs/cashdesk/tpl/validation1.tpl.php b/htdocs/cashdesk/tpl/validation1.tpl.php index 5b02cb597d7..15762ecf494 100644 --- a/htdocs/cashdesk/tpl/validation1.tpl.php +++ b/htdocs/cashdesk/tpl/validation1.tpl.php @@ -18,6 +18,8 @@ $langs->load("main"); +// Object $form must de defined + ?>