Commit Graph
106440 Commits
Author SHA1 Message Date
Goffin Simon 3ea1ac7e0d [FIX] website_slides: changing channel_id on slide.slide
Steps:
-Go into Slides (into Website Admin main menu)
-Find the Slide "Odoo Explained"
-Change the channel to "Employee Channel"
-Disconnect or open a private session
-Go to the menu "Presentations" on website
-Click on "Public channel"

Bug:

Error 403

Fix:

When changing the channel_id of a slide, the custom_slide_id of all
the channels using this slide as "Slide to Promote"  has to change
in False to avoid access rights errors.

opw:682063
2016-07-12 09:01:25 +02:00
Ravi Patel 65b3c683b1 [MIG] document: Migrated to new API. 2016-07-11 18:06:23 +02:00
Ravi Patel 2332b4c55c [MOV] document: Reorganise module directory. 2016-07-11 18:06:23 +02:00
qdp-odoo 2f3249d688 [FIX] account: fixed get_pair_to_reconcile() in case there is a manual reconciliation done via the wizard on an account that has a secondary currency set. In that case, the currency to consider is always given by the special key 'skip_full_reconcile_check' in the context. OPW 682368 2016-07-11 17:47:17 +02:00
Damien Bouvy 70e9a41e25 [FIX] base: compute share as sudo
Applying groups (or implied groups) in a multi-company setting
triggers the recompute of the share field; however, if the current
user does not have sufficient multi-company rules on res_users records,
the operation fails with ACLs errors.

Computing this field as sudo prevents this.
2016-07-11 17:05:20 +02:00
Thibault Delavallée 15835236f2 [FIX] tools: yaml_import: fields with inverse
When importing from yaml do not remove valid values for computed fields with
an inverse method.
2016-07-11 16:21:22 +02:00
Thibault Delavallée fa502dcab8 [FIX] tools: yaml_import: typo during migration 2016-07-11 16:21:16 +02:00
qsm-odoo c21568e14f [FIX] *: html fields sanitization
Since commit c9e38cae9f in saas-10, the html fields are sanitized in
strict mode by default. This breaks all html fields behaviour when it
is editable in the website editor.

This commit deactivate the sanitization for such HTML fields (like it
was already the case for blogs contents or products descriptions for
example). A more specific sanitization will be implemented in future
versions.
2016-07-11 16:02:20 +02:00
Goffin Simon 965024902d [FIX] delivery: Invoice line for delivery method
Steps to reproduce:

1. Activate the following options
** Settings > Warehouse > Products > Manage different units of measure for products
** Settings > Accounting > Accounting & Finance > Analytic accouting
2. Desactivate the following option
** Settings > Accounting > Analytic accouting > Sale > Use multiple analytic accounts on sales
3. Create a Sale order
** Add 2 qty of the product iMac
** Add in quote the delivery method "Normal Delivery Charges" and set 2 qty
** Set an analytic account under Contract/Analytic
** Set the field Create Invoice to "On delivery Order"
4. Deliver only 1 quantity of the iMac and then create the invoice
5. Deliver the last quantity of the iMac and then create the invoice

Behavior before the fix:
The first invoice contains 2 qty of the Transport
The second invoice contains 1 qty of the Transport, has no analytic account set, has no UOM set

Behavior after the fix:
The first invoice contains 2 qty of the Transport
The second invoice contains 0 qty of the Transport because it has already been invoiced

Closed #12644

