Commit Graph

111 Commits

Author SHA1 Message Date
Marcos Oitabén Fernández 7355517912
Merge 03c9cc53d3 into b37b684d6c 2024-01-08 09:17:48 +00:00
OCA-git-bot b37b684d6c [BOT] post-merge updates 2024-01-08 08:39:21 +00:00
oca-ci 753baf3b26 [UPD] Update server_environment.pot 2024-01-08 08:37:35 +00:00
OCA-git-bot 9c834bf7a2 Merge PR #168 into 17.0
Signed-off-by gurneyalex
2024-01-08 08:36:00 +00:00
Marcos Oitaben 03c9cc53d3 [MIG] mail_environment: Migration to 17.0 2023-11-15 15:12:28 +01:00
Marcos Oitaben 35e6ef913a [17.0][FIX]server_environment: custom fields must start with x_ 2023-11-15 14:43:38 +01:00
Marcos Oitaben c02c521b63 [IMP] mail_environment: pre-commit stuff 2023-11-15 11:23:01 +01:00
Ivorra78 12ed9db58f Translated using Weblate (Spanish)
Currently translated at 100.0% (6 of 6 strings)

Translation: server-env-16.0/server-env-16.0-mail_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-mail_environment/es/
2023-11-15 11:23:01 +01:00
Steven Orvis 6e1023cf1b [FIX] README to specify server_type instead of type to match the model 2023-11-15 11:23:01 +01:00
Stefan Rijnhart 8b43d004bc [FIX] mail_environment: add search field for fetchmail.server's is_ssl
Fixes

```
while parsing /home/odoo/16.0/addons/mail/views/fetchmail_views.xml:88
Error while validating view near:

                    <separator/>
                    <filter string="SSL" name="ssl" domain="[('is_ssl', '=', True)]" help="If SSL required."/>
                    <separator/>
                    <filter string="Archived" name="inactive" domain="[('active', '=', False)]"/>
                </search>
Unsearchable field 'is_ssl' in path 'is_ssl' in domain of <filter name="ssl"> ([('is_ssl', '=', True)]))
```

While upgrading --all on a setup with mail_environment installed.
2023-11-15 11:23:01 +01:00
Adrien Peiffer 9c60fa325f [MIG] mail_environment: Migration to 16.0 2023-11-15 11:23:01 +01:00
jsanchez 954472332c [MIG] Migrate to version 15.0 2023-11-15 11:23:01 +01:00
Stéphane Bidoul 678d8dda64 Remove en.po 2023-11-15 11:23:01 +01:00
sbejaoui f326f769d1 [14.0][MIG] - migration mail_environment 2023-11-15 11:23:01 +01:00
Anna Janiszewska 2ddb7625db [FIX] mail_environment: fix server_type field 2023-11-15 11:23:01 +01:00
Guewen Baconnier a5ba449ea6 Run pre-commit (black, isort) 2023-11-15 11:23:01 +01:00
Alexandre Fayolle e27bffa1fb [MIG] mail_environment to 13.0 2023-11-15 11:23:01 +01:00
Alexandre Fayolle a735961096 [REF] mail_environment: Black python code 2023-11-15 11:23:01 +01:00
Rodrigo Macedo e819061533 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (6 of 6 strings)

