Cédric Krier
ca2b442afc
Add depends on Pool.register
...
issue7178
review37051002
2018-03-20 17:27:12 +01:00
Cédric Krier
e7e4472c03
Allow to include mixin to pool objects
...
issue4735
review41751002
2018-01-12 15:46:52 +01:00
Cédric Krier
473ac78eb4
Add exceptional parent language
...
issue6956
review40821003
2017-11-25 22:00:24 +01:00
Cédric Krier
52ddc85f1a
Use entry point name instead of last module name
...
issue6761
review37681002
2017-09-19 23:21:55 +02:00
Sergi Almacellas Abellana
e3455875fb
Add option to install module dependencies with trytond-admin
...
issue5696
review29361002
2017-06-30 09:50:49 +02:00
Cédric Krier
cdc5952145
Manage Cache in Transaction
...
issue6216
review33021002
2017-02-02 12:04:27 +01:00
Nicolas Évrard
7ca35d67ee
Fix missed renaming of install to activate (take II)
...
issue1456
2016-10-21 17:59:44 +02:00
Nicolas Évrard
d5e24102f3
Fix missing renaming of install to activate
...
issue1456
review28941002
2016-10-21 12:44:57 +02:00
Cédric Krier
d305c26e54
Add support for derivative translations
...
This is done by calling first the getter method for the parent language for the
terms that are not yet cached. After existing translations are set for the
language. And finally the result is stored in the cache.
The synchronisation wizard remove also the translations that are identical to
their parent language.
The method load_module_graph adds all parent languages to be loaded for
derivation.
issue5443
review25581002
2016-09-10 23:25:03 +02:00
Sergi Almacellas Abellana
5353de2e1e
Translation import should accept a list of file names
...
This will prevent deleting valid translations when a module defines multiple
translation files for the same language.
issue5733
review32321002
2016-08-01 10:03:23 +02:00
Cédric Krier
a650e8469f
Speed up pool setup
...
We split the operations into two steps, so we can do the setup calls at the end
if there is no installation or update.
issue5302
review17041002
2016-03-17 22:56:58 +01:00
Cédric Krier
6a60572576
Transaction needs to be committed before reseting the Cache
...
Cache.resets create a new transaction but SQLite keeps a lock from the previous
transaction is it was not committed.
This commit was removed by changeset 9b2e0aac2d9c
issue5388
review16071002
2016-03-16 22:07:46 +01:00
Nicolas Évrard
2fef479575
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:51:57 +01:00
Cédric Krier
70827fe06b
XML files must be open in binary mode for sax parser
...
The sax parser expect a byte stream, so we must open the file with the binary
mode. Also file_open should have a default encoding to None because encoding
should not be set in binary mode.
issue5313
2016-02-09 22:45:44 +01:00
Sharoon Thomas
89de660c52
Move webdav into a separate module
...
issue4703
review7101002
2016-01-16 19:20:30 +01:00
Korbinian Preisler
c849f0be8b
Allow to import overridden translations from different po-file
...
issue4971
review18581002
2015-09-26 15:23:43 +02:00
Cédric Krier
7459aab3d1
Use CURRENT_TIMESTAMP instead of NOW
...
CURRENT_TIMESTAMP is the correct SQL standard way.
issue4837
review15531002
2015-07-01 19:41:49 +02:00
Cédric Krier
52ff97b165
Rename ir.module.module* into ir.module*
...
issue4764
review7171002
2015-05-28 21:02:01 +02:00
Cédric Krier
39e7eeeadb
Add support for psycopg2cffi and PyPy
...
issue4408
review11741002
2015-03-15 15:52:03 +01:00
Cédric Krier
20484bb013
Fix formatting in logger calls
2015-03-05 11:32:18 +01:00
Cédric Krier
0ac0990c77
Improve logging
...
issue4458
review11781002
2015-03-02 23:39:15 +01:00
Guillem Barba
21ed4772e5
Recover uninstall modules feature
...
Manage case when state is 'to remove'.
issue322
review7881002
2015-01-16 10:21:52 +01:00
Cédric Krier
c144f8c349
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:01 +01:00
Robin Baumgartner
e70973cac8
Remove workflow migration
...
issue4281
review13701002
2014-11-18 16:36:49 +01:00
Cédric Krier
fb3eb72d16
Fix wrong is_module_to_install test introduced in changeset b0a271549ddd
2014-09-13 13:56:43 +02:00
Cédric Krier
7b3757f5a1
Merge update and init options and improve help message
...
- deprecates the init option
- replace the keyword "all" by an option "--all"
- rename debug into dev like in the client
issue4165
review7571003
2014-09-13 12:17:13 +02:00
Cédric Krier
34367b037c
Missing initialisation of update parameter in load_module_graph
...
Since changeset 01399128964f, update must be a list of module to update.
2014-09-06 16:17:21 +02:00
Cédric Krier
e0b995abbe
Refactore configuration to allow easy extention
...
issue3627
review7401002
2014-09-03 23:32:01 +02:00
Cédric Krier
ab820aecf5
'res' should be global in load_modules
...
issue4045
2014-07-20 12:39:15 +02:00
Cédric Krier
bc6acd08ee
Drop support of Python 2.6
...
review2691002
2014-01-31 00:02:03 +01:00
Jean CAVALLO
90cf6b031d
Properly calculate the module states when upgrading
...
issue3518
review1871002
2013-11-26 11:25:36 +01:00
Cédric Krier
41d2aa44ea
Ignore "noupdate" attribute when installing a new module
...
issue2854
review631004
2013-09-20 00:36:00 +02:00
Cédric Krier
ab74123eb2
Merge test/ into tests/
...
review1060002
2013-09-16 11:38:11 +02:00
Cédric Krier
fc6c6cfdda
Migration to python-sql
...
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method
review1001002
2013-09-06 22:32:37 +02:00
Albert Cervera i Areny
b6f7d34397
Remove unnecessary stdout.flush().
...
There's no apparent need for the flush() call and it makes trytond crash when
stdout has been redirected.
issue3286
review974002
2013-07-12 16:49:51 +02:00
Cédric Krier
0c25656726
Correctly compute missing dependencies
...
review935002
2013-06-26 16:37:03 +02:00
Cédric Krier
5e01f5c068
Fix flake8
2013-02-27 22:50:31 +01:00
Cédric Krier
e30c4e51a1
Fix wrong instantiation when removing module
...
issue3025
review689002
2013-02-26 13:03:31 +01:00
Laurent Defert
d06955421c
Remove deprecated reports initialization
...
Remove code that used to initialize reports with undefined classes.
This initialization is done from Pool.get() method instead.
issue2933
review611004
2012-12-18 15:40:33 +01:00
Cédric Krier
f7b8ad485e
Factorize load of module
...
The test for register on module should be done also on egg modules.
issue2853
review586002
2012-10-24 23:38:12 +02:00
Cédric Krier
4c223a2b64
Fix delete to use list of instance
...
issue2821
2012-10-10 11:29:46 +02:00
Jean CAVALLO
feef05415e
Improved error management in module registering
...
A try in the register_classes method which was supposed to detect
the absence of the register method could hide errors in the
__init__ file of the module and silently go on.
issue 2806
revision545002
2012-10-10 10:55:53 +02:00
Cédric Krier
0fe1b93864
Active Record
2012-09-24 22:16:53 +02:00
Cédric Krier
7f2b4a30dc
Fix installation of modules that are not yet in the database
...
review479002
2012-08-23 23:22:48 +02:00
Cédric Krier
a09d9a54a1
Simplify module information with python configuration
...
review363001
2012-06-08 19:32:23 +02:00
Cédric Krier
8c7edb3394
Don't alter CONFIG to init/update children modules
2012-06-08 18:56:52 +02:00
Cédric Krier
edce92263b
Fix missing update of depending modules
2012-06-02 13:51:37 +02:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Cédric Krier
be0e5c54a9
Simplify workflow engine
...
- Remove workflow module
- Add ir.model.button for access rights
review256001
2012-03-25 00:15:17 +01:00
Cédric Krier
423983c5de
Speed up bootstrap of the server (and remove sql import)
...
review292001
2012-03-20 17:50:17 +01:00