Commit Graph
113169 Commits
Author SHA1 Message Date
Deep Patel bfba2c0e75 [FIX] web_editor, portal: some edition fixes
- Hide navbar divider in mobile view
- Change font to default when applying header style
- Remove form tag from media dialog search input to avoid redirection
2017-10-10 16:19:29 +02:00
Xavier Morel 7f6d32d5e0 Revert "[FIX] qwebjs: add tests to test suite" 2017-10-10 15:39:39 +02:00
Ankit Joshi f98fe5ac75 [FIX]mrp: In mo origin field shouldn't be hidden in normal mode. 2017-10-10 15:21:10 +02:00
Martin Trigaux 12ef9ed0af [I18N] base: update source terms
Was missing from previous commit
Add missing reference to sms modules in the Transifex configuration file
2017-10-10 15:18:44 +02:00
Simon Lejeune b33ef74d16 [FIX] purchase: amount of the purchase in the logged message
When a picking is created from a purchase order, a message is logged in
the chatter:  "This transfer has been created from: POXXX: XX$".

Ideally, an inventory user should not have access to the purchase
orders. Sadly, removing the access right brings a lot of access right
issues, so this commit only remove the amount from the logged message

We adapt the name_get that always displayed the total amount of the
purchase order since rev[1], as a message was logged in the chatter when
a picking is created from a purchase order and the message contained this
value.

We implement a context key to display the total amount in the name_get,
as it is used when linking a vendor bill to a purchase order.

[1] 0c618d79ff
2017-10-10 15:17:11 +02:00
Roser Garcia e277f57241 [CLA] add member in Eficent's CLA
Closes #20009
2017-10-10 15:11:25 +02:00
Richard Mathot 1bd7785c52 [FIX] crm: model does not exist anymore 2017-10-10 14:39:50 +02:00
Xavier Morel 60a207dd6c [FIX] qwebjs: add tests to test suite 2017-10-10 14:27:44 +02:00
Xavier Morel 6e646bc8bd [FIX] web: make qwebjs tests pass again
A bunch of features had been added to the qweb test files and qwebjs
did not pass them as features were either implemented differently or
not implemented at all:

* Fixed wonky and not cross-impl tests
  - added ``not`` word replacemenet to qwebjs as I wasn't sure how to
    handle that one cross-impl
* fixed t-esc/t-raw to render content *inside* the host node e.g.
  span@t-esc should render as <span>{contents of esc}</span>
* added fallback to body content if t-esc/t-raw yields an empty result
* process t-att in order with t-att-* and t-attf-* rather than before
  them both
* suppress attribute generation entirely in case of falsy value
2017-10-10 14:25:19 +02:00
Xavier Morel 1e3c76f41d [IMP] web: add web tests to regular JS suite
Remove old tests page as it was obviously unmaintained and did not run
at all...
2017-10-10 14:25:19 +02:00
Xavier Morel 6a291815e7 [FIX] doc: warning & P3 compatibility 2017-10-10 14:23:42 +02:00
Deep Patel 29cb592e6b [FIX] maintenance: typo 2017-10-10 14:06:34 +02:00
Martin Trigaux bd4cabdcd2 [I18N] synchronise v11 source terms 2017-10-10 13:44:45 +02:00
Jairo Llopis 348b2d713a [FIX] P3 syntax errors preventing compileall
Not that we really care about compileall, but some people apparently
do.

Fixes #19871

Closes #19849
2017-10-10 13:32:28 +02:00
Xavier Morel 40ca8557e9 [FIX] building documentation with P3
* fix P3 incompatibilities in doc/_extensions
* vendor pyjsdoc, strip out everything we're not using and make what's
  left P3-compatible (upstream is not P3 compliant)
* drop undeclared dependency on attrs as it turns out not to be much
  used