Translation: server-env-12.0/server-env-12.0-mail_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-12-0/server-env-12-0-mail_environment/pt_BR/
2023-11-15 11:23:01 +01:00
sebalix 59a3fc25e0 [MIG] mail_environment: Migration to 12.0 2023-11-15 11:23:01 +01:00
sebalix de9c2c0e25 [IMP] mail_environment: new README structure 2023-11-15 11:23:01 +01:00
Guewen Baconnier f7c312db9d Infer configparser getter from field type 2023-11-15 11:23:01 +01:00
Guewen Baconnier d817151e5e Use new server.env.mixin in mail_environment 2023-11-15 11:23:01 +01:00
Simone Orsi 86e946cc68 [11.0][MIG] mail_environment 2023-11-15 11:23:01 +01:00
Stéphane Bidoul (ACSONE) b0c8eeb66d [FIX] mail_environment must not depend on server_environment_files
Depending on server_environment is enough
2023-11-15 11:23:01 +01:00
Yannick Vaucher bf2c10a5a0 README.rst - Fix layout 2023-11-15 11:15:28 +01:00
Guewen Baconnier aa063274d0 Migrate mail_environment to 10.0 2023-11-15 11:15:28 +01:00
Pedro M. Baeza 507126258b [MIG] pre migration changes
[MIG] Rename manifest files
2023-11-15 11:15:28 +01:00
Alexandre Fayolle 6b9aacc7a8 9.0 migration of mail_environment 2023-11-15 11:15:28 +01:00
Pedro M. Baeza b94a900177 [MIG] Make modules uninstallable 2023-11-15 11:15:28 +01:00
Stéphane Bidoul 66c3a7c9ad [UPD] prefix versions with 8.0 2023-11-15 11:15:28 +01:00
Holger Brunn 0956bea04e [FIX] like #230, but for mail_environment 2023-11-15 11:15:28 +01:00
Yannick Vaucher 5b0e9e3971 Add missing default oca icons 2023-11-15 11:15:28 +01:00
Alexandre Fayolle 5e129c8ebd fix runbot warning
rename *_xml entries in manifest
2023-11-15 11:15:28 +01:00
Alexandre Fayolle fd9a34ee05 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2023-11-15 11:15:28 +01:00
Guewen Baconnier 9953a5ad54 mail_eniroment misc improvements
* Move mail_environment in root folder
* Use absolute imports for openerp and new Model classes
* Use cr argument instead of cursor, propagate context
* Update fields, remove deprecated 'method' argument, change 'states'
  otherwise the fields are not readonly (seems that the 'states' of the
  original field is kept.
* Activate the installable flag
* Indentation of the view with 2 spaces
* Remove only the attrs attribute instead of redefining the whole field
* pep8
* crm is not a dependency for mail_environment
* Fix typo in manifest
2023-11-15 11:15:28 +01:00
Jose Morales c39ccff7f1 [IMP] 7.0 no view type required 2023-11-15 11:15:28 +01:00
Joel Grand-Guillaume 5598aaf162 [FIX] Add fnct_search on type in order to avoid error when ir.cron run the fetch task 2023-11-15 11:15:28 +01:00
@ 73cb79cd05 [IMP] mail_environment misc 2023-11-15 11:15:28 +01:00
Joël Grand-Guillaume 43a618b107 [add] mail_environment 2023-11-15 11:15:28 +01:00
Marcos Oitaben 344d6a7582 [MIG] server_environment: Migration to 17.0 2023-11-14 14:13:43 +01:00
Marcos Oitaben 1748ef0a01 [IMP] server_environment: pre-commit stuff 2023-11-13 08:34:15 +01:00
Ivorra78 3bdf064def Translated using Weblate (Spanish)
Currently translated at 100.0% (107 of 107 strings)

Translation: server-env-16.0/server-env-16.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment/es/
2023-11-13 08:34:15 +01:00
Stéphane Bidoul 399d7aef0c Cache get_serverenvironment() 2023-11-13 08:34:15 +01:00
Stéphane Bidoul 9d7e6fe8b9 [FIX] don't use deprecated get_default_locale 2023-11-13 08:34:15 +01:00
Ivorra78 22425ec8ff Translated using Weblate (Spanish)
Currently translated at 65.4% (70 of 107 strings)

Translation: server-env-16.0/server-env-16.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment/es/
2023-11-13 08:34:15 +01:00
Francesco Foresti b2f9c69a65 Translated using Weblate (Italian)
Currently translated at 6.5% (7 of 107 strings)

Translation: server-env-16.0/server-env-16.0-server_environment
Translate-URL: https://translation.odoo-community.org/projects/server-env-16-0/server-env-16-0-server_environment/it/
2023-11-13 08:34:15 +01:00
Quentin Groulard e90a7555fb [IMP] Server env default fields string
Not all fields have their string in the args, but '.string' returns the computed (based on field name) string if not set in the args.
2023-11-13 08:34:15 +01:00
Simone Orsi 8df08c4ecc server_env: fix inverse method (closes #151)
``odoo.fields.determine`` requires inverse methods to have ``__name__`` attribute.
Unfortunately with ``partialmethod`` this attribute is not propagated
even by using ``functools.update_wrapper``.
In any case, `update_wrapper` would propagate the wrapped func name
which is not the same here.

Introduced by 36544651f2
2023-11-13 08:34:15 +01:00
Ivàn Todorovich d847929adb [IMP] server_environment: don't print stack trace when the field can't be read 2023-11-13 08:34:15 +01:00