opw:682284
2016-07-11 14:30:16 +02:00
Jérome Maes 06fd5de05d [FIX] website_crm_partner_assign: bad method signature 2016-07-11 13:36:22 +02:00
Yannick Tivisse 7417e24a38 [MERGE] master_l10n_be_hr_payroll_account: Migration to new API 2016-07-11 12:21:21 +02:00
Rohan Patel 3738bb16e9 [MIG] l10n_be_hr_payroll_account : Migrated to new API. 2016-07-11 12:20:54 +02:00
Rohan Patel 581a171ef1 [MOV] l10n_be_hr_payroll_account : Re-organized directory structure. 2016-07-11 12:20:54 +02:00
Yannick Tivisse e3b6a02c92 [MERGE] l10n_be_hr_payroll: Migration to new API 2016-07-11 12:00:51 +02:00
Rohan Patel 48853266df [MIG] l10n_be_hr_payroll : Migrated to new API. 2016-07-11 11:17:52 +02:00
Rohan Patel 4de8541bcf [MOV] l10n_be_hr_payroll : Re-organized directory structure. 2016-07-11 11:16:28 +02:00
Yannick Tivisse 3b9015ebd8 [MERGE] l10n-be-invoice-bba: Migration to new API 2016-07-11 11:01:52 +02:00
Rohan Patel 58ad37b171 [MIG] l10n_be_invoice_bba : Migrated to new API. 2016-07-11 11:00:38 +02:00
Rohan Patel 8aef79024a [MOV] l10n_be_invoice_bba : Re-organized directory structure. 2016-07-11 11:00:38 +02:00
Yannick Tivisse ac9ae915d4 [hr_payroll] Migrate into new API 2016-07-11 10:51:23 +02:00
Ravi Gohil ce37ee8bca [MIG] hr_payroll: Converted yml test cases to python unittest. 2016-07-11 10:19:49 +02:00
Ravi Gohil 018058b0b2 [FIX] l10n_in_hr_payroll: Adjust payslip details report according to the new api
Now, it is extended using models.Abstract model rather than old report_sxw.rml_parser.
Also, as I was at it, I fixed the wrong t-call of header template, which causes traceback
when printed multiple records.
2016-07-11 10:19:49 +02:00
Ravi Gohil dc6240775f [MIG/IMP] hr_payroll: Migration of report directory to new api,
- removed parser 'payslip_report' as payslip lines can be filtered
  by 'appears_on_payslip' from within the template itself
- Migrated and adjusted code of contribution register and payslip
  details reports(models and templates) so that it can work on multiple records
  - Old code was executed for only one record at a time (even when selected multiple
    records in tree view) and hence the code was developed accordingly, but now,
    return value of methods needed to be change so that it can work on multiple
    record and need qweb templates to be adapted as well.
  - I applied below logic to handle printing of multiple records,
    if previously value returned was [{'a': testa}, {'b': testb, 'c': testc}]
    then new return value will be {'<id of record>': [{'a': testa}, {'b': testb, 'c': testc}]}
- right justified the amount values in all reports
2016-07-11 10:19:49 +02:00
Ravi Gohil edcb318a8e [MIG] hr_payroll: migration of all directories in new API, except report 2016-07-11 10:19:49 +02:00
Ravi Gohil 2079a5018d [MOV] hr_payroll: Restructured files according to new API guidelines (no splitting)
[FIX] hr_payroll: Fixed wrong decorator.
2016-07-11 10:19:49 +02:00
Fabien Pinckaers e6c4d3bfc3 [IMP] timesheet,sale,account,mrp,pos: clean installation message in #general channel 2016-07-11 10:04:16 +02:00
Fabien Pinckaers 20dbf9190d [FIX] mail: wrong message on general channel 2016-07-11 09:57:30 +02:00
Odoo Translation Bot ef83f798d5 [I18N] Update translation terms from Transifex 2016-07-10 03:01:32 +02:00
Odoo Translation Bot 5a73ff2f1f [I18N] Update translation terms from Transifex 2016-07-10 00:30:32 +02:00
Damien Bouvy 8c3b976923 [FIX] purchase: avoid scheduler crash if PO without lines exist
When a procurement needs to create purchase order lines due to
reordering rules and if an empty PO exists for the vendor of the
product, the creation of the PO line will crash since there is
no scheduled date on the PO.

