Commit Graph
103847 Commits
Author SHA1 Message Date
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
Thibault Delavallée 3e59720cd0 [MERGE] payment_*: migrate to new API
Base payment module and then all specific acquirers are migrated to the new
API. Each module is migrated in two steps :

 - [MOV] files according to the guidelines
 - [MIG] python code to the new API

Some of the payment acquirers were already in new API. Small linting has been
applied on those, like renaming openerp to odoo or using selection_add instead
of a custom selection method.

In payment and payment_paypal prototype code about a first and unused s2s
implementation has been removed.
2016-07-06 15:17:06 +02:00
Thibault Delavallée 48278ed395 [MIG] payment_transfer
No functional change.
2016-07-06 15:10:49 +02:00
Thibault Delavallée 1d227799ac [MOV] payment_transfer: file organization 2016-07-06 15:10:49 +02:00
Thibault Delavallée 415eee1ca7 [CLN] payment_stripe: cleaning and guidelines
As this module is already in new API only small linting is performed.
2016-07-06 15:10:49 +02:00
Thibault Delavallée 86a51d28d0 [MOV] payment_stripe: file organization 2016-07-06 15:10:48 +02:00
Thibault Delavallée 28ca53c70e [CLN] payment_sips: cleaning and guidelines
As this module is already in new API only small linting is performed.
2016-07-06 15:10:48 +02:00
Thibault Delavallée d70d6c3cee [MOV] payment_sips: file organization 2016-07-06 15:10:48 +02:00
Thibault Delavallée 5f6c21c720 [CLN] payment_payumoney: cleaning and guidelines
As this module is already in new API only small linting is performed.
2016-07-06 15:10:48 +02:00
Thibault Delavallée 7fbb997732 [MOV] payment_payumoney: file organization 2016-07-06 15:10:47 +02:00
Shivam Dudhat f1ac1b1271 [MIG] payment_paypal: new API
No functional change.
2016-07-06 15:10:47 +02:00
Thibault Delavallée 9e69cfd0b4 [MOV] payment_paypal: file organization 2016-07-06 15:10:47 +02:00
Ravi Gadhia 4ef937ed38 [MIG] payment_ogone: new API
No functional change.
2016-07-06 15:10:47 +02:00
Thibault Delavallée b6c5b3a6b7 [MOV] payment_ogone: file organization 2016-07-06 15:10:46 +02:00
Rutul Raval 14d761b986 [MIG] payment_buckaroo: new API
No functional change.
2016-07-06 15:10:46 +02:00
Thibault Delavallée fd4b9bd74d [MOV] payment_buckaroo: file organization 2016-07-06 15:10:46 +02:00
Thibault Delavallée 76d124299b [CLN] payment_authorize: cleaning and guidelines
As this module is already in new API only small linting is performed.
2016-07-06 15:10:46 +02:00
Thibault Delavallée ad93be5df9 [MOV] payment_authorize: file organization 2016-07-06 15:10:45 +02:00
Thibault Delavallée e05f4612eb [MIG] payment_adyen: new API
No functional change.
2016-07-06 15:10:45 +02:00
Thibault Delavallée 622d0ae3fd [MOV] payment_adyen: file organization 2016-07-06 15:10:45 +02:00
Thibault Delavallée a969931f9c [MIG] payment: new API
No functional change.
2016-07-06 15:10:45 +02:00
Thibault Delavallée c3758a959a [MOV] payment: file organization 2016-07-06 13:53:02 +02:00
Thibault Delavallée 82d68747c3 [CLN] payment_*: dead code removal
Old s2s prototype code has been removed. It is not used anywhere and not
supported. Moreover ogone s2s implementation use its own set of methods.
In a near future a neat implementation of s2s for paypal will be added.
2016-07-06 13:53:00 +02:00
Thibault Delavallée 88126f95d3 [REF] payment_*: method signatures
Methods with signature

 - cr, uid, id
 - cr, uid, <browse_record>

have been refactored to be future multi ensure one methods.
2016-07-06 11:47:39 +02:00
Rohan Patel 3e3e61a7a2 [MIG] l10n_pt : Migrated to new API. 2016-07-06 11:19:55 +02:00
Rohan Patel 792bc714c2 [MOV] l10n_pt : Re-organized directory structure. 2016-07-06 11:19:55 +02:00
Rohan Patel 4f3f77b974 [REM] l10n_* : Removed unused files
[REM] l10n_at : Removed unused file.

[REM] l10n_au : Removed unused file.

[REM] l10n_be : Removed unused file.

[REM] l10n_co : Removed unused file.

[REM] l10n_es : Removed unused file.

[REM] l10n_gr : Removed unused code.
2016-07-06 11:01:26 +02:00
Rohan Patel ad7ca14d1b [MIG] l10n_* : Migrated to new API
[MIG] l10n_ae : Migrated to new API.

[MIG] l10n_ar : Migrated to new API.

[MIG] l10n_at : Migrated to new API.