2017-10-10 13:29:11 +02:00
Xavier Morel 8071742959 [FIX] doc: almost all warnings & drop mercurial dependency
* fix all warnings wrt patch application & al, only warning left is
  only exercise-kanban being auto-guessed as an xml+django file and
  then lexing failed (because it's only a small snippet)
* update sphinx-patchqueue to drop the requirement on mercurial for
  patch introspection and application, though that means application
  is significantly less forgiving (fuzzy application was not
  implemented)
2017-10-10 12:26:00 +02:00
Jeremy Kersten 45085d3685 [FIX] website_event_track: fix internal error on page agenda
P3 'dict_keys' object has no attribute 'sort'

Thid commit closes odoo/odoo#19989
2017-10-10 11:01:32 +02:00
Yannick Tivisse 1df6f4c741 [FIX] ir_actions_report: Render correctly the base64 images in P3
Purpose
=======

In python2 a binary field value is retrieved as a string. Example: company_id.logo = u'xyz'

In python3 a binary field value is retrieved as a binary. Example: company_id.logo = b'xyz'

When trying to render an image on a template, we should pass a stringified version of it.

Specification
=============

Pass the method to_text in the template rendering context and use it.
2017-10-10 10:39:43 +02:00
Gorash 707c6b8016 [FIX] account: the test fail if account_batch_deposit is installed
account_batch_deposit add a button who match with the jQuery selector.
Fix also the typo string (1 = should display ^^).
2017-10-10 10:24:04 +02:00
Jos De Graeve c749067165 [FIX] doc: mention pip3 instead of pip for python mod install suggestions
Do not suggest to use pip in the logger, the system administrator may use other
tools

Closes #19949
2017-10-10 10:10:44 +02:00
qsm-odoo b719e43b15 [FIX] website: allow starting website 'animations' on #wrapwrap
Before 11.0, website 'animations' were able to be started on any DOM
element. Since 11.0, this was reduced to any DOM element inside the
main website element (#wrapwrap). This commit allows this element
to be attached a website 'animation' too.
2017-10-10 09:57:11 +02:00
Christophe Monniez bb14c41663 [REF] core: Remove psycogreen dependency
Purpose:
    The psycogreen module is unmaintained. Last source update was in
    2015 and last pypi package was in 2012. Odoo only use a small
    part of the psycogreen module that could be written directly in
    the odoo code. This commit reproduce the small function from
    psycogreen used in ODoo and remove all depencies from it.
    Also the copyright and license are honored and the documentation
    is updated accordingly.

    pypi pckage: https://pypi.python.org/pypi/psycogreen
    bitbucket repos: https://bitbucket.org/dvarrazzo/psycogreen/
2017-10-09 18:56:57 +02:00
Simon Lejeune 9d5c1801bb [FIX] mrp: _run_manufacture
There was a traceback when posting the message after creating the manufacturing
order because we rendered the 'mail.message_origin_link' with an id as
origin and not a recordset.

opw 775295
2017-10-09 17:23:30 +02:00
Xavier Morel 03a2a57163 [FIX] unfuck JS docstrings 2017-10-09 16:50:47 +02:00
mncoon e792bdbcaf [FIX] l10n_de: correction of tags for german reports 2017-10-09 15:43:28 +02:00
Pierre Masereel c7ca783e24 [FIX] stock: picking action_cancel multi
As the function 'action_cancel' is multi, we cannot  set the value
'is_locked' to True by using '='. Because it will raise an error if self
contains more or less than 1 record.

To fix this we call the 'write' method which support all cases
2017-10-09 11:51:57 +02:00
Khoi Nguyen 44f06a6646 [FIX] mrp: prevent quantity/lot/SN changes from work orders 'manager view'
This revision ensures that users cannot modify the current quantity or
enter lot numbers from the so-called manager view. This is because the
'tablet view' is not aware of the changes made in the manager view.
2017-10-09 11:11:10 +02:00
Odoo Translation Bot ded650083e [I18N] Update translation terms from Transifex 2017-10-09 10:53:17 +02:00
Stephan Rozendaal 4e91a64471 [CLA] signature for StephanRozendaal
Closes #19933
2017-10-09 10:29:57 +02:00
Pierre Masereel e7e37c70e7 [FIX] l10n_in_stock: wrong xpath
The xpath references a span that doesn't exist anymore since https://github.com/odoo/odoo/commit/ddf2b21bdf38492ce075d4ae96bb9323c6ef59dd

It has been introduce in https://github.com/odoo/odoo/commit/2b3c8e6ca9777f6264ecb3d1510dd292ed30ab9f
2017-10-09 10:26:34 +02:00
Laurent Smet c23ef9a9b6 [FIX] remove 'report' from rpc dispatcher
This feature no longer exists since 3425752eac

reported on github issue 19887
2017-10-09 10:03:22 +02:00
Adrian Torres e0b6eb3e62 [FIX] loading: Don't add None to installed apps (#19850)
Previous to this rev., sometimes None could be added
to the list of _init_modules in the registry, this would
then be problematic in ir_http since a sorted would be
performed on this list, which works in py2 but in py3
None and string can't be compared implicitly.
2017-10-09 09:35:59 +02:00
Christophe Monniez 35993ba07d [MERGE] packaging: fixing windows installer issues
Purpose:
    * when installing enterprise, postgresql refuse to install if there
    is a '+' char in the install path.
    * when uninstalling, the nssm and python dirs are not removed
2017-10-09 09:03:57 +02:00
Christophe Monniez 1ca2db0a61 [FIX] setup win32: remove python and nssm on uninstall
Purpose: When uninstalling using the windows uninstaller, python and
nssm were left beyond. This fix removes the python and nssm dirs also.
2017-10-09 08:59:20 +02:00
Christophe Monniez e63813864a [FIX] package: remove unwanted char from install path
Purpose: When installing postgresql under windows, the '+' character is
unallowed. This was creating a bug when using the windows installer the enterprise
version which derivate the install path from the version number.
2017-10-09 08:59:18 +02:00
David Monjoie 6f6f3a44e6 [FIX] iap: remove urllib3 dependency
Since it's not compatible with Python 2.
2017-10-09 08:19:15 +02:00
Christophe Simonis 09f4331c63 [FIX] readme: update badges text & color 2017-10-08 15:32:35 +02:00
Yenthe V.G fb0ee41158 [IMP] doc: update readme links to 11.0
Closes #19910
2017-10-06 12:14:31 +02:00
Jérome Maes 7081a55cb4 [FIX] sale_timesheet: wrong label in project overview 2017-10-05 15:52:47 +02:00
Jérome Maes 8b3c3c0876 [FIX] sale_timesheet: sub task should have the same so line than its parent
And the SO item is readonly for sub task, to avoid
invoice twice the timesheet of a sub task.
2017-10-05 15:52:36 +02:00
Jérome Maes 94e4f782a3 [FIX] sale_timesheet: invoiced/to invoice computation 2017-10-05 15:52:27 +02:00
Jérome Maes 146204edc0 [FIX] hr_expense: don't allow attachement edition/create from expense sheet
The attachment should be create and linked to
the expense directly, and not on the expense
report (where it is readonly).
2017-10-05 15:52:17 +02:00
Jérome Maes 46c1091f36 [FIX] hr_expense: avoid crash when submitting
Create the sheet before opening a cached one avoid to
get error when computing computed field.
2017-10-05 15:52:09 +02:00
Jérome Maes 994ca18ca8 [FIX] sale_timesheet: onchange for consummable product 2017-10-05 15:51:59 +02:00
Martin Trigaux 41ffe6e998 [FIX] doc: remove mention about mandatory attribute
You do not have to specify it for themes

Closes #18039
2017-10-05 09:58:40 +02:00
Antony Lesuisse cd48a806ac [ADD] sms: sms gateway using iap 2017-10-04 20:22:22 +02:00
Antony Lesuisse 6b22476e20 [ADD] iap: In app purchase
IAP allow app publishers to charge for ongoing services. In that context, Odoo
acts mostly as a payment platform between the service user (client) and the service
provider (Odoo App developer).
2017-10-04 20:22:22 +02:00
Jeremy Kersten ea51b6b06f [FIX] website_sale: move promo code input after total
Right column has been removed to have a clean checkout
2017-10-04 15:53:29 +02:00
Sylvain Garancher 823a1aa22d [FIX] P3: graph: correct P3 migration errors
- leftover real division errors
- typos in migration of values() calls in
  fffaf735f5
2017-10-04 15:06:28 +02:00
Nicolas Lempereur a0d63a0a05 [FIX] web: x2m quickcreate>no error but slowcreate
When the quickreate fail and a slow create is used instead, don't
display the error that happened as is done in kanban and calendar
(following 0f7f3fc2f) quick create.
2017-10-04 14:53:52 +02:00