opw-675706
2016-07-08 17:12:18 +02:00
qdp-odoo 68f0b8fe4e [FIX] account: bank reconciliation was auto-reconciling undistincly debit lines on bank accounts with negative amounts and/or credit lines with positive amounts where only one field (debit/credit) should be checked if the amount is positive/negative. 2016-07-08 17:03:25 +02:00
qsm-odoo 364bd0dd31 [FIX] web_tour: ignored mutations test
Before this commit, the mutation on tooltips themself were ignored.
However, the DOM mutations due to tooltip movements were still
considered.
2016-07-08 16:48:10 +02:00
Christophe Simonis 5949eedfdb [MERGE] forward port of branch 8.0 up to 0c3cd7cb 2016-07-08 16:32:10 +02:00
Christophe Simonis 4bf9622901 [FIX] event,hr_holidays: add missing dependency to report module 2016-07-08 16:28:26 +02:00
Denis Ledoux 3455daf948 [FIX] report, qweb: disppearence of header/footer in debug
This is similar to revision
3c61ee5c68

opw-682740
2016-07-08 16:22:20 +02:00
Denis Ledoux 0c3cd7cbb4 [FIX] website_hr_recruitement: website desc translation
Backport of the revision
26c44a58df

opw-682716
2016-07-08 10:14:10 +02:00
Nicolas Martinelli 6a3cf82130 [FIX] account: unnecessary default currency
A mechanism already exists to select the appropriate currency and was
introduced in commit 1b04b1d. However, it requires a purchase journal in
the currency of the PO to work.

Note that this commit is likely to not work correctly since the method
`_onchange_journal_id` is triggered after `_default_currency`.
Therefore, even if the currency is correctly set in `_default_currency`,
it is changed to the journal currency right after.

This reverts commit 7f1d7c1cce.
2016-07-08 09:56:20 +02:00
Jeremy Kersten d8e33e2ced [FIX] crm: remove team_id field from crm_lead_tag model
Now tag are always shared between all saleteams

Courtesy of @antonylesuisse
2016-07-07 17:52:02 +02:00
Yannick Tivisse ac099b0e07 [IMP] subscription: Remove write,create,unlink right on ir_cron
Use a sudo on a ir_cron creation instead of giving full access rights
to employee on a technical field
2016-07-07 16:20:15 +02:00
Yannick Tivisse c9b56753e7 [IMP] subscription: Move access rights to base.group_user 2016-07-07 16:20:14 +02:00
Rohan Patel db682bfe74 [MIG] l10n_multilang : Migrated to new API. 2016-07-07 16:16:01 +02:00
Rohan Patel e4daa3df40 [MOV] l10n_multilang : Re-organized directory structure. 2016-07-07 16:10:07 +02:00
Jeremy Kersten ba598c0e0b [FIX] website: css fix for Promote / Optimize SEO
Before the commit, the dt was forced to 160px of width by bootstrap.
Now we allow this size to be bigger, to avoid glitch in UI.

When you was inserted a long keyword, the 'delete' button was in the
overflow hidden part and so was undeletable.

We set min-width by default to 160px to keep the same behaviour by default.
And see 2 columns, but if a keyword it too long, we display it, and 'break'
the column style.

This commit closes #12703
2016-07-07 16:00:07 +02:00
Rohan Patel 62a5898a84 [MIG] l10n_fr_fec : Migrated to new API. 2016-07-07 15:55:34 +02:00
Rohan Patel a5e78a7d2b [MOV] l10n_fr_fec : Re-organized directory structure. 2016-07-07 15:54:01 +02:00
Rohan Patel 889da86a0f [MIG] l10n_eu_service : Migrated to new API. 2016-07-07 15:39:26 +02:00
Goffin Simon 8e233767b5 [FIX] point_of_sale: user_ids field in Pos Details report
A POS manager has the rights to add users in Sale Details

opw:682259
2016-07-07 15:35:24 +02:00
Rohan Patel e7a30d3be7 [MOV] l10n_eu_service : Re-organized directory structure. 2016-07-07 15:30:42 +02:00
Rohan Patel 320ff7250b [MIG] l10n_be_intrastat : Migrated to new API. 2016-07-07 15:27:25 +02:00
Rohan Patel c85732dd57 [MOV] l10n_be_intrastat : Re-organized directory structure. 2016-07-07 15:27:24 +02:00