Cédric Krier
b243bdb4fa
Fix call to warn method of logger
...
Closes #13179
(grafted from 0dd9d993f1cfd1b3b9b83e1108e0ffbf193c87ad)
--HG--
branch : 7.0
2024-04-11 19:46:48 +02:00
Cédric Krier
167cc2709e
Increase version number
...
--HG--
branch : 7.0
2024-04-17 12:31:13 +02:00
Cédric Krier
c35aff2cc0
Prepare release sao-7.0.10
...
--HG--
branch : 7.0
2024-04-17 12:31:04 +02:00
Cédric Krier
8f320389a3
Return False on the callback on readonly window Form
...
When a readonly Form is closed, the callback result should always be False as
the opened record has not changed.
Closes #13156
(grafted from 9ad99fba8a531f2456d1808f32fe3b9fbc598f2e)
--HG--
branch : 7.0
2024-04-02 16:39:06 +02:00
Nicolas Évrard
87b1e66f67
Use PYSON's Bool evaluation for PYSON's Not evaluation
...
Closes #13096
(grafted from 009133813b11f264b5e038dc9c5912dc9e0101cb)
--HG--
branch : 7.0
2024-03-11 16:35:39 +01:00
Nicolas Évrard
b875f0cf68
Instantiate PYSON.Bool expression with new from PYSON.Not instances
...
Closes #13177
(grafted from 1d8a5b96e3b2d099c0009bc16e18e77cfb860134)
--HG--
branch : 7.0
2024-03-11 12:43:53 +01:00
Cédric Krier
161641c320
Force scrollbar inside xxx2Many table
...
On Chrome based browsers the min-content of the table inside a xxx2Many widget
is the minimal size to display all the columns.
So when this min-content size is bigger than the width of the tab, it is the
all form that get a scrollbar instead of only the tree view element.
By adding a display grid to the div containing the treeview, the min-content
is not more used by the grid-template-columns of the form-container.
Closes #13050
(grafted from 333543178a58dc1b816063dd1ad11f6d6c1f4c10)
--HG--
branch : 7.0
2024-03-15 09:50:08 +01:00
Cédric Krier
d771ed9402
Do not set current record to the first id if the list is empty
...
Closes #13130
(grafted from 61da30b168e7a11392ac235bea43460bbb998873)
--HG--
branch : 7.0
2024-03-26 11:20:07 +01:00
Cédric Krier
5c2a90afac
Increase version number
...
--HG--
branch : 7.0
2024-04-04 09:41:44 +02:00
Cédric Krier
33609f2b75
Prepare release sao-7.0.9
...
--HG--
branch : 7.0
2024-04-04 09:41:35 +02:00
Cédric Krier
7969ed8122
Set cursor when displaying screen to select new record after copy
...
Closes #12820
(grafted from a7351854b34b147aad65e0e7ca86666ba76b68ac)
--HG--
branch : 7.0
2024-03-22 12:52:19 +01:00
Cédric Krier
9e3b2031ec
Revoke URLs of loaded icons
...
Closes #13095
(grafted from ee2fee1a4b3019a5e4bff38e830a751d9c4d0976)
--HG--
branch : 7.0
2024-03-10 01:09:35 +01:00
Cédric Krier
369dcdf92a
Expand form container to fill all parent spaces
...
Closes #13073
(grafted from 882083de49d111b61d7e525e0fb0f8f43fa13835)
--HG--
branch : 7.0
2024-03-05 15:18:03 +01:00
Cédric Krier
9dbda95f41
Add auto-detected fields with drag and drop handler
...
Closes #13082
(grafted from c52d2403d6690ac2b83c6cd381b7760cbf40fe58)
--HG--
branch : 7.0
2024-03-07 13:06:11 +01:00
Cédric Krier
1c71b616b4
Set height to 100% for text and richtext
...
Closes #13058
(grafted from aed32f1a6abe0eab0d7c0e26402a52fe99ebd713)
--HG--
branch : 7.0
2024-02-25 13:40:59 +01:00
Cédric Krier
3da873995a
Use moment to parse time
...
Closes #13032
(grafted from 1b77b079e942f554c4f074533e209a340e5afa80)
--HG--
branch : 7.0
2024-02-21 09:52:06 +01:00
Cédric Krier
f740d162d9
Return an array for listed_records accessor of list-form
...
Closes #13094
(grafted from d297c252aa7b0c483de0695ee945f672af67ce3f)
--HG--
branch : 7.0
2024-03-09 23:22:09 +01:00
Cédric Krier
caee2b8855
Replace jshint by eslint
...
Closes #13087
(grafted from b2a2c9483562f6ae5430df5cc957148003ac3520)
--HG--
branch : 7.0
2024-03-11 23:33:12 +01:00
Cédric Krier
a1783e782e
Use model attribute to compute model name of CharColumn
...
Closes #13093
(grafted from 032f64eb30c141103210c1023dd77f96e492c55f)
--HG--
branch : 7.0
2024-03-09 11:01:34 +01:00
Cédric Krier
1a5a2e811b
Compute index when selecting list-form row to select records
...
Closes #13092
(grafted from 87ea94e8f57c8329e847876083e66a0bf8a1326c)
--HG--
branch : 7.0
2024-03-09 10:59:52 +01:00
Cédric Krier
dd70cbde83
Set graph color from yfield
...
Closes #13091
(grafted from 8258ba4d71c20dce065f75a1dcf64064867ce304)
--HG--
branch : 7.0
2024-03-09 10:56:54 +01:00
Cédric Krier
8d2d10aec9
Fix typo in defaults argument in new_ method of Many2Many widget
...
Closes #13090
(grafted from 750b07534da8cb3815d1092431bc980000673862)
--HG--
branch : 7.0
2024-03-09 10:55:19 +01:00
Cédric Krier
baa54b631e
Use size from attributes when setting url_size parameters for Image
...
Closes #13089
(grafted from 92766aa06e107c67d9e217334c067651385229bd)
--HG--
branch : 7.0
2024-03-09 10:52:41 +01:00
Cédric Krier
c9852506b0
Do not fail on input completion when source is an Array
...
Closes #13088
(grafted from 0d99c0394ebc50547cd18570833e68d908791300)
--HG--
branch : 7.0
2024-03-09 10:49:27 +01:00
Cédric Krier
c4d4951525
Remove readthedocs
...
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)
--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier
fb5345084f
Increase version number
...
--HG--
branch : 7.0
2024-03-03 13:14:08 +01:00
Cédric Krier
8c0a62fb75
Prepare release sao-7.0.8
...
--HG--
branch : 7.0
2024-03-03 13:13:58 +01:00
Cédric Krier
ae84e0a539
Test number of dots in name before computing unique value from a domain
...
The type of value may not correspond with the single_value parameter if the
domain does not apply directly to the field but to a nested field.
Closes #12843
(grafted from 411d5752ff2a1283d65fb457a5c9ac2f399dafb0)
--HG--
branch : 7.0
2024-02-12 11:59:13 +01:00
Cédric Krier
6cd9b070bc
Increase version number
...
--HG--
branch : 7.0
2024-02-15 19:30:14 +01:00
Cédric Krier
d22b2f9bf9
Prepare release sao-7.0.7
...
--HG--
branch : 7.0
2024-02-15 19:30:04 +01:00
Cédric Krier
1a543f72f2
Return new instances of PYSON object from PYSON shortcut methods
...
Closes #12985
(grafted from af58504c1e6ad2b17cac5b6c41454d7eda28c5c7)
--HG--
branch : 7.0
2024-02-03 19:29:59 +01:00
Cédric Krier
cfe83d64d2
Add support for timestamp field as datetime in domain parser
...
Closes #12776
(grafted from c2d266d5fd2591477a400f44d772e0dea499fee6)
--HG--
branch : 7.0
2024-01-30 12:07:21 +01:00
Cédric Krier
f7f761621d
Consider null value as data for binary field
...
null value is set when the widget is cleared so it should not try to read it
again from the server.
Closes #12926
(grafted from a93577ad420c3bab09fb905efab954e4aaf0fbab)
--HG--
branch : 7.0
2024-01-11 16:30:10 +01:00
Cédric Krier
aac0970859
Activate scrollbar on text and richtext widget and limit resize to vertical
...
The minimal height is set to 5 lines and maximal to 20 lines.
Closes #12921
(grafted from 3e369e3b5addee2e6b90ebf59c3286040f44ea35)
--HG--
branch : 7.0
2024-01-10 19:07:03 +01:00
Nicolas Évrard
fbcd4bb2ad
Apply overflow value to every parent group of node
...
Closes #12960
(grafted from 5ec515d166696653b07dd2ad61a62377b9717899)
--HG--
branch : 7.0
2024-01-26 12:40:14 +01:00
Cédric Krier
6d1830ee4e
Increase version number
...
--HG--
branch : 7.0
2024-02-03 12:00:11 +01:00
Cédric Krier
b2260b7963
Prepare release sao-7.0.6
...
--HG--
branch : 7.0
2024-02-03 11:59:56 +01:00
Cédric Krier
351b8da289
Return children length only if children field is loaded
...
Closes #12906
(grafted from 096fbc73811d10b4d0860290c79ee7047342e545)
--HG--
branch : 7.0
2024-01-06 22:56:46 +01:00
Cédric Krier
ae21263b9b
Increase version number
...
--HG--
branch : 7.0
2024-01-16 00:11:21 +01:00
Cédric Krier
7f3a8e2b13
Prepare release sao-7.0.5
...
--HG--
branch : 7.0
2024-01-16 00:11:12 +01:00
Nicolas Évrard
c8d657892c
Sort correclty eager and lazy fields when calling Form.display
...
Closes #12890
(grafted from 60a0e087ead74ae2c242c33f56977f466d3874be)
--HG--
branch : 7.0
2023-12-22 14:48:49 +01:00
Cédric Krier
371d66b142
Convert negative id value as None when set by the client
...
Domain inversion may force a unique value based on the default value from
PYSON evaluation. In such case it means that no record can be set.
Closes #12799
(grafted from 48463dae759ea1473b258ed905ba2c15fe96e10c)
--HG--
branch : 7.0
2023-12-17 23:39:16 +01:00
Cédric Krier
a75e8b007b
Increase version number
...
--HG--
branch : 7.0
2024-01-01 13:04:22 +01:00
Cédric Krier
8ca449d048
Prepare release sao-7.0.4
...
--HG--
branch : 7.0
2024-01-01 13:04:13 +01:00
Cédric Krier
ad3594f8b1
Duplicate object tag when updating the content of Document widget
...
Some browser does not refresh properly the content when updating the data
attribute.
Closes #12808
(grafted from 595120b29967d30407fc5b267583dde9ed381d78)
--HG--
branch : 7.0
2023-12-07 22:50:42 +01:00
Cédric Krier
586592e1ff
Always align on start on xs screen
...
e5446fb8d4ce reintroduced the rule but using text-center while it is justify-*
that is used for grid layout.
Closes #12807
(grafted from ae247628f5c859df56bbc2494f76cc59f9c152e7)
--HG--
branch : 7.0
2023-12-07 19:54:48 +01:00
Nicolas Évrard
686c799097
Mark M2M records for addition in parent after they're saved
...
Closes #12832
(grafted from 4e8ff04aef3a2bfd175e2c77db1421810adc5159)
--HG--
branch : 7.0
2023-12-14 17:54:27 +01:00
Cédric Krier
550fceb05f
Add None value to selection for nullable_widget when search_read fails
...
Closes #12838
(grafted from 539dc9578430153096430ec794016b0958694552)
--HG--
branch : 7.0
2023-12-17 21:13:12 +01:00
Cédric Krier
daa05928e0
Do not read record name for value None for inactive selection
...
Closes #12838
(grafted from cf35deaf9f1219bdad297c258960d314fbbc538f)
--HG--
branch : 7.0
2023-12-17 21:12:41 +01:00
Cédric Krier
cab2cddf72
Always include changed field when calling on_change_with
...
Since d142b33fa3ab the on_change_with relies on _changed_value.
So in order to correctly detect if a xxx2Many field has some record removed,
we need to have the value of the client.
Closes #12837
(grafted from ae091a6bacbcaba5d327c6573b3859ab0d59e070)
--HG--
branch : 7.0
2023-12-15 19:10:38 +01:00