Commit Graph
126133 Commits
Author SHA1 Message Date
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
David Tran cf30f35f3e [FIX] base: address_format for Vietnam
Vietnam address should come with Province name, not `state_code`

Closes #27164
2018-09-24 10:21:04 +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
Goffin Simon 1ec6c069aa [FIX] base: Traceback when uploading a file with no ASCII name
When trying to upload a file with no ASCII name, it raised a
traceback saying: "UnicodeEncodeError: 'ascii' codec can't encode character ..."

opw:1886602
2018-09-24 09:25:53 +02:00
Odoo Translation Bot 2521b9990e [I18N] Update translation terms from Transifex 2018-09-23 07:02:35 +02:00
Odoo Translation Bot 1d79bf0273 [I18N] Update translation terms from Transifex 2018-09-23 02:29:29 +02:00
Odoo Translation Bot facc3b9a63 [I18N] Update translation terms from Transifex 2018-09-23 00:28:15 +02:00
Christophe Simonis 64484e0544 [MERGE] forward port branch saas-15 up to c74e1ae51a8
closes odoo/enterprise#2707
2018-09-22 19:41:40 +00:00
Christophe Simonis 6a40c6360b [MERGE] forward port branch saas-15 up to c74e1ae51a8
closes odoo/enterprise#2707
2018-09-22 19:41:40 +00:00
Christophe Simonis 6b5aadc7ce [MERGE] forward port branch saas-15 up to c74e1ae51a8
closes odoo/enterprise#2707
2018-09-22 19:41:40 +00: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
Akim Juillerat 9cc39b77fc [ADD] base: split pdf merge method
To be able to extend the way different PDFs are merged together

closes odoo/odoo#27161
2018-09-21 14:42:18 +00:00
jeffery CHEN fan 123b7138c2 [FIX] l10n_cn_small: use correct language
convert traditional chinese to simplified chinese

Fixes #21169#issuecomment-422651911
2018-09-21 16:36:47 +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
Christophe Simonis b4ddcca4ae [MERGE] forward port branch saas-14 up to 448b17e601b 2018-09-21 15:17:50 +02:00
Christophe Simonis 15f5a7fae7 [MERGE] forward port branch saas-14 up to 448b17e601b 2018-09-21 15:17:50 +02:00
Olivier Dony fe2df80d73 [FIX] mass_mailing: make campaign default to non-A/B testing
In A/B testing mode, a given recipient will only ever receive a single
email from a given mass-mailing campaign, no matter how many mailings
were sent to them.

This is useful for A/B-testing various mailings in order to check their
results. But is very difficult to understand for users who simply want
to organize their mailings into campaigns.

Additionally, the A/B testing option is hidden as a technical feature, so
it is hard to discover in order to troubleshoot unexpected number of
emails sent by a given mailing.

It will be safer to keep it off by default.
(keeping the parameter explicit, to better show that it is on purpose)

This partially reverts dee5c31264
2018-09-21 14:28:10 +02:00
Christophe Simonis d23601cc67 [MERGE] forward port branch saas-14 up to a119373b5b 2018-09-21 14:18:48 +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
Nimesh Jethva 5d45235549 [IMP]sale_*: Improvement in model description
Purpose of this commit is to give description more "business oriented"
because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers.

Related Task ID : 37311
2018-09-21 11:48:45 +02:00