Tryton - Issues

 

Message45424

Author resteve
Recipients
Date 2018-12-21.10:37:23
Content
A. Scenario:

1- Create an account chart.
2- Mark "Overwrite template" option in an account (ID 5)
3- Upgrade the account chart. A new account was created (ID 8)

See an example after upgrade chart:

 id | code |         name          |        create_date         | template | template_override 
----+------+-----------------------+----------------------------+----------+-------------------
  8 |      | Main Receivable       | 2018-12-21 09:24:38.239456 |       23 | f    <- duplicated account. Same template that ID 23
  5 |      | Main Receivable       | 2018-12-11 12:52:28.10897  |       23 | t


B. Also in v4.8, same scenario with template_override and active field:

1- Create an account chart.
2- Mark "Overwrite template" or inactive an account
3- Upgrade the account chart. A new account was created.


  id  | code |               name                |        create_date         | template | active 
------+------+-----------------------------------+----------------------------+----------+--------
 1597 | 7002 | Ventas de mercaderías Exportación | 2018-12-21 09:11:21.064892 |     1468 | f
 1708 | 7002 | Ventas de mercaderías Exportación | 2018-12-21 09:15:28.718722 |     1468 | t  <- duplicated account. Same template that ID 1468
History
Date User Action Args
2018-12-21 10:37:24restevesetmessageid: <1545385044.68.0.391342723819.issue7938@tryton.org>
2018-12-21 10:37:24restevelinkissue7938 messages
2018-12-21 10:37:23restevecreate

Showing 10 items. Show all history (warning: this could be VERY long)