Commit Graph
52494 Commits
Author SHA1 Message Date
Cédric Krier 37c38d8c19 Ensure current record is None after removing record from the group
The removal can trigger __select_changed on the list view which may set the
first record of the selection as the current record which may be the deleted
record.
This prevents the display triggered by record_modified to set the current
record in the selection as it has been removed from the group.

Closes #13712
(grafted from ed532372fe23eff7fe3e7c94b145bd87c5cf741d)

--HG--
branch : 6.0
2024-11-29 12:59:50 +01:00
Cédric Krier 52e775e436 Return a dictionary when calling default_get and set a default empty value
18acfa54fa2e relies on having always a dictionary.

Closes #13690
(grafted from cf5f7a897a6022ad3dbfa440010df9f73bd7e859)

--HG--
branch : 6.0
2024-11-28 15:00:55 +01:00
Nicolas Évrard a707a20efe Parse child of group tags at the end
This allows to preserve the order of the state widgets in the form which is
important when evaluating the emptiness of a group

Closes #13622
(grafted from b01fd46f44f2923cbd5a91323c592fa8cfb18a57)

--HG--
branch : 6.0
2024-11-30 10:24:52 +01:00
Cédric Krier 2c8c0798c9 Increase version number
--HG--
branch : 6.0
2024-12-01 21:03:20 +01:00
Cédric Krier 000c368105 Add tag analytic_account-6.0.5
--HG--
branch : 6.0
2024-12-01 21:03:12 +01:00
Cédric Krier 063dab44d8 Prepare release analytic_account-6.0.5
--HG--
branch : 6.0
2024-12-01 21:03:11 +01:00
Cédric Krier 5a6bbabd1d Increase version number
--HG--
branch : 6.0
2024-12-01 21:01:10 +01:00
Cédric Krier a9de479663 Add tag customs-6.0.1
--HG--
branch : 6.0
2024-12-01 21:01:01 +01:00
Cédric Krier b1251b0593 Prepare release customs-6.0.1
--HG--
branch : 6.0
2024-12-01 21:01:00 +01:00
Cédric Krier 8e74a37a39 Increase version number
--HG--
branch : 6.0
2024-12-01 20:58:32 +01:00
Cédric Krier a134009dd9 Add tag dashboard-6.0.1
--HG--
branch : 6.0
2024-12-01 20:58:24 +01:00
Cédric Krier d22cc3534b Prepare release dashboard-6.0.1
--HG--
branch : 6.0
2024-12-01 20:58:23 +01:00
Cédric Krier 934a1252d5 Increase version number
--HG--
branch : 6.0
2024-12-01 20:53:06 +01:00
Cédric Krier 73c727a3c1 Add tag purchase-6.0.19
--HG--
branch : 6.0
2024-12-01 20:52:59 +01:00
Cédric Krier b8c1f7dedf Prepare release purchase-6.0.19
--HG--
branch : 6.0
2024-12-01 20:52:57 +01:00
Cédric Krier 45e8840d3a Increase version number
--HG--
branch : 6.0
2024-12-01 20:51:01 +01:00
Cédric Krier 6f7edeb960 Add tag purchase_amendment-6.0.4
--HG--
branch : 6.0
2024-12-01 20:50:53 +01:00
Cédric Krier 969382780d Prepare release purchase_amendment-6.0.4
--HG--
branch : 6.0
2024-12-01 20:50:52 +01:00
Cédric Krier 0b2329b4fb Increase version number
--HG--
branch : 6.0
2024-12-01 20:49:14 +01:00
Cédric Krier b4e92d9cb1 Add tag sale-6.0.19
--HG--
branch : 6.0
2024-12-01 20:49:06 +01:00
Cédric Krier a234157b79 Prepare release sale-6.0.19
--HG--
branch : 6.0
2024-12-01 20:49:05 +01:00
Cédric Krier 0e8a9c7f1c Increase version number
--HG--
branch : 6.0
2024-12-01 20:47:35 +01:00
Cédric Krier 52dc4770c3 Add tag sale_amendment-6.0.3
--HG--
branch : 6.0
2024-12-01 20:47:29 +01:00
Cédric Krier ca3978aa81 Prepare release sale_amendment-6.0.3
--HG--
branch : 6.0
2024-12-01 20:47:28 +01:00
Cédric Krier 4f230a081b Increase version number
--HG--
branch : 6.0
2024-12-01 20:38:31 +01:00
Cédric Krier 0505bf76ed Add tag stock_supply-6.0.10
--HG--
branch : 6.0
2024-12-01 20:38:24 +01:00
Cédric Krier 4d9e9a0ec3 Prepare release stock_supply-6.0.10
--HG--
branch : 6.0
2024-12-01 20:38:23 +01:00
Cédric Krier 1fb60b1f6b Increase version number
--HG--
branch : 6.0
2024-12-01 20:00:38 +01:00
Cédric Krier f2fb9ba631 Add tag sao-6.0.50
--HG--
branch : 6.0
2024-12-01 20:00:33 +01:00
Cédric Krier 5d8530a061 Prepare release sao-6.0.50
--HG--
branch : 6.0
2024-12-01 20:00:32 +01:00
Cédric Krier a1be7ebf13 Increase version number
--HG--
branch : 6.0
2024-12-01 19:57:45 +01:00
Cédric Krier e8790d39d2 Add tag tryton-6.0.46
--HG--
branch : 6.0
2024-12-01 19:57:36 +01:00
Cédric Krier 05ebefe52e Prepare release tryton-6.0.46
--HG--
branch : 6.0
2024-12-01 19:57:35 +01:00
Cédric Krier 7161339920 Increase version number
--HG--
branch : 6.0
2024-12-01 19:44:35 +01:00
Cédric Krier 4438be335a Add tag trytond-6.0.55
--HG--
branch : 6.0
2024-12-01 19:44:24 +01:00
Cédric Krier cc4e590f09 Prepare release trytond-6.0.55
--HG--
branch : 6.0
2024-12-01 19:44:23 +01:00
Cédric Krier 9bb0c654ca Add manual migration to documentation
(grafted from 212ef9346f52c32c05f665433bd58372455e8b40)