[MIG] l10n_au : Migrated to new API.

[MIG] l10n_be : Migrated to new API.

[MIG] l10n_bo : Migrated to new API.

[MIG] l10n_br : Migrated to new API.

[MIG] l10n_ca : Migrated to new API.

[MIG] l10n_ch : Migrated to new API.

[MIG] l10n_cl : Migrated to new API.

[MIG] l10n_cn : Migrated to new API.

[MIG] l10n_co : Migrated to new API.

[MIG] l10n_cr : Migrated to new API.

[MIG] l10n_de : Migrated to new API.

[MIG] l10n_de_skr03 : Migrated to new API.

[MIG] l10n_de_skr04 : Migrated to new API.

[MIG] l10n_cn_small_business : Migrated to new API.

[MIG] l10n_cn_standard : Migrated to new API.

[MIG] l10n_do : Migrated to new API.

[MIG] l10n_ec : Migrated to new API.

[MIG] l10n_es : Migrated to new API.

[MIG] l10n_et : Migrated to new API.

[MIG] l10n_fr : Migrated to new API.

[MIG] l10n_generic_coa : Migrated to new API.

[MIG] l10n_gr : Migrated to new API.

[MIG] l10n_gt : Migrated to new API.

[MIG] l10n_hn : Migrated to new API.

[MIG] l10n_hr : Migrated to new API.

[MIG] l10n_hu : Migrated to new API.

[MIG] l10n_in : Migrated to new API.

[MIG] l10n_it : Migrated to new API.

[MIG] l10n_jp : Migrated to new API.

[MIG] l10n_lu : Migrated to new API.

[MIG] l10n_ma : Migrated to new API.

[MIG] l10n_mx : Migrated to new API.

[MIG] l10n_nl : Migrated to new API.

[MIG] l10n_no : Migrated to new API.

[MIG] l10n_nz : Migrated to new API.

[MIG] l10n_pa : Migrated to new API.

[MIG] l10n_pe : Migrated to new API.

[MIG] l10n_pl : Migrated to new API.

[MIG] l10n_ro : Migrated to new API.

[MIG] l10n_sa : Migrated to new API.

[MIG] l10n_sg : Migrated to new API.

[MIG] l10n_si : Migrated to new API.

[MIG] l10n_syscohada : Migrated to new API.

[MIG] l10n_th : Migrated to new API.

[MIG] l10n_tr : Migrated to new API.

[MIG] l10n_uk : Migrated to new API.

[MIG] l10n_us : Migrated to new API.

[MIG] l10n_uy : Migrated to new API.

[MIG] l10n_ve : Migrated to new API.

[MIG] l10n_vn : Migrated to new API.
2016-07-06 11:01:26 +02:00
Rohan Patel 180126755e [MOV] l10n_* : Re-organized directory structure
[MOV] l10n_ae : Re-organized directory structure.

[MOV] l10n_ar : Re-organized directory structure.

[MOV] l10n_at : Re-organized directory structure.

[MOV] l10n_au : Re-organized directory structure.

[MOV] l10n_be : Re-organized directory structure.

[MOV] l10n_bo : Re-organized directory structure.

[MOV] l10n_br : Re-organized directory structure.

[MOV] l10n_ca : Re-organized directory structure.

[MOV] l10n_ch : Re-organized directory structure.

[MOV] l10n_cl : Re-organized directory structure.

[MOV] l10n_cn : Re-organized directory structure.

[MOV] l10n_co : Re-organized directory structure.

[MOV] l10n_cr : Re-organized directory structure.

[MOV] l10n_de : Re-organized directory structure.

[MOV] l10n_de_skr03 : Re-organized directory structure.

[MOV] l10n_de_skr04 : Re-organized directory structure.

[MOV] l10n_cn_small_business : Re-organized directory structure.

[MOV] l10n_cn_standard : Re-organized directory structure.

[MOV] l10n_do : Re-organized directory structure.

[MOV] l10n_ec : Re-organized directory structure.

[MOV] l10n_es : Re-organized directory structure.

[MOV] l10n_et : Re-organized directory structure.

[MOV] l10n_fr : Re-organized directory structure.

[MOV] l10n_generic_coa : Re-organized directory structure.

[MOV] l10n_gr : Re-organized directory structure.

[MOV] l10n_gt : Re-organized directory structure.

[MOV] l10n_hn : Re-organized directory structure.

[MOV] l10n_hr : Re-organized directory structure.

[MOV] l10n_hu : Re-organized directory structure.

[MOV] l10n_in : Re-organized directory structure.

[MOV] l10n_it : Re-organized directory structure.

[MOV] l10n_jp : Re-organized directory structure.

[MOV] l10n_lu : Re-organized directory structure.

[MOV] l10n_ma : Re-organized directory structure.

[MOV] l10n_mx : Re-organized directory structure.

[MOV] l10n_nl : Re-organized directory structure.

[MOV] l10n_no : Re-organized directory structure.

[MOV] l10n_nz : Re-organized directory structure.

