tryton-server (5.0.1-1) unstable; urgency=medium

  This is the new major release 5.0.0

  As for each major release don't forget to backup your database(s) and
  follow the upgrade procedures.

  Run the database update with
  $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all \
    -d <your_database_name>

  For further information refer also to
  https://discuss.tryton.org/c/migration
  and for this release especially to
  https://discuss.tryton.org/t/migration-from-4-6-to-4-8 and
  https://discuss.tryton.org/t/migration-from-4-8-to-5-0

  Check your server configuration for new or changed options.
  Have especially a look to options for session and password settings.

  Finally restart the server(s) with
  $ sudo service tryton-server restart
  $ sudo service tryton-server-cron restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Mon, 19 Nov 2018 21:21:40 +0100

tryton-server (4.6.0-1) unstable; urgency=medium

  This is the new major release 4.6.0

  As for each major release don't forget to backup your database(s) and
  follow the upgrade procedures.

  Run the database update with
  $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all \
    -d <your_database_name>

  For further information refer also to
  https://discuss.tryton.org/t/migration-from-4-4-to-4-6/383

  Restart the server(s) with
  $ sudo service tryton-server restart
  $ sudo service tryton-server-cron restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Tue, 07 Nov 2017 10:20:49 +0100

tryton-server (4.4.1-1) unstable; urgency=medium

  This is the new major release 4.4.1.
  As for each major release don't forget to backup your database(s) and
  follow the upgrade procedures.

  Several modules have been discontinued:
  tryton-modules-webdav
  tryton-modules-calendar
  tryton-modules-calendar-classification
  tryton-modules-calendar-scheduling
  tryton-modules-calendar-todo
  tryton-modules-party-vcarddav

  It is recommended to replace those modules by dedicated CalDAV software like
  CalendarServer, DAViCal or Radicale.
  If you have used any of the modules above, you must uninstall them with

  $ sudo apt-get purge tryton-modules-webdav tryton-modules-calendar \
    tryton-modules-calendar-scheduling tryton-modules-calendar-todo \
    tryton-modules-calendar-classification tryton-modules-party-vcarddav

  Run the database update with
  $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all \
    [-u stock_shipment_measurements] -d <your_database_name>

  Note: You only need to install stock_shipment_measurements, if it is
  required by another module. This will be indicated in a traceback, if you
  try without the parameter. So you can first try without and add the
  parameter when necessary.

  To remove cruft from the deprecated modules in old databases they may
  be cleaned via SQL after the update:
    DELETE FROM ir_ui_view WHERE module IN ( 'webdav', 'calendar', 'calendar_todo',
      'calendar_scheduling', 'calendar_classification', 'party_vcarddav');
    DROP TABLE purchase_invoice_line_rel;

  For further information refer also to
  https://discuss.tryton.org/t/migration-from-4-2-to-4-4/264
  https://discuss.tryton.org/t/removal-of-dav/304

  Restart the server(s) with
  $ sudo service tryton-server restart
  $ sudo service tryton-server-cron restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Sat, 10 Jun 2017 23:37:13 +0200

tryton-server (4.2.0-1) unstable; urgency=medium

  This is the new major release 4.2.0.
  New databases must now be created from the command line, please read
  /usr/share/doc/tryton-server/README.Debian how to do that.

  As for each major release don't forget to backup your database(s) and
  follow the upgrade procedures:

  Language codes have been simplified. If you happen to have custom
  translations in your database(s) you must update the translation code
  via SQL to match the new short code.
  Here is an example for the code change from en_US to en:
    UPDATE ir_translation SET lang = 'en' WHERE lang = 'en_US';
  
  Finally run the database update with
  $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
  and restart the server(s) with
  $ sudo service tryton-server restart
  $ sudo service tryton-server-cron restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Mon, 05 Dec 2016 15:31:44 +0100