--HG--
branch : 6.0
2024-11-30 19:07:20 +01:00
Cédric Krier 4106444d6a Create new context record with default value
Screen.new_ is returning already a promise that is resolved after the call to
default_get. This ensure that display is triggered after having set the default
value.

Closes #13697
(grafted from 7484bb16c12f887d44c9f18bfc5504974cde50e0)

--HG--
branch : 6.0
2024-11-20 15:52:40 +01:00
Cédric Krier c87aab577b Remove new lines characters when comparing record name of Many2One and Reference
This avoid to trigger a reset of the field if the record name has such character.

Closes #13687
(grafted from cac71113f210bce90c55f6a6c6f32703654cdc59)

--HG--
branch : 6.0
2024-11-15 15:20:28 +01:00
Cédric Krier d339c47831 Test if pre_validate is an empty object
Closes #13675
(grafted from 1d88e5b4e36de11517ae059ea04d352d2bde3161)

--HG--
branch : 6.0
2024-11-13 11:22:21 +01:00
Cédric Krier 088614fc94 Clear view caches when dashboard fields of user are modified
Closes #13662
(grafted from 23916deaf57fd2fcf7a35deec337fb9a8e479bec)

--HG--
branch : 6.0
2024-11-06 17:57:35 +01:00
Cédric Krier b6e19428b8 Order tariff codes by sequence with null first
Closes #13655
(grafted from 02463f1410ff27f3139e5946152a6e46d7ea4912)

--HG--
branch : 6.0
2024-11-05 16:27:12 +01:00
Cédric Krier 25d2c25ee0 Set a new current record if current one is not in the selection
`__select_changed` should not change the current record if the record is
already in the selection.

Closes #13676
(grafted from d9aaf9e915d8b1a0f4994638b9a2b7394ecbc78a)

--HG--
branch : 6.0
2024-11-13 11:33:06 +01:00
Cédric Krier 20e3288ada Create tab content of board before retrieving the view
If the view is already cached, the callback is executed directly so the content
must have been created.

Closes #13664
(grafted from adb8f7b0c738061d48d44499066545f5468a2d3d)

--HG--
branch : 6.0
2024-11-06 18:04:58 +01:00
Cédric Krier d4f1719a88 Return the inherited view type for inheriting action window view
Closes #13659
(grafted from 4aca431b30812b3052635ee829ce75f00ac00a50)

--HG--
branch : 6.0
2024-11-06 13:25:28 +01:00
Cédric Krier 6a701e0a8f Accept object has type for Greater statements
If the PYSON statement has the type 'object', it can be a Date, DateTime or
TimeDelta which is allowed for comparison.

Closes #13645
(grafted from df6e3c10a5105e545e1aa8e58c3c087285146a58)

--HG--
branch : 6.0
2024-11-04 13:09:34 +01:00
Cédric Krier edb87e7d22 Do not allow to add product or unit with amendment if there was no unit
Invoice lines may already exist with incompatible unit which will fail to
compute invoiced quantity.
(grafted from a261281e016c9445639fd7a47fdf41b8bbb4ab8b)

--HG--
branch : 6.0
2024-10-27 19:43:15 +01:00
Cédric Krier 03c04ec1c9 Do not convert invoiced quantity if sale or purchase has not unit
Closes #13593
(grafted from 203c7f14ff6c4b230fe9bc0de42052d4b8cf90cb)

--HG--
branch : 6.0
2024-10-27 19:41:19 +01:00
Cédric Krier 14166e9966 Compare purchase requests having product and purchase line
Closes #13624
(grafted from ce6ea1a8c2f9365891573df7cb3199eddaad988d)

--HG--
branch : 6.0
2024-10-28 00:19:53 +01:00
Cédric Krier 5b43d4eacf Load sequence field value of previous record before setting sequence
Closes #13604
(grafted from 6b5ee66e595e4a8bb25f21c85dce2db721f3ecb8)

--HG--
branch : 6.0
2024-10-15 14:50:08 +02:00