[MOV] l10n_pa : Re-organized directory structure.

[MOV] l10n_pe : Re-organized directory structure.

[MOV] l10n_pl : Re-organized directory structure.

[MOV] l10n_ro : Re-organized directory structure.

[MOV] l10n_sa : Re-organized directory structure.

[MOV] l10n_sg : Re-organized directory structure.

[MOV] l10n_si : Re-organized directory structure.

[MOV] l10n_syscohada : Re-organized directory structure.

[MOV] l10n_th : Re-organized directory structure.

[MOV] l10n_tr : Re-organized directory structure.

[MOV] l10n_uk : Re-organized directory structure.

[MOV] l10n_us : Re-organized directory structure.

[MOV] l10n_uy : Re-organized directory structure.

[MOV] l10n_ve : Re-organized directory structure.

[MOV] l10n_vn : Re-organized directory structure.
2016-07-06 11:01:26 +02:00
qsm-odoo e08042ac86 [IMP] web_tour: restyle tour tips
* Remove the "?" content
* Use a background gradient
* Use a bottom transparent box-shadow instead of a surrounding opaque one
* Reduce tip size and reshape the arrow
2016-07-06 10:35:02 +02:00
Jeremy Kersten 2e0caa1b24 [IMP] base, portal: improve demo data of res_partner
Use company_name field and no more the street field
to save the company name.
2016-07-06 08:33:46 +02:00
Antony Lesuisse 5a18f30da5 [MERGE] portal website_project: portal from backend to frontend.
Move the portal features of project to website_project to display tasks in the
website portal.

Add website_project_timesheet to display timesheets on website_project tasks.

Remove all menuitems related to the backend portal as the frontend portal now
provides all the models.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:26:15 +02:00
Antony Lesuisse ecd58457ed [REM] portal: backend menuitems
Remove all backend menuitems related to portal, as the supported portal
mecanism is now throught the website_portal My Account page.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:17:43 +02:00
Antony Lesuisse 4d3114825a [ADD] website_project_timesheet: Timesheet on Tasks in website portal.
Show the timesheets (account.analytic.line) recorded on a task in the website
portal.

website_project_issue_sheet: once a timesheet can be read, use sudo to read the
name of the responsible as portal users might not have the right to read users.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:17:43 +02:00
Antony Lesuisse 30bc0ee076 [IMP] website_project_issue: Portal access to Issues
Move portal features (mainly ir.rule) from project_issue to
website_project_issue.

Remove backend menu item, issues should be accessed from the website_portal My
account page, the backend portal menuitem is removed.

Add the dependency on website_portal to display the issue count on projects.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:17:43 +02:00
Antony Lesuisse ccf606e026 [ADD] website_project: Portal access to Projects
Split project to move portal features to a new module named website_project.

Portal users may now access their projects and tasks throught the
website_portal My account page. The Backend portal menuitem is removed.

Simplify the privacy settings of project, to be visible to portal users the
project must be in 'portal' mode.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:17:43 +02:00
Christophe Simonis 05e0bf3f1b [MERGE] forward port of branch saas-11 up to e7190cb 2016-07-06 00:03:49 +02:00
Christophe Simonis e7190cbbbf [MERGE] forward port of branch saas-10 up to 74b51d3 2016-07-05 23:42:12 +02:00
Christophe Simonis 74b51d3d97 [MERGE] forward port of branch 9.0 up to 489ea42 2016-07-05 23:19:50 +02:00
Jeremy Kersten a764474193 [FIX] website_event_sale: Typo
Courtesy of @odony
2016-07-05 21:48:49 +02:00
Christophe Matthieu 8517eb3d7b [IMP] qweb: t-esc, t-raw and t-field 'ir.qweb.field' models with t-options
Remove 'field' from 'value_to_html' method attributes
't-esc' escape the result of the widget.
(Added 'remove_span' as option for monetary widget)

E.g.: <t t-esc="32" t-options='t-options='{"widget": "monetary", "display_currency": website.currency_id, "remove_span": True}'>
result: $ 365.00

Use t-options instead of t-field-options
Add backward compatibility
Remove 'values' attribute from record_to_html
Remove 'field' attribute from value_to_html
+ few fix for 'ir.qweb.field' and cache
2016-07-05 19:12:01 +02:00
Christophe Matthieu 253a0f6311 [FIX] qweb: no automatic asset invalidation except in dev_mode
In non-xml-debug mode we want assets to be cached forever, and the admin can force a cache clear
by restarting the server after updating the source code
2016-07-05 18:44:59 +02:00
Christophe Matthieu 70a69bf9bc [FIX] website/im_livechat: use new api to get asset
Issue: can't get asset content, self don't have env attribute, wrong attributes send.
2016-07-05 18:44:58 +02:00
Christophe Matthieu 032122484e [TYPO] qweb: use the same option attribute for t-esc t-raw and t-field
t-options instead of t-field-options
2016-07-05 18:44:58 +02:00