Commit Graph
107816 Commits
Author SHA1 Message Date
Martin Trigaux f6c8112478 [FIX] base: correct the currency of Tajikistani
The Tajikistani is using Tajikistani somoni since 2000 instead of the
Tajikistani ruble.
2016-08-03 16:36:06 +02:00
Martin Trigaux 875632182b [FIX] base: remove the GWP currency
The Guinea-Bissau peso is no longer used since 1997.
The Republic of Guinea-Bissau is now using West African CFA franc (XOF)
2016-08-03 16:36:02 +02:00
Bruno PLANCHER f5e803c025 [FIX] tools: strip i18n-overwrite from gevent parameters
When gevent is enabled, some arguments are stripped to avodi being retriggered
in the other workers (e.g. update of a module).
The `--i18n-overwrite` was not stripped and the other worker raised an error has
the `overwrite_existing_translations` argument requires the `update` argument
(which is stripped in the `stripped_sys_argv` method.

Fixes #12566
Closes #12986
2016-08-03 16:33:27 +02:00
Bruno PLANCHER 59eadac840 [CLA] Corporate signature for iRaiser
Closes #12986
2016-08-03 16:33:27 +02:00
Christophe Simonis 53015e11a9 [MERGE] forward port branch saas-11 up to eb83ab2 2016-08-03 16:16:30 +02:00
Christophe Simonis eb83ab236f [MERGE] forward port branch saas-10 up to c956075 2016-08-03 15:29:57 +02:00
qsm-odoo e7e7b9beb0 [FIX] calendar: use correct bootstrap for invitations
Commit cfb8e8700a introduced a new template for meeting invitation page.
This template used bootstrap row's without any container which added
an ugly useless scrollbar at the bottom.

This commit uses valid bootstrap by simply removing the bootstrap
column layout (as there is no column but only centered content) and
using a simple container. Also, wraps the table in a .table-responsive
div so that the template is mobile-friendly.
Also fixes a typo in the template name.
2016-08-03 15:18:20 +02:00
Martin Trigaux 8f8caf2e63 [IMP] base: remove the TPE currency
The Portuguese Timorese escudo is no longer used since 1976.
The East Timor is now using the USD since 2001 (not sure what they were using
between these two).
2016-08-03 15:12:22 +02:00
Christophe Simonis c956075f5f [MERGE] forward port branch 9.0 up to cadb481 2016-08-03 15:07:24 +02:00
Nicolas Martinelli ebb52cbbdf [FIX] stock: backorder sequence
When an internal move is partially delivered, name of the backorder is
'False'. This also occurs if an internal move is copied.

This is because there is not sequence for code 'stock.picking.internal',
but there is one for 'stock.picking'.

opw-683725
2016-08-03 14:43:40 +02:00
Simon Lejeune cadb481e20 [FIX] web: oe-view-manager-content display issue on ie11
This tries to be the smallest patch possible in order to avoid triggering
another display issues, so we only patch in the ms-hight-contrast section
which only applies on ie 10/11.

* The view-manager weren't displayed correctly; they didn't fit 100% of
  the screen width. This is fixed by explicitely seting the top, right,
  left, bottom attributes.

* The modals content were not displayed. This was due to 2 issues:
  * The rule that we patch in the first point set the position of
    `oe-view-manager` as absolute with an importang flag. Because of
    this important, the rule that reset the position of the
    `oe-view-manager` as static in modals.less was not honored. So
    we also patch this rule with an important flag inside the same
    file (so that all the fixes related to ie10/11 are in the same
    place).
  * Now that the modals are displayed, they do not fit 100% of the
    screen. It's because the `max-height: 100%` of `.modal-content`
    set in modals.less does not work in ie10/11, due to some bug
    with the flex displays. We set the height to 450px so that the
    modals are kind of correctly displayed on a 1366x768 screen
    (their content are still scrollable).

related to rev 1ccd87a037
closes #12929
2016-08-03 14:39:19 +02:00
Martin Trigaux 1dbd085743 [FIX] base: add missing part to 04b081ab
The 'amount 42 False' bug could also be reproduced with monetary widget.
2016-08-03 14:26:06 +02:00
Martin Trigaux 04b081ab37 [FIX] tools: do not display False as the currency
The field symbol is not required on a res.currency (it should and will be
changed in master). In case it is not set, do not display the currency in the
rapport.

Fixes #11346
2016-08-03 14:23:11 +02:00
Christophe Simonis 1cca5dea13 [MERGE] forward port branch saas-6 up to 20db912 2016-08-03 14:14:00 +02:00
qsm-odoo 055b2cbe3f [FIX] calendar: adapt function parameter comment
Commit b7b935dbf8 changed the role of a function parameter but did not
adapt its commented explanation.
2016-08-03 14:13:58 +02:00
Christophe Simonis 20db912f77 [MERGE] forward port branch 8.0 up to 1213de3 2016-08-03 14:09:30 +02:00
Christophe Simonis e9dc273060 [FIX] account: use correct attribute name
Wrongly forward-ported from saas~6.
opw-683311
2016-08-03 14:02:35 +02:00
Thibault Delavallée ee1fcde8f2 [MERGE] web_*: reorganize files, finish migration and apply guidelines 2016-08-03 13:43:38 +02:00
Thibault Delavallée 4b4db94064 [IMP] web_planner: remove last references to old API in docstrings 2016-08-03 13:42:26 +02:00
fwi-odoo 9a0c20d803 [MOV][IMP] web_tour: reorganize files, clean imports, replace openerp tags and add license 2016-08-03 13:42:26 +02:00
fwi-odoo 831619f623 [IMP] web_settings_dashboard: clean imports, remove openerp tags and add license 2016-08-03 13:42:25 +02:00
fwi-odoo a32c1d3c8d [MIG] web_editor: migrate to new api 2016-08-03 13:42:25 +02:00
fwi-odoo 65fbeb21f6 [IMP] web_planner: remove openerp tags and add license 2016-08-03 13:42:23 +02:00
fwi-odoo b2126e5854 [MOV][IMP] web_kanban_gauge: reorganize files, clean openerp tags and add license 2016-08-03 13:42:23 +02:00
fwi-odoo 86cb52e145 [MOV][IMP] web_kanban: reorganize files, remove openerp tags and add license 2016-08-03 13:42:23 +02:00
fwi-odoo 271ba327b4 [MOV][IMP] web_diagram: reorganize files, add license and clean imports 2016-08-03 13:42:06 +02:00
fwi-odoo d8b652d706 [MOV][IMP] web_calendar: rename files according to guidelines, replace openerp and add license 2016-08-03 13:42:06 +02:00
fwi-odoo d4e813b873 [REF] web, *: change deprecated import openerp.addons.web.http to odoo.http
We also remove the mock in web as there is no need for it anymore.
2016-08-03 13:42:05 +02:00
fwi-odoo f88a889409 [MIG] web: migrate controllers to new API 2016-08-03 13:42:05 +02:00
fwi-odoo 7d487c00a6 [IMP] web: remove void file, replace openerp tags, add license, clean imports 2016-08-03 13:42:00 +02:00
Goffin Simon 1213de3ff5 [FIX] account: get_reconciliation_proposition
The bank statement reconciliation widget should look for the name
of the account.move if the ref is not found.

Backport of 11f8e8d

opw:683741
2016-08-03 13:38:44 +02:00
Jeremy Kersten 6ffc8b6261 [FIX] mail: controller avatar
FIX 1
-----
If the partner_id is not allowed, we return the placeholder.

Before this commit, the status as undefined and raise traceback.
UnboundLocalError: local variable 'status' referenced before assignment

FIX 2
-----
Fix the defaultheader to avoid to have:
   [[('Content-Type', 'image/png')], ('Content-Length', 43)]
And so, during parsing by werkzeug:
   ValueError: need more than 1 value to unpack
2016-08-03 13:02:31 +02:00
Christophe Simonis e3ab323e29 [FIX] base: add method allowing to call ir.server.action from crons 2016-08-03 12:39:20 +02:00
Thibault Delavallée 1feae7447f [MERGE] account_*: reorganize files, finish migration and apply guidelines 2016-08-03 11:43:39 +02:00
fwi-odoo fe35d384dd [MIG] account_voucher: replace opernerp tags , clean imports, rename classes, reorder code of account_voucher 2016-08-03 11:18:49 +02:00
fwi-odoo 9999e784a4 [MOV] account_voucher: reorganize files according to guidelines 2016-08-03 11:18:49 +02:00
fwi-odoo 1293509ad9 [MIG] account_test: replace openerp tag, add license, clean imports 2016-08-03 11:18:49 +02:00
fwi-odoo d9a5e3b3b1 [MOV] account_test: reorganize files according to guidelines 2016-08-03 11:18:48 +02:00
fwi-odoo 3121ced650 [MIG] account_tax_python: remove openerp tag, add license, clean imports and lint spaces 2016-08-03 11:18:48 +02:00
fwi-odoo aeafbb75aa [MOV] account_tax_python: reorganize files according to guidelines 2016-08-03 11:18:48 +02:00
fwi-odoo b370ebba0a [MIG] account_tax_cash_basis: replace openerp tags 2016-08-03 11:18:48 +02:00
fwi-odoo f28f35fa15 [MOV] account_tax_cash_basis: split account models and views into their own files 2016-08-03 11:18:47 +02:00
fwi-odoo b113f1cb58 [MOV] account_tax_cash_basis: reorganize files according to guidelines 2016-08-03 11:18:35 +02:00
fwi-odoo 2163d2b7f7 [MIG] account_check_printing: replace openerp tags, clean imports and rename classes 2016-08-03 11:18:32 +02:00
fwi-odoo dcab4afda4 [MOV] account_check_printing: merge account_journal dashboard methods and views into account_journal 2016-08-03 11:18:32 +02:00
fwi-odoo 29dd6ed8f0 [MOV] account_check_printing: reorganize files according to guidelines 2016-08-03 11:18:23 +02:00
Yannick Tivisse d045a9ddf6 [MERGE] membership: Migrate to new API 2016-08-03 11:09:19 +02:00
Richard Mathot d6d4ee0183 [REV] mrp: ce419242d0.
Too unstable fix (requires module upgrade).

Odoo 9 will keep its limit of 16 chars for mrp.bom's
`code` field
2016-08-03 11:08:50 +02:00
Ravi Gohil 54854499ce [IMP] membership: Remove overridden unlink method in favor of an ondelete='cascade'
Removed overridden unlink() of account.invoice/(.line) models by introducing ondelete='cascade'
for 'account_invoice_line' field for 'membership.membership_line' model
2016-08-03 11:07:33 +02:00
Mansi Gandhi 6f1fb4fd09 [MIG] membership: migrate to new api,
- Split compute function in res.partner into 4 functions as they no more share the same dependencies
- removed dead constraint from 'membership.membership_line' model. That constraint checks if the invoice's date
  is greater than membership line's date but the membership line is created before the draft invoice is created
  (and that too without date set), hence it can't be raised.(Though, it can be raised if we check it on 'state' field).
2016-08-03 11:07:10 +02:00