Commit Graph
127612 Commits
Author SHA1 Message Date
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
Yannick Tivisse bd2bae87df [FIX] l10n_be: Do not import unexisting file 2016-07-07 15:27:24 +02:00
Goffin Simon c7c394939a [FIX] hr_payroll: creation of a salary computation line
To create a payslip line the fields:
-employee_id
-contract_id
-salary_rule_id

are required.

opw:681912
2016-07-07 15:14:25 +02:00
Hitesh Trivedi 53fe4007f4 [MIG] base_import: migrate tests
Some changes were required since in new API, fields label
are not manage as before (defaulf value is field name, and
not 'unknown' anymore).
2016-07-07 14:44:10 +02:00
Hitesh Trivedi 46df9da439 [MIG] base_import : migrate to new api 2016-07-07 14:44:10 +02:00
Hitesh Trivedi cf3e8324f1 [MOV] base_import: module directory organization
Note: move test models file in models to not import tests
directory, which breaks the mute_logger of test cases
2016-07-07 14:44:10 +02:00
Christophe Combelles e38947989a [FIX] setup: backport of 6ceb0a2b1b
[FIX] setup.py: pyparsing version inconsistent with requirements

Fixes #12693
2016-07-07 14:05:20 +02:00
Nicolas Martinelli 45b3e6b96c [IMP] hr_recruitment: filter on active records
It is now possible to filter the applications on their archived status.

opw-682119
2016-07-07 14:00:06 +02:00
Nicolas Martinelli 2bf8a6541b Revert "[FIX] hr_recruitment: incorrect recruitment report"
So @sig-odoo is not the only one to revert his own fixes :-)
Anyway, we want to be able to get statistics about archived applications
as well.

This reverts commit 7e0e27ea79.
2016-07-07 12:39:59 +02:00
Christophe Simonis 45fc5f7a8f [I18N] web: change term after 3888301a2e 2016-07-07 12:38:05 +02:00
Denis Ledoux b329d6219e [FIX] hr_attendance: Attendance Error Report fail afer upgrade
After upgrading the `hr_attendance` module,
it was no longer possible to use the
`Attendance Error Report` link in the `More`
menu of employees.

This is because there were two binding actions
added in the code under the samename
(`Attendance Error Report`):
 - `hr_attendance_error_values`
 - `action_report_hrattendanceerror`

The first launch a wizard which will print the report
after filling the required data,
The second tries to directly print the report, but it
fails because required data (from the wizard) is missing.

Before update, it's the first binding action that was displayed.
After update, it was the second, which failed.

We solve this issue by changing the way the report is
created through the data, by not using a `<report/>` tag,
this one creating automatically the action binding.
Instead, we use a classic `<record/>` tag, which
doesn't create automatically the action binding.

opw-682720
2016-07-07 12:29:54 +02:00
Fabien Pinckaers 3888301a2e [IMP] web: Quantity is very misleading in reporting views --> e.g. SO Line Quantity is perceived as Quantity of products, whereas it's the count of SO Lines. Renaming to Count 2016-07-07 12:28:57 +02:00
xmo-odoo 78fa186f88 [FIX] hr_contract: employee form statbutton's icon
The name of the icon on the statbutton was apparently broken during the
new-api migration (commit 095d0174fd),
leading to the icon not appearing on the "Contracts" button of the
Employee form.
2016-07-07 12:17:21 +02:00
Nicolas Martinelli 7e0e27ea79 [FIX] hr_recruitment: incorrect recruitment report
The recruitment report used in the pivot view does not filter out the
archived records.

opw-682119
2016-07-07 11:35:52 +02:00
Goffin Simon a082ec6aea [FIX] sale: Expenses in multi currency
Steps to reproduce:

-Set your company in USD
-Create a SaleOrder with a pricelist in EUR
-Create an expense in USD, with the analytic account of the SO
-Confirm the expense and post journal entries.

Bug:

The unit price of the new SO line was wrong: it was stil in USD as in
the expense.

Expected behavior:

The price unit must be converted in EUR

opw:682378
2016-07-07 11:31:54 +02:00
cod-odoo 7dcb518567 [FIX] mrp: Fixed traceback on print BoM Structure and single method for work order counts 2016-07-07 10:11:51 +02:00
Martin Trigaux aa686c2a55 [FIX] decimal_precision: no multi-company
There is no company_id field so no way to configure it on the company level.
The decimal precision is at the field level so it is not possible to make it
different per user.

Fixes #12654
2016-07-07 09:55:42 +02:00
Nicolas Martinelli a1c3fe1291 [FIX] crm: opportunities list view
When the lead step is activated (`group_use_lead` is true), 2 dinstinct
tree views can be selected to display the opportunities.