tryton-server (4.0.1-1) unstable; urgency=medium

  This is the new major release 4.0.1. It comes with major changes in the
  configuration (namely the jsonrpc section was migrated to a new web
  section). You will have to adapt manually /etc/tryton/trytond.conf to
  the changed parameters.
  The formerly included cron job is now run by the dedicated service
  tryton-server-cron.
  The formerly included webdav module was separated into the separate
  package tryton-server-webdav running its own server instance. If the
  module was enabled in 3.8, then you have to manually install the package
  for Tryton to continue to work.

  As for each major release don't forget to backup your database(s) and
  follow the upgrade procedures:

  Tax signs for credit notes have been changed and must be updated via SQL
  *before* the update:
    UPDATE account_tax_template SET credit_note_base_sign = credit_note_base_sign * -1,
      credit_note_tax_sign = credit_note_tax_sign * -1;
    UPDATE account_tax SET credit_note_base_sign = credit_note_base_sign * -1,
      credit_note_tax_sign = credit_note_tax_sign * -1;
  
  Finally run the database update with
  $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all -d <your_database_name>

  Column category from product.template must be dropped via SQL
  after the update:
    ALTER TABLE product_template DROP COLUMN category;

  Finally restart the server(s) with
  $ sudo service tryton-server restart
  $ sudo service tryton-server-cron restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Mon, 30 May 2016 18:17:30 +0200

tryton-server (3.8.0-1) unstable; urgency=medium

  This is the new major release 3.8.0.
  As for each major release don't forget to backup your database(s) and
  then run the database update with
  $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
  and restart the server with
  $ sudo service tryton-server restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Thu, 12 Nov 2015 19:00:59 +0100

tryton-server (3.6.0-1) unstable; urgency=medium

  This is the new major release 3.6.0.
  
  As for each major release don't forget to backup your database(s) and
  follow the upgrade procedures:

  Second currency amounts must be updated via SQL:
    UPDATE account_move_line SET amount_second_currency = (amount_second_currency * -1)
    WHERE amount_second_currency IS NOT NULL AND SIGN(amount_second_currency) != SIGN(debit - credit);
  
  Finally run the database update with
  $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
  and restart the server with
  $ sudo service tryton-server restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Thu, 23 Apr 2015 18:13:16 +0200

tryton-server (3.4.0-1) unstable; urgency=medium

  This is the new major release 3.4.0.

  The configuration files have moved to the new subdirectory /etc/tryton/.
  The format of the configuration file changed to a simple ini style
  format. There is no automatic migration of old configuration settings.
  So be sure to adapt /etc/tryton/trytond.conf (or whatever configuration
  file you may use) to the new format (the old configuration file was saved
  to /etc/tryton/trytond.conf.pre34).

  As for each major release don't forget to backup your database(s) and
  then run the database update with
  $ sudo -u tryton trytond -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
  and restart the server with
  $ sudo service tryton-server restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Tue, 22 Oct 2014 17:37:36 +0200

tryton-server (3.2.0-1) unstable; urgency=medium

  This is the new major release 3.2.0.
  As for each major release don't forget to backup your database(s) and
  then run the database update with
  $ sudo -u tryton trytond -v -c /etc/trytond.conf --all -d <your_database_name>
  and restart the server with
  $ sudo service tryton-server restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Thu, 24 Apr 2014 11:49:58 +0200

tryton-server (3.0.0-1) unstable; urgency=low

  This is the new major release 3.0.0.
  As for each major release don't forget to backup your database(s) and
  then run the update with
  $ sudo -u tryton trytond -v -c /etc/trytond.conf --all -d <your_database_name>
  and restart the server with
  $ sudo service tryton-server restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Sun, 24 Nov 2013 18:28:07 +0100

tryton-server (2.8.0-1) experimental; urgency=low

  This is the new major release 2.8.0.
  As for each major release don't forget to backup your database and
  then run the update with
  $ sudo -u tryton trytond -v -c /etc/trytond.conf --all -d <your_database_name>
  and restart the server with
  $ sudo service tryton-server restart

 -- Mathias Behrle <mathiasb@m9s.biz>  Fri, 17 May 2013 17:30:44 +0200

tryton-server (2.2.1-3) unstable; urgency=low

  The Tryton Server now supports shared WebDAV. Some configuration
  parameters have changed:
  'hostname' changed to 'hostname_jsonrpc' (this setting will be used to
  generate Tryton URIs).
  'hostname_webdav' was added (this setting will be used to generate
  WebDAV URIs).
  Please update your trytond.conf accordingly.

 -- Mathias Behrle <mathiasb@m9s.biz>  Wed, 28 Mar 2012 12:12:30 +0200
