Christophe Simonis
bd3869bd3a
[FIX] core,google_drive: python3 compatibility
2018-01-19 13:42:26 +01:00
Christophe Simonis
2f95cfb8ed
[MERGE] forward port branch saas-16 up to f99c4f2b48
2018-01-19 12:43:58 +01:00
Lucas Perais (lpe)
5140d3d10f
[FIX] google_drive: adpating to new framework JS
...
The google_drive module has not been converted to the new Odoo Javascript framework, and hence was not even started.
This commit corrects that.
The logic is essentially the same as in previous versions
The test implemented contains an inevitable hack that makes sure no other test is affected,
in particular by the new route that the module calls (and that any Sidebar will call)
OPW 801145
closes #21993
2018-01-17 09:35:32 +01:00
Vandan Shah
76fc68a9fc
[FIX] google_drive: Use 'get' instead of 'post' in 'copy_doc'
...
Purpose
=======
This chunk of code was badly converted in P3 on https://github.com/odoo/odoo/commit/01e35141479b8dfc4a390518f89fc52e7cec5396#diff-6ad3d62d2147f2fef519473f2576b459R94
2017-11-30 13:01:33 +01:00
Yannick Tivisse
781a03b2bc
[IMP] res_config: Update file names, xmlids, class names according to guidelines
...
Now that we only have one model (res.config.settings). Uniformize everything according to the guidelines.
2017-09-01 13:03:18 +02:00
Deep Patel
898224f110
[IMP] web,account,...: Regroup settings, add a nav and search bar
...
Purpose
=======
Settings are often way too long and hard to scan and sometimes you don't know where to find the settings you're looking for.
By adding a left navigation, you can already have an overview of the settings, and switch easily between them.
Specification
=============
- Add a search bar on all the apps that have settings which can search results from all the installed apps.
(If i'm on sales settings,and I search anything then it shows results from sales settings and also shows
all the other matching results from all the other apps such as, Inventory...etc) with app name.
- Able to activate feature from the current page results (no matter if the searched result is from another apps).
- Highlight searched word in results
- Delete the sheet, have a full white background
- Add left navigation bar on setting
- Left navigation bar fixed
- List displayed based on installed apps
- On right panel, by default display current app setting and change accordingly
- [Mobile] Left navigation bar displayed on top
- Add Breadcrumb on top of the page: have the name "Settings" + Save / discard CTA + Search
- Add General Settings on the nav bar
- remove "save this page..." notif in all settings
- Delete all recommanded apps section + all checkbox that install app should disappear:
payroll: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrSkMzWVpuZ0ZoaFE/view?usp=drivesdk
Events: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrYXlHMHd2NTM2blE/view?usp=drivesdk
Manufacturing: Delete Repair - Quality Control - Maintenance - Product Lifecycle Management [LAP][ok]
Timesheets: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrdFg5XzNydkd2TlU/view?usp=drivesdk
project: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrraWo3NE04TktwcTQ/view?usp=drivesdk
inventory: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrQkRaVUR5ekFQYTQ/view?usp=drivesdk
recruitment: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrbDdqLWQweF80UkE/view?usp=drivesdk
purchase: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrRlAyUDBnb0trQWs/view?usp=drivesdk
email marketing: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrOUZONjhvX2k3Y2s/view?usp=drivesdk
expenses: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrR0JpN1ZpQmtxU3M/view?usp=drivesdk
attendances: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrralpjZ1VJclNpMWs/view?usp=drivesdk
- About duplicate settings:
Docsaway: Delete from Sales + delete Default Print Provider
Attributs & Variants: Delete from Purchases - Manufacturing
Multi-currencies: delete from Sales
Unit Of Measures: Delete from Purchase & Expenses
- Add a scroll bar on the left bar when there's too many apps
- Keep the navbar visible even when you search
- Move General Settings to the bottom of the list
- Update on Settings:
- Accounting:
- rename automatic rates
- Anglo Saxon Account: Should be in technical feature
- Place Accounting Reports section before Taxes section
- CRM:
- Phone Validation: Enforce international format becomes
- Local Numbers: (2 radio buttons proposals) Add international prefix / No prefix
- Fleet: typo " ... a new car if ..." + text is too long <br>
- project: fix tooltip for colab pads
2017-09-01 13:02:54 +02:00
Christophe Simonis
bf51fe55a1
[MERGE] forward port branch saas-16 up to 0f2b2c4e2b
2017-07-07 14:30:30 +02:00
Christophe Simonis
7dc731db83
[MERGE] forward port branch saas-15 up to 1f16d34aaa
2017-07-06 13:54:22 +02:00
Christophe Simonis
5009752dcf
[MERGE] forward port branch 10.0 up to 1206cc3f7d
2017-07-06 13:05:24 +02:00
Christophe Simonis
1206cc3f7d
[MERGE] forward port branch saas-11 up to 5f7f3209e0
2017-07-06 12:30:51 +02:00
Yannick Tivisse
100f320217
[REF] base/res_config: Deprecate get_default_foo and set_foo
...
Currently, all the methods that start with `get_default_` and `set_` are called on a res.config.settings loading or saving.
This commit purpose is to replace all the occurences of `get_default_foo` and `set_foo`. As these methods won't be called anymore, a warning is logged to notice its deprecation.
The generic method `get_default_fields` and `set_fields` could be improved too. The method names and API are not so good:
Why "default" fields? What you ask for is the current value of the stuff, shown as fields in the model. The values are fed as default values in the wizard, but that's an implementation trick.
Why "fields"? What you ask for are configuration parameters, and such things.
Why passing a list of fields? Its value is never used.
We should further simplify the API of both methods to something like
def get_values(self):
return {}
def set_values(self):
pass
2017-06-19 17:37:38 +02:00
Yannick Tivisse
a38a3e93c2
[MOV] *: Reorganize configuration files according to guidelines
2017-06-19 17:37:38 +02:00
Xavier Morel
01e3514147
[FIX] P3: urllib, urllib2 and urlparse
...
In Python 3, all of these were "consolidated" under urllib(.request,
.parse, .errors) which is inconvenient.
Since we already have hard dependencies on requests and
werkzeug(.urls, which is a backport of Python 3's unicode-aware
urllib.parse) migrate *everything* to that.
A sticking point is urllib2.URLError, those were (mostly) replaced by
the slightly more general IOError which URLError extends.
2017-05-15 12:26:30 +02:00
xmo-odoo
b4429c2a91
[FIX] Various P3-related import changes
...
* LDAP import: python-ldap is not python3-compatible, pyldap is
Warning: only supported from debian Stretch (current testing)?
https://packages.debian.org/search?searchon=names&keywords=pyldap
* implicitly relative imports
* imports of moved or removed stdlib modules
issue #8530
2017-04-28 09:06:53 +02:00
Raphael Collet
d0ca2d115e
[REF] ir_config_parameter: remove group_ids and simplify
...
Add `sudo()` to call `get_param` where necessary, and make the web client use a
controller instead of directly accessing parameters.
2017-01-03 16:52:49 +01:00
Raphael Collet
bf668b64c1
[IMP] all: clean usage of safe_eval
...
Specifically: do not import `safe_eval` as `eval`, keep it explicit instead.
2016-08-11 15:36:56 +02:00
rap-odoo
a5e7a4c8ae
[IMP] Account,...: Change 'string' attribute on some fields to avoid repeated names
...
In odoo at many places the filter items are having repeated strings eventhough the
fiter works differently , so find all the places where this happens and give
proper string to each filter..
2016-06-08 14:02:23 +02:00
Jérome Maes
36fa95df0b
[IMP] google_drive : make it use the constant defined in google_account
2016-05-31 09:09:23 +02:00
Jérome Maes
1d67e4982d
[IMP] google_drive : allow to remove drive access token
...
Before, we submitting empty token field on General Settings, it did not remove the token from database.
2016-05-31 09:09:22 +02:00
vbh-odoo
3174d2f56e
[MIG] google_drive : migrate to new api
2016-05-31 09:09:22 +02:00
Jérome Maes
b581e2004f
[MOV] google_drive : move code to split file per model
2016-05-31 09:09:22 +02:00
vbh-odoo
009578d5ee
[MOV] google_drive : reoganise module directory
2016-05-31 09:09:21 +02:00