Indeed, when the action "Your Pipeline" is selected, the tree view
`crm_case_tree_view_oppor` is displayed thanks to the method
`action_your_pipeline`. However, when the page is reloaded or the tree
view is saved in the custom dashboard, the tree view
`crm_case_tree_view_leads` is selected instead.

The fix is to specify explicitly in the action which view should be
chosen, accordingly to what is done in method `action_your_pipeline`.

opw-681488
opw-681734
2016-07-06 17:25:15 +02:00
Xavier Morel df4508635c [MIG] decimal_precision: migrate to new API 2016-07-06 17:19:44 +02:00
Xavier Morel 8f7b233bc1 [MOV] decimal_precision: apply standard layout
Had to alter marketing_campaign as it imported get_precision from deeper
into the module instead of properly getting it from the module's toplevel.
2016-07-06 17:19:36 +02:00
Goffin Simon d98eb32272 Revert "[FIX] product, website_sale: order by sequence product.template"
This reverts commit 0a13e5cb8e.

Changing the order of the products in stable version is not accepted.
2016-07-06 17:03:18 +02:00
Denis Vermylen (dve) 046f1eba58 [MERGE] hr_attendance/timesheet_sheet
- Migration of hr_attendance, hr_timesheet_attendance and hr_timesheet_sheet
  to new api.
- Revamping of hr_attendance; adaptation of hr_timesheet_attendance and
  hr_timesheet_sheet to the revamp. hr_timesheet_sheet now independent
  of hr_attendance, all dependencies moved to hr_timesheet_attendance
  which auto-installs when both modules are installed.

Closes #12698
2016-07-06 17:03:05 +02:00
Denis Vermylen (dve) d28479fec1 [FIX] hr_timesheet: hr_timesheet_demo.yml data adapted to be coherent with attendance demo data 2016-07-06 16:32:12 +02:00
Denis Vermylen (dve) 510d260434 [IMP] hr_timesheet_sheet, hr_timesheet_attendance: split hr_attendance dependency
* split hr_timesheet_sheet into: - hr_timesheet_sheet (fully independent from hr_attendance)
                                 - hr_timesheet_attendance (containing the dependencies to the revamped hr_attendance module)
* adapt timesheet_attendance to the revamped hr_attendance module, remove all commented dependencies
* few fixes to hr_timesheet_sheet, but some remain as it is deprecated.
2016-07-06 16:32:12 +02:00
Denis Vermylen (dve) 27082bbbf3 [MIG] hr_timesheet_sheet: migration to new api
- commented hr_timesheet_sheet dependencies to hr_attendance
- commented hr_timesheet_attendance dependencies to hr_attendance
- migrated hr_timesheet_sheet to new api
2016-07-06 16:32:11 +02:00
Denis Vermylen (dve) 9395b79296 [MOV] hr_timesheet_sheet: split hr_timesheet_sheet.py into multiple model files 2016-07-06 16:32:11 +02:00
Denis Vermylen (dve) c676e24b0b [MOV] hr_timesheet_sheet: moved files according to new api guidelines 2016-07-06 16:32:11 +02:00
Denis Vermylen (dve) 96b88b1275 [IMP] hr_attendance: migration and revamp
- Migration to new API
- MODEL : hr.attendance now has check_in and check_out datetimes plus a computed field worked_hours, no more action (in/out) and no more reason.
          hr.employee has extra fields: pin and barcode and can print a badge containing that barcode.
- the module contains : -> a menu "My Attendances" to check yourself in or out manually.
                        -> a menu "Manage Attendances" with 3 submenus:
                              - "Attendances" where you can edit attendances
                              - "Employees" where you have a kanban view of the employees (to see who's checked in or print badges)
                              - "Kiosk Mode": fullscreen, made to be at the entrance of companies to allow
                                 all employees to check in and out, either with a barcode scanner to scan your badge
                                 or by selecting them in a kanban view and checking in or out manually with or without
                                 entering their PIN.  (enable/disable in Configuration)
                        -> a menu "Configuration" where you can change enable/disable PIN use.
- GROUPS : -> HR manager (base.group_hr_manager): full access to the attendance module.
           -> HR officer (base.group_hr_user): full access except the "Configuration" menu.
           -> Manual Attendances (base.group_hr_attendance): only access to the attendance menu "My Attendance" to check in and out manually in the back-end
           -> Employee (base.group_user): has no access to the attendance module. (should only check in and out through the "Kiosk Mode" put at his disposal)
- Views adaptation to the new fields, addition of a presence indicator (green/red dot) to employee kanban and form views.
2016-07-06 16:32:11 +02:00
Denis Vermylen (dve) 17cd248721 [MOV] hr_attendance: moved files according to new api guidelines 2016-07-06 16:32:11 +02:00