Cédric Krier
55619becda
Remove unused ModelFieldGroup
...
issue7944
review52571002
2018-12-30 00:19:25 +01:00
Cédric Krier
5cab9c3995
Add test ordering of selection field
...
issue7934
review66491002
2018-12-30 00:14:59 +01:00
Cédric Krier
93e3c0f9df
Order selection field with instance method on column
...
issue7934
review66491002
2018-12-30 00:14:27 +01:00
Cédric Krier
83bf159aef
Check foreign key in last on database integrity error
...
The search is done on a new transaction so it can not find targets that were
created during the main transaction.
2018-12-29 23:28:40 +01:00
Cédric Krier
1738a4ec35
Add ir.message and use custom exceptions
...
issue3672
review35291002
2018-12-29 14:19:08 +01:00
Cédric Krier
b387adc7bc
Add check on ModelSQL for positive id
...
issue7867
review50631002
2018-12-22 00:01:41 +01:00
Cédric Krier
f430589b56
Add warning in the documentation about static filter
...
issue7902
review58451002
2018-12-21 23:48:05 +01:00
Cédric Krier
d1bb790cb8
New API to read related fields
...
issue7888
review58431002
2018-12-21 23:41:56 +01:00
Albert Cervera i Areny
b2b66251f1
Fix typo: One2MOne.filter should be One2One.filter
...
issue7901
review52541002
2018-12-18 23:44:54 +01:00
Cédric Krier
fcb16273c5
Improve the access right documentation
...
issue7898
review58441002
2018-12-17 23:23:00 +01:00
Cédric Krier
e4e7ae740d
Disable sortable and searchable on ModelView only
...
Those feature depends on the Model having a search method.
issue7878
review56491002
2018-12-17 23:03:19 +01:00
Sergi Almacellas Abellana
fc5f906ce5
Do not initiate sql table when table_query is defined
...
issue7896
review64491002
2018-12-03 11:29:43 +01:00
Cédric Krier
131bb3b216
Fix reference to wizard topic in documentation
2018-11-30 16:23:29 +01:00
Sergi Almacellas Abellana
633eb74e1f
Remove required on icon, action domain and action view sequence
...
issue7889
review54451002
2018-11-29 13:19:47 +01:00
Cédric Krier
c7f5c54a83
Remove implicit fields names in ModelStorage.read
...
It is a bad practice to not explicit the fields to read. So we should not
support it.
issue7830
review54421002
2018-11-28 10:05:01 +01:00
Cédric Krier
91df1dcf11
Always commit deleted/inactivated XML record
...
The transaction must be committed on each iteration in case the next one fails
and the transaction is roll-backed.
issue7884
review66471002
2018-11-28 10:02:50 +01:00
Cédric Krier
84a19b2672
Fix references in documentation
2018-11-23 16:01:36 +01:00
Cédric Krier
011f510dc9
Stop retry to remove session once it succeed
...
After the removal the loop must be broken and if no session has been removed
it should log an error message.
issue7852
review74421002
2018-11-18 12:07:17 +01:00
Cédric Krier
c0510b0ec2
Refactoring test account and include search
...
issue7766
review50591002
2018-11-12 17:19:24 +01:00
Cédric Krier
1a3ee131fe
Check read access on field in search domain
...
issue7766
review50591002
2018-11-12 17:18:06 +01:00
Cédric Krier
99580a2e6a
Ensure to rollback and clean cache on exception
...
Exception raised in a test decorated by with_transaction should always clear
the cache to avoid leaking to other tests.
issue7829
review64471002
2018-11-07 19:02:34 +01:00
Cédric Krier
a97f889228
Fix get access against nullable active group
...
The group table is in a left join so group.active can be NULL for model/field
access without group. On such case the access values must still be selected.
issue7023
2018-10-31 20:21:04 +01:00
Cédric Krier
39ea946edd
Remove custom strftime for year before 1900
...
The bug has been fixed in Python 3.3
issue7814
review48671002
2018-10-31 18:15:57 +01:00
Cédric Krier
75b987233b
Re-browse the filtered menus
...
It is needed to avoid access right errors when filtered records are access
because they share the same local cache.
issue7806
review45771002
2018-10-31 18:13:02 +01:00
Xavier Codinas
8be4976700
Add active field
...
issue7023
review50411002
2018-10-30 16:31:42 +01:00
Cédric Krier
9ebba6207b
Fix argument order to Bus.publish in notify
...
issue7807
review51571002
2018-10-26 23:24:09 +02:00
Cédric Krier
208fe62130
Better explanation of _order_name
...
issue7811
review58401002
2018-10-26 22:21:01 +02:00
Xavier Codinas
18c04da18b
Use grouped_slice on load_module_graph
...
issue7051
review45001002
2018-10-24 17:35:09 +02:00
Cédric Krier
680af38018
Sort keys when dumping data
...
This ensure stability for future comparison.
issue7761
review45741002
2018-10-21 21:28:43 +02:00
Cédric Krier
394bbd189b
Do not fail on SMTP connection error
...
We just log the error and process the transaction.
issue7775
review49631002
2018-10-15 22:52:52 +02:00
Cédric Krier
e115ef92d3
Remove check access to trigger_write_get_eligibles
...
The triggers returned need to be read without any check access.
issue7764
review68321002
2018-10-15 22:49:51 +02:00
Cédric Krier
9c5bdf2451
Use write mode by default to check create and delete of resources
...
It is less astonishing for the user and it allows to customize easily the
check to perform per model.
issue7717
review54371002
2018-10-04 13:41:50 +02:00
Cédric Krier
48d894b08c
Increase version number
2018-10-01 12:31:00 +02:00
Cédric Krier
d77aeacfc2
Added tag 5.0.0 for changeset e8cadc044d59
2018-10-01 12:30:45 +02:00
Cédric Krier
472a1e0fff
Prepare release 5.0.0
2018-10-01 12:30:45 +02:00
Cédric Krier
3b7a4172e2
Update translations
2018-09-28 23:02:33 +02:00
Cédric Krier
8e9c476e6f
Use correct number arguments in rename column warning
...
issue7688
review47701002
2018-09-28 17:24:01 +02:00
Cédric Krier
77f7dda24e
Set icon on sequence strict menu
...
As it is liked to an action with the first view without type, we must set
ourself the icon.
issue7724
review48621002
2018-09-28 16:55:57 +02:00
Udo Spallek
c5829cbee9
Only use existing config files in werkzeug reloader
...
issue7727
review66401002
2018-09-27 22:19:33 +02:00
Cédric Krier
d6c6147757
Use OrdereDict to register class in Pool
...
This allow to speedup the assertion which check that a class is not already
registered.
issue7728
review49581002
2018-09-26 23:10:00 +02:00
Cédric Krier
f41cb86e69
Allow to disable Bus
...
issue7737
review60381002
2018-09-26 23:03:15 +02:00
Cédric Krier
f02adda81b
Fix assert in Pool.register
...
The pool is filled with (cls, depends) so the assertion should be done only on
the list of cls.
issue7728
review66411002
2018-09-25 22:20:16 +02:00
Udo Spallek
75be7e9683
Clean install requirements
...
ipaddress and mock are part of stdlib in Python 3.4 at least.
issue7709
review48611002
2018-09-21 10:56:53 +02:00
Cédric Krier
e14201731a
Merge fs_values when extending record from other module
...
When a module extend a record from another module, it should not erase the
fs_values of the original module but instead extend it. So the data is not
considered out of sync.
issue7693
review70371002
2018-09-19 00:15:05 +02:00
Sergi Almacellas Abellana
615e50e080
Update documentation to use "activate-dependencies" instead of "install-dependencies"
...
issue7343
review52481002
2018-09-17 09:40:18 +02:00
Cédric Krier
b80f1da93e
Remove migration before 3.0 in convert.py
...
issue6470
review60341002
2018-09-14 08:28:51 +02:00
Cédric Krier
fa0ee967fa
Log configuration that are not loaded
...
issue7690
review64361002
2018-09-12 12:47:40 +02:00
Cédric Krier
81375e0d45
Use callable instead of instance of collections.Callable
...
issue7666
review50571002
2018-09-11 00:19:52 +02:00
Sergi Almacellas Abellana
3c80cfd8c4
Allow non translatable reports
...
issue4033
review56361002
2018-09-07 16:23:52 +02:00
Cédric Krier
12f6582e08
Rename tryton-dialog-* icon into tryton-*
...
issue474
2018-09-06 10:01:11 +02:00