Commit Graph
120869 Commits
Author SHA1 Message Date
Nicolas Seinlet 8da4007bae [FIX] mail: is_blacklisted is group protected
as the field is_blacklisted require the group base.group_users,
attrs using is_blacklisted should also use this group
2018-09-24 17:45:57 +02:00
Martin Trigaux c3270c4998 [FIX] project: default value should be translatable 2018-09-24 16:26:38 +02:00
Xavier Morel c9e421a12d [FIX] *: move some data over from root to admin
* "alert" mail alias, could be useful for the admin to get these
* the weekly mail digest
* the getting started project (& its tasks)
2018-09-24 15:55:06 +02:00
Xavier Morel e1837721a8 [FIX] *: reassociate various demo data to admin instead of root 2018-09-24 15:55:06 +02:00
Martin Trigaux 6ce2354d68 [I18N] project: make label_tasks translatable 2018-09-24 15:45:55 +02:00
RomainLibert 949381680f [FIX] crm: don't change sale team when salesman hasn't got one
We shouldn't overwrite the saleteam when changing to a salesman that is
linked to no salesteam
2018-09-24 14:58:02 +02:00
ThanhDodeurOdoo b428bf1023 [FIX] ir.attachment: thumbnails.
- attachments with res_field do not get thumbnails anymore.
2018-09-24 14:37:59 +02:00
Nimesh Jethva dd7c0774de [IMP] project: improve project form view usability
Some points have to be improved

 * 'Name of the tasks' field should always be visible. It shows the user such
   a change in configuration is possible;
 * tasks stat button is a way for the user to create a new task from the
   project form view. Just like the subtasks stat button that always shows
   on the task formview;
 * as he might be changing the 'name of the tasks', he should see the
   consequence of this change in the stat button (as the 'name of tasks'
   field might not directly speak to everyone, it is a way to show them what
   this field does);

This commit is linked to task ID 1884015 and closes PR #26906 .
2018-09-24 14:27:44 +02:00
Fabien Pinckaers c53da322a9 [IMP] website: SEO dialog, remove trach icon in th (it's not clickable) 2018-09-24 14:15:15 +02:00
Fabien Pinckaers 8a487a2ba4 [IMP] website: SEO dialog CSS html cleanup 2018-09-24 14:12:11 +02:00
Hiral Bhavsar 78c16df769 [FIX] stock_account: Removed filters
Purpose : remove the "Available Products", "Exhausted Products" and
 "Negative Products" filters from 'Inventory Valuation' as these filters
 are not working. They are defined on product.product.qty_at_date that
 is not stored.

Related to task: 1886360
2018-09-24 14:10:49 +02:00
Arnold Moyaux 0ce512d211 [IMP] stock: package.destination kanban view
Add a kanban view in order to have a better display when the user is in
mobile mode.

task-1872345
2018-09-24 14:02:08 +02:00
Adrien Dieudonne a533b9f290 [FIX] web: graph_renderer: show graph title
Since odoo/enterprise@e3b0d2a, the title wasn't set anymore.

This logic is now moved in the graph renderer to be able to
set a title in every graphs.

For now, we only use the title attribute for pie charts embedded
in dashboard views.
Additional tests has been added in 'web_dashboard' (enterprise).
2018-09-24 13:22:06 +02:00
Jeremy Kersten 411ce6a79e [FIX] website: don't force website_id on view in all cases
It make test of studio red, and better to have website broken that studio
2018-09-24 12:45:07 +02:00
Olivier Dony cb2862ad2a [IMP] core: require install mode for db bootstrap
The registry loading system should not alter databases unless it is
asked to do so, by a module installation or update instruction.
This property should hold true as well for database bootstrap, and this
is what this commit changes..

In order to avoid any behavior change for command-line users, an
implicit `-i base` is assumed when starting the server from the
command-line with `-d <db>`, causing the db boostrap to happen if the
database did not exist yet.
2018-09-24 12:30:49 +02:00
qsm-odoo 925fdbc683 [IMP] website: add snippets showcase demo data
Reaching the URL /demo/snippets-debug will now showcase all snippets
*automatically* (if a theme uses different snippets or if the snippets
change in the future, this page will not have to be adapted).
2018-09-24 12:20:35 +02:00
qsm-odoo 9f2750d9eb [IMP] website: add BS4 showcase demo data
Reaching the URL /demo/bs-debug will now showcase all bootstrap main
components and utilities.
2018-09-24 12:20:35 +02:00
sri-odoo 2b9cad5953 [FIX] web: table rows' contextual color
Increase readability for contextual (success, warning..) table rows.
2018-09-24 12:16:12 +02:00
sri-odoo 8052553893 [FIX] web: correctly set 'text-muted' color value 2018-09-24 12:16:12 +02:00
Mathieu Duckerts-Antoine 5ca2d15b24 [IMP] web: center texts of measures cells in pivot view 2018-09-24 11:41:41 +02:00
Toufik Benjaa 8d090e0835 [FIX] sale: crash when creating a transaction
- When creating a transaction, the method render_sale_button was called
  with an extra parameter.
2018-09-24 11:21:16 +02:00
mreficent a2632331fb [FIX] account: fix undefined variable type
Commit 82e1aed split a method in two methods and the field type was not copied

Closes #27159
2018-09-24 10:33:57 +02:00
Martin Trigaux 19523ea21b [IMP] base: use a generic warning message
l10n_mx_edi is a specific enterprise module
amount_to_text may be used in different modules (e.g. account_check_printing)
2018-09-24 09:58:21 +02:00
Odoo Translation Bot 1d79bf0273 [I18N] Update translation terms from Transifex 2018-09-23 02:29:29 +02:00
Jeremy Kersten 5eb674e03f [FIX] wesbite*: reorder res_setting form views
FGI request
https://drive.google.com/file/d/1S2LnQtFgA4zIaTMcK2LkFsp11buruJjn/view
2018-09-21 19:04:18 +02:00
Jeremy Kersten acc77825f5 [FIX] website: settings - allow uncheck of social network 2018-09-21 18:20:00 +02:00
Jeremy Kersten 1f0edacdf2 [FIX] website: remove domain on website demo data
Remove demo data for domain to make it usable on runbot.
Before this commit, when you switch on runbot to website 2, you was redirected
to 0.0.0.0.

+ add tooltip (fgi request)
2018-09-21 18:20:00 +02:00
Jeremy Kersten 663da0684a [FIX] website: improve update theme
Before this commit, it remove and reload the theme.
Now we try to make a real update of view except for active field

We cannot know if it is True into the template or if it is the default value.
2018-09-21 18:20:00 +02:00
Sébastien Theys 39d1d3013f [IMP] event_sale: add "editable" on SO when removing event_sale
Previously, removing event_sale would keep the updated groups_id. We want to have a way to get rid of it, which is now by removing the module.
2018-09-21 18:05:37 +02:00
Thibault Delavallée 23163a9c82 [IMP] project: light improvement of project portal page to match new page display
It was rendering quite badly compared to other new portal pages.
2018-09-21 17:12:55 +02:00
Thibault Delavallée 3652427c75 [FIX] project: fix display of rating page for projects
Display was ugly and using only a small part of the screen. Let us use the
whole available space.

This commit is linked to task ID 1880739.
2018-09-21 17:11:58 +02:00
Thibault Delavallée a1127326ee [FIX] project: fix typo in project portal rating 2018-09-21 17:11:55 +02:00
Thibault Delavallée 4381749239 [IMP] digest: correctly support studio fields in digest
Studio fields are prefixed by x_studio, not only x_ which are simple custom
fields. This commit update the field name check to correctly include fields
created through studio.

As studio automatically add x_studio as prefix help is updated to tell
users to only use kpi_ as prefix for their digest fields. Result will
be x_studio_kpi_foo and x_studio_kpi_foo_value which are the value digest
needs to run.

This commit is linked to task ID 1887619.
2018-09-21 17:08:58 +02:00
Martin Trigaux ae1fed50d5 [I18N] export saas-11.5 source terms 2018-09-21 16:32:59 +02:00
Yannick Tivisse 9e3a2eff61 [IMP] models.py: Log a warning if no '_description' is set on model 2018-09-21 16:13:59 +02:00
Yannick Tivisse c67ac34ee4 [IMP] base: Add missing _description on models 2018-09-21 16:13:59 +02:00
TWA 8a1815b31e [ADD] partner_autocomplete: autocomplete data on partners creation 2018-09-21 14:06:01 +02:00
Antony Lesuisse a6e1eb9f0a [ADD] partner_autocomplete: Added autocomplete on partners fields
For Name field or M2O, gives a list of companies
Data comes from Odoo IAP Service
2018-09-21 14:02:22 +02:00
David Beguin bbc7e9586d [FIX] hr_attendance : fix kiosk mode - js review
The main goal here is to avoid using a global variable.
The greeting message _onBarcodeScanned bus can be stoped right after
the barcode_scanned as every time a barcode is scanned, it creates
a new instance of the greeting message.

Some other JS guidelines are also applied here.

Special thanks to Martin Geubelle (@mge-odoo) for helping me on this.

[TEST] hr_attendance : add test for multiple quick scan in kiosk mode

Glorious thanks to @RomainLibert who fu**s off his brain to help me
understand what was really going on and how to simulate the
functional behaviour of Greeting Message kiosk stuff.

Task ID 1878251
Closes PR #27127
2018-09-21 13:59:05 +02:00
TWA ce16d0d2ab [IMP] partner_autocomplete: convert po from base_vat_autocomplete 2018-09-21 13:53:11 +02:00
Antony Lesuisse 99ec0c147d [MOV] partner_autocomplete: move pot from base_vat_autocomplete 2018-09-21 13:53:11 +02:00
TWA 776329d608 [IMP] iap: fetch balance on distant server
Added an 'Insufficient credit' flag on the account as well as the
possibility to consult the balance.
2018-09-21 13:53:11 +02:00
Rémi Rahir 0df593f2fe [IMP] snailmail: adding dbuuid to the request for free credits
change the payload of a request to adapt to 2cd0b6acf1e22642607edf05a220f5ab8af12164.
2018-09-21 13:48:56 +02:00
Rémi Rahir a0b7802a5e [WIP] iap: adapt the charge to trail system.
We added the possibility to provide the dbuuid of the client when trying
to authorize a transaction. This will allow to automatically credit the
client accounts that can beneficiate from free trial credits. This
improvement will ease the life of the client as they will not have to go
to iap.odoo.com to charge their account.
2018-09-21 13:48:56 +02:00
Jeremy Kersten 092870270e [FIX] website: allow to get current website without fallback
Before this commit, when we ask for get_current_website, we always
get one website. If we don't know which, we took the first one.

Now we can ask, if we are into a website context or not with a new argument fallback.

Previous code like:
   website = get_current_website()
   if website:
       ...
Have now a sense ;)
2018-09-21 13:24:03 +02:00
Jeremy Kersten bcf8bb833a [FIX] website_sale: bs4 - allow to fold/unfold checkout summary in small screen 2018-09-21 13:24:03 +02:00
sri-odoo 63e54c2c71 [REF] auth_oauth: Login screen adjustments
Dinamically adjust margins and form size according to auth methods available.
The vertical margin on the "- or -" text it's needed to provide visual separation between default and auth logins, but it shuldn't be huge in case of just 1 or 2 methods.

This commit closes #27059
2018-09-21 13:24:03 +02:00
Raphael Collet 0f04b64544 [FIX] base: put loaded XML ids in a set (no need for a dict)
This is simpler, cleaner, and has a smaller memory footprint.
2018-09-21 13:21:49 +02:00
Olivier Colson 7b8b477915 [FIX] crm: demo data: properly link attachment to lead and assign main attachment field
For consistency between the behavior of the platform and the demo data.
2018-09-21 13:10:16 +02:00
Olivier Colson 5c6673c462 [REF] mail: set message_main_attachment_id in message_post_after_hook function instead of directly in message_post
This kind of pos-processing should always be done in the hook method.
2018-09-21 13:10:16 +02:00