Cédric Krier
d4660a701a
Compare leaf values only of the same type to sort domain
...
Closes #12792
(grafted from cb0f2181f6188f8a920e591f0d27a2dac6be5678)
--HG--
branch : 7.0
2023-12-12 18:02:14 +01:00
Cédric Krier
dd4a044224
Increase version number
...
--HG--
branch : 7.0
2023-12-16 10:53:29 +01:00
Cédric Krier
f053bbcce5
Prepare release sao-7.0.3
...
--HG--
branch : 7.0
2023-12-16 10:53:20 +01:00
Cédric Krier
e1b1491c2c
Do not compute domain inversion when displaying column that is not a field
...
Since c320a786923f the field is needed to compute domain inversion so we
should not compute domain inversion for non field.
Closes #12814
(grafted from fe581cde6705c4b2e7bad61894e0b3098ede65f3)
--HG--
branch : 7.0
2023-12-10 23:32:43 +01:00
Cédric Krier
a7e2a981ff
Hide URL button when the field is empty
...
The disabled attribute does not prevent the user to click on the empty link.
Closes #12747
(grafted from 644db9868199f47f12bf252c1203f6f8367fa7f0)
--HG--
branch : 7.0
2023-11-14 15:23:36 +01:00
Cédric Krier
0cc29f13b8
Do not disable button and action on readonly records
...
Backed out changeset 0e988bac37ba
Closes #12651
(grafted from 2bb1b8dc3838abf03356529aa1c8505f3db58b0f)
--HG--
branch : 7.0
2023-11-14 14:25:04 +01:00
Cédric Krier
2903c5e1fa
Set One2Many fields later
...
Closes #12740
(grafted from 7bbf9b5e4c5d1aa2c4c6ada3220e5379249dcf1d)
--HG--
branch : 7.0
2023-11-14 00:05:51 +01:00
Cédric Krier
63ab6f3e74
Validate field set later
...
Closes #12739
(grafted from 31958cc6bbae3c46dbaeb919221ceb317f5e2ccc)
--HG--
branch : 7.0
2023-11-14 00:05:17 +01:00
Cédric Krier
4afb959a07
Do not force value for single list on multi-value field
...
Fields based on multi-value must not be forced to the single value of a list.
Closes #12737
(grafted from c320a786923f19e138459d9a128c7d8cb097f1b1)
--HG--
branch : 7.0
2023-11-14 00:00:15 +01:00
Cédric Krier
b557327084
Do not scroll into view empty element
...
Closes #12783
(grafted from e02eedcfbf4771b9388566152d0f56c4c3e19945)
--HG--
branch : 7.0
2023-12-03 01:51:48 +01:00
Cédric Krier
2fb4da22ec
Select first record when refreshing attachment preview
...
Since ab82d479eca1 no record is set when displaying screen.
Closes #12756
(grafted from e40c63e467b0f878b54594729c7e07458f12ad71)
--HG--
branch : 7.0
2023-11-16 18:23:14 +01:00
Cédric Krier
20fa476c9c
Use screen methods to activate or not the next/previous buttons of attachment preview
...
Closes #12756
(grafted from cf043bb57421ab47f68cf8cc41745489cf0187d4)
--HG--
branch : 7.0
2023-11-16 18:22:04 +01:00
Cédric Krier
4f3279d8e8
Increase version number
...
--HG--
branch : 7.0
2023-12-02 00:14:57 +01:00
Cédric Krier
31cc35da71
Prepare release sao-7.0.2
...
--HG--
branch : 7.0
2023-12-02 00:14:49 +01:00
Cédric Krier
f3d21bb0f4
Fix call to Sao.Logger.error
...
Closes #12778
(grafted from 5b24f611c7ea8f97fcc69c815111ee865ad95800)
--HG--
branch : 7.0
2023-11-27 21:35:24 +01:00
Cédric Krier
7c2bc0c08b
Submit form only if scan_code is submit
...
Close #12764
(grafted from 92031f401afa24e63c0f85f3621ea8acaf9a0bac)
--HG--
branch : 7.0
2023-11-20 20:41:34 +01:00
Cédric Krier
bedcfce09b
Increase the size of expander
...
Closes #12733
(grafted from ea4e1936235b200489557da2212b2135fa67ddd5)
--HG--
branch : 7.0
2023-11-11 19:37:53 +01:00
Cédric Krier
87bc10f160
Prevent switching row when double click on expander
...
Closes #12732
(grafted from f1ce4d6a8fe85a007eae863ce9ecea181f725de7)
--HG--
branch : 7.0
2023-11-11 19:34:27 +01:00
Cédric Krier
6e490d871e
Do not execute action on row active if there is no selected id
...
Closes #12731
(grafted from 00d2bb38f0b68c817b3c97b822c66ccda53855e4)
--HG--
branch : 7.0
2023-11-11 19:31:35 +01:00
Cédric Krier
49208f5e9f
Set grab cursor only on draggable-handle class
...
Closes #12730
(grafted from 9ecbfd88f70b575133340bde478626dbf54a7a28)
--HG--
branch : 7.0
2023-11-11 19:27:03 +01:00
Cédric Krier
c5c93d63df
Hide tree-menu column on sao menu
...
Closes #12729
(grafted from c73f6753a2d88bcb22294880443bfe3c58423f42)
--HG--
branch : 7.0
2023-11-11 19:24:19 +01:00
Cédric Krier
5c286e1a24
Select first visible siblings when page is hidden
...
We need to search for all siblings because the next page may also be
invisible.
Closes #12553
(grafted from 6419459a9c3f2ee6fdea7c4df3f22e43b270913e)
--HG--
branch : 7.0
2023-11-06 18:53:39 +01:00
Cédric Krier
cd1df9daee
Increase version number
...
--HG--
branch : 7.0
2023-11-03 17:44:48 +01:00
Cédric Krier
061d43cfb2
Prepare release sao-7.0.1
...
--HG--
branch : 7.0
2023-11-03 17:44:40 +01:00
Cédric Krier
feb46ede91
Set button sensitive on One2Many widget after screen display promise is done
...
The method to set button sensitive needs the view type to be set since
7d8c4076363f.
Closes #12691
(grafted from b2b34291ad6459946f4e930837ec33aa03a2713d)
--HG--
branch : 7.0
2023-10-31 21:57:09 +01:00
Cédric Krier
6c91d493b6
Increase version number
...
--HG--
branch : 7.0
2023-10-30 18:49:03 +01:00
Cédric Krier
65f477f731
Prepare release 7.0.0
2023-10-30 18:17:32 +01:00
Cédric Krier
f1ab6513b3
Iterate over removed and deleted records when adding record to group
...
In Javascript for...in iterate over properties but we want to iterate over
values with for...of. Otherwise record added back is not un-removed or
un-deleted.
Closes #12663
2023-10-29 13:49:30 +01:00
Cédric Krier
204a5d7625
Set current record explicitly after loading records on screen
...
Since ab82d479eca1 screen load does not set current record but some widget
relies on it. So they must set explicitly the current record they need.
Also when a current record is not needed, there is no need to call display
after loading because load already calls display.
2023-10-29 12:59:58 +01:00
Cédric Krier
e529c624f5
Disable switch button on non form view without selected record
...
This prevents to switch to a form view without a record.
2023-10-25 13:36:40 +02:00
Cédric Krier
1ab2948473
Do not set current record when displaying screen
...
Changing the current record while displaying trigger record_message which
calls set_buttons_sensitive. As the view is not yet updated, it is considered
as modified and the state of the buttons are no more valid.
Closes #12664
2023-10-25 12:22:31 +02:00
Cédric Krier
c577fad900
Update translations [skip ci]
2023-10-28 14:15:23 +02:00
Cédric Krier
cfde98e54a
Backed out changeset fc478f7d7004
2023-10-28 00:16:32 +02:00
Nicolas Évrard
a09de147a6
Add timeout parameter on RPC calls
...
Closes #11293
2023-10-08 00:08:52 +02:00
Cédric Krier
bace374c3e
Limit colspan to the number columns
...
Since e5446fb8d4ce the colspan value is used the grid css rules so it must be
limited to the number of columns.
Closes #12655
2023-10-22 17:22:29 +02:00
Cédric Krier
9673660703
Clear cached string of selection fields when client changes the value
...
Closes #12656
2023-10-19 15:49:30 +02:00
Cédric Krier
b7027f89bd
Do not pass this as argument of new_ of One2Many
...
211e8f0bc762 removed the event argument but the conversion to arrow function
added this as argument.
2023-10-19 15:06:43 +02:00
Cédric Krier
058b8988a0
Use more explicit message for unknown column header when autodetecting CSV
...
Closes #12631
2023-10-11 11:54:27 +02:00
Cédric Krier
325c4866a6
Use distinct icons for save and download
...
Closes #12627
2023-10-09 14:41:24 +02:00
Cédric Krier
0108d926c5
Ensure to set grid template after the widgets have been displayed
2023-10-02 17:29:19 +02:00
Cédric Krier
d61e939339
Do not use .hidden class to mark cell in grid as hidden
...
In e5446fb8d4ce the .hidden class is added to cells to remove the padding of
empty but Boostrap defines the same class with display none.
So once a cell is marked as hidden, it stays hidden.
2023-10-02 17:28:01 +02:00
Cédric Krier
ccf653da1d
Support create record from autocomplete with default values
2023-09-26 23:45:07 +02:00
Cédric Krier
96c2cd16f1
Use defaults dictionary for new default values
...
Replace the rec_name argument by a dictionary of default values.
2023-09-26 14:55:34 +02:00
Cédric Krier
92b3416d79
Add autocomplete method on ModelView
2023-09-25 17:22:40 +02:00
Sergi Almacellas Abellana
81c3d0c95c
Set focus on Many2One entry after clearing its value in sao
...
Closes #12550
2023-10-07 19:14:23 +02:00
Cédric Krier
1c27be9a3e
Record.get_eval must return only loaded values
...
Sao must behave the same way as tryton does with the changeset 4d2bd7127a51.
Closes #12415
2023-09-24 19:01:07 +02:00
Cédric Krier
d2908701c6
Use dedicated method to skip user warning
2023-09-24 13:23:53 +02:00
Cédric Krier
01b47f30c8
Remove own view search access rules
...
Instead we use dedicated get/set/unset methods which enforce access rights.
2023-09-21 17:55:29 +02:00
Cédric Krier
0dfb4dc591
Remove own export access rules
...
Instead we use dedicated get/set/unset methods which enforce access rights.
2023-09-21 17:55:40 +02:00
Nicolas Évrard
3f8c74138f
Reset state of records when a sibling is in exception on node collapse
...
When loading a record raises an error, the record stays in error forever.
With the node resetted to an unloaded state another opening of the parent node
will trigger a reread which solves the transient errors
Closes #12463
2023-08-14 17:57:19 +02:00