Commit Graph
106440 Commits
Author SHA1 Message Date
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
Ravi Gohil 4357afa94b [SPLIT] membership: Split files per module 2016-08-03 11:05:01 +02:00
Ravi Gohil b01efafaba [MOV] membership: Rename/Moved files as per new api guidelines. 2016-08-03 11:05:01 +02:00
Richard deMeester e401a0bbbb [FIX] l10n_au, l10n_nz: account definitions
Change default definitions of funds clearing accounts to be assets
instead of liquidity.  Without this fix, reconciling to these
accounts during bank reconciliation is not generating the correct
journal, but is treating the process as a matching step (which it
is not).

For existing data, the accounts will need to be manually changed
from liquidity to current assets.

Closes #12996
2016-08-03 10:57:54 +02:00
qsm-odoo b907c9654f [FIX] web: restore missing groups since web refactoring
Commit 977db823c7 refactored the web module so that it gathers
common features of community and enterprise. The problem is that the
web.webclient_bootstrap template content lost its groups attributes.

This had the effect to make the client crash when accessing the
template for calendar invitation for example, as the template was
trying to render menus without menu data.
2016-08-03 10:41:12 +02:00
qsm-odoo a1e1e27ec8 [FIX] base: deletion of elements with attribute 'groups'
The test made to perform the deletion was not correctly migrated (see
https://github.com/odoo/odoo/commit/4ddc32313996c8cf6e8e6dffd2253aad8a144ccf#diff-3ad2ad1e9b88257a01a42d04ca1c0605L274): the user to
test must be the request user and not the qwebcontext user.

Thanks to @rco-odoo.
2016-08-03 10:41:12 +02:00
Olivier Dony 28bf5b1507 [I18N] payment_transfer: remove duplicate msgid
Introduced by forward-port 56ef99d050
of 8.0 rev 9a3b711989, while the term
had been previously added in 9.0.
2016-08-03 10:37:11 +02:00
Thibault Delavallée 7428a4d5cc [FIX] hr_expense: remove onchange in a product view that does not exist anymore since product migration 2016-08-03 10:17:52 +02:00
Damien Bouvy 4014563e3f [FIX] website_payment: stop treating _registration_render result as a list
I assume this was necessary  before the migration of payment because
an api.one wrapper was added by the auto-guess api feature.

Since payment has been migrated, this decorator is no longer present
and the result of _registration_render is no longer encapsulated in
a list. Therefore, taking the zeroth element was akin to taking only
the first character of the rendered html. Usually \n, which is not
useful but which also prevented the crash to be easily visible.
2016-08-03 09:42:38 +02:00
Fabien Pinckaers 9d4efc81a6 [IMP] purchase: Editable PO + minor fixes 2016-08-02 18:10:48 -07:00
Martin Trigaux 77fad18f8a [IMP] pos_cache: clarify button function
The button does not recompute the cache, it removes it which will be recomputed
when you launch a POS.
Hide the button when there is no cache (e.g. after installation).
2016-08-02 18:15:32 +02:00
Martin Trigaux 683471ae6f [FIX] pos_cache: repair broken xpath
The button `set_deprecated` no longer exists in the parent view.
Add the button next to the pos_cache field, at the end of the form.
2016-08-02 18:15:20 +02:00
Nicolas Martinelli f0d6138712 [FIX] im_odoo_support: link "Odoo Support"
The free livechat support doesn't exist anymore, therefore the link
"Odoo Support" does nothing.

opw-683486
2016-08-02 17:45:20 +02:00
qsm-odoo 30207886b7 [FIX] web: set correct web client height
The main content of the web client was set to grow/shrink so that it
fills the window (thanks to flex). However, to be able to shrink as
much as necessary the min-height needs to be forced to 0.

Without this fix, the web client was overflowing on the bottom of the
page, making impossible to access some menu items.
2016-08-02 16:35:14 +02:00
Yannick Tivisse cbe66ef236 [MIG] l10n_be: Migrate l10n_be_demo.yml in new API 2016-08-02 16:12:55 +02:00
Yannick Tivisse 93c0115dfc [MERGE] auth_oauth: Migrate to new API 2016-08-02 16:03:02 +02:00
Kinjal Mehta 3f201066f0 [MIG]auth_oauth: Migrate to new api. 2016-08-02 16:02:29 +02:00
Kinjal Mehta 914b2be967 [MOVE]auth_oauth: Moved files in related models and views directory. 2016-08-02 16:02:29 +02:00
Jérome Maes 0a17a144c6 [FIX] calendar: list has no 'unlink' method
Due to migration to new API.
2016-08-02 15:23:07 +02:00
Jérome Maes 77f95a2aca [FIX] portal: bad ensure_one due to migration 2016-08-02 13:46:25 +02:00
Yannick Tivisse 0e67628267 [FIX] marketing_campaign: Remove remaining on_change on segment form view
This onchange should have been removed during the module migration
2016-08-02 13:31:37 +02:00
Nicolas Martinelli 65142a6a45 [FIX] website_sale_delivery: incorrect delivery price
The price of the delivery is incorrectly converted to the currency of
the user in the payment template (next to "Total").

Instead, it should be in the currency of the sales order.

opw-682306
2016-08-02 13:07:32 +02:00
Thibault Delavallée 912223e49d [REM] mail: remove dead code since new chatter
* mail_message.message_read() method is not used anymore since the chatter
  refactoring in v9. message_format() is used instead. Tests for this method
  are also removed, as they have no use anymore.
* mail_thread.message_set_read() is not used anymore. set_message_done is the
  only method used by the new chatter as there is no read state anymore.
* removed an unused parameter in set_message_done, by the way
2016-08-02 12:32:43 +02:00
Thibault Delavallée a32b3b220d [REF] mail: clean mail_mail postprocess method having v7 and v8 implementation
Old method postprocess_sent_message is removed. New api style method
introduced when migrating the module is now used.
2016-08-02 12:32:42 +02:00
Yannick Tivisse 985ad055b7 [MERGE] report_webkit: Migrate to new API 2016-08-02 12:21:09 +02:00
Rashik Kalathiya 0a069610fb [MIG] report_webkit: converted test case from yml to python 2016-08-02 11:51:35 +02:00
Rashik Kalathiya bc3d12c619 [MIG] report_webkit: migrated to new API 2016-08-02 11:49:17 +02:00