Commit Graph
103027 Commits
Author SHA1 Message Date
qdp-odoo db04087b2c [FIX] account: a duplicated xmlid reference was overwritting the Chart of Accounts menuitem 2016-06-07 10:33:39 +02:00
qdp-odoo 8acfde46d2 [IMP] account: added credit card type for liquidities-liabilities accounts 2016-06-07 10:21:23 +02:00
Kinjal Mehta 4c30879da8 [IMP] hr_holidays: Several usability improvements
Change the menu tip of Allocation Request, Leaves, Leaves Allocations and Leaves details.
Change the filter name 'Current Year' instead of Current.
The default filter My requests has been removed. (in SAAS10, there is a ir_rule forcing the exact same domain)
And In the m2o field leave type in leave request, change it in to (3 remaining out of 5) instead of like (3/5).
2016-06-07 10:13:01 +02:00
Yannick Tivisse ccdb5cbfc0 Revert "[IMP] base,sales_team: Move res_groups and menuitems to sales_team"
This branch need more testing instead of doing 10 fixes. A lot of issues are occuring
when installing modules in different orders.

This reverts commit fa6e415cdb.
2016-06-06 17:26:30 +02:00
Yannick Tivisse b797bbc406 Revert "[FIX] account: move some ir.model.access to sale module"
This reverts commit 6d33eb037c.
2016-06-06 17:26:21 +02:00
Yannick Tivisse caf1e4dd70 Revert "[FIX] payment: Move some ir.rule to website_sale"
This reverts commit 930bea9758.
2016-06-06 17:26:12 +02:00
Yannick Tivisse 930bea9758 [FIX] payment: Move some ir.rule to website_sale
The group group_sale_salesman has been moved from base to
sales_team.
2016-06-06 16:47:18 +02:00
Yannick Tivisse 6d33eb037c [FIX] account: move some ir.model.access to sale module
The groups group_sale_salesman and group_sale_manager have been moved
from the base module to the sales_team module.
2016-06-06 16:47:18 +02:00
Yannick Tivisse fa6e415cdb [IMP] base,sales_team: Move res_groups and menuitems to sales_team
Purpose:
Having the res_group defined in base and sales_team auto installed
with mail doens't make sense.

- Move the empty res_config class and the related view from
  base_setup to sales_team (base_setup only contains the 'General Settings'
  model and views
- Move the 'sale' related content from product to sale module (Access rights,
  menuitems,...)
- Set sales_team at autoinstall False. The module is installed when needed by
  crm or sale for example
- Set sales_team as a dependency of voip. (Access rights defined for configuration
  purpose)
- Set sales_team ad a dependency of subscription (Access rights issue too)

Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes
sales_team.group_sale_manager.
2016-06-06 15:46:52 +02:00
qdp-odoo 9699dac818 [FIX] account: fixed old references to account_extra_report module forgotten during the merge into account 2016-06-06 13:06:27 +02:00
Jigar Patel 7853d0da26 [IMP] website_blog: Add published date, sort posts on this date + frontent filters
=======
Purpose
=======

For now all the views of blog posts sort them based on creation date. This creation date cannot be
changed (even with server actions). This leads to issues in several cases:

- import of old blog posts from a former system -> all the blog posts have the same date, on the website as well
- website visitors see when the blog post has been created, not published...

=============
Functional Spec
=============

Display blog post sorted by publish date in descending order. If the post has not been published yet,
the published date = creation date. When a post is unpublished and then published again, the publish
date should be updated to the last time it is published.

Add a status filter for published/not published blog posts, by default both are active (only visible
for website admin)
2016-06-06 12:56:56 +02:00
Martin Trigaux 7b2ab482f3 [IMP] base: remove birthdate field
cf discussion on #2531
2016-06-03 16:22:22 +02:00
Kinjal Mehta c3e425efd2 [IMP] Survey: Stat button + ability to clean test answers
======
purpose
======

- Allow user directly see the Answers of the Survey from Survey Form view.
- Allow user to Delete all the test answers from Survey Card.

==========
specification
==========

- Add a stat button called "Answers" in the form view of survey with the counter = number of people who have filled it up.
It shows the backend answers because the action button "view results" will show the front end report.
When clicking on it, a group-by Partner will be set.

- On the survey form, add  "Clean test answers" in the action menu
2016-06-03 11:50:45 +02:00
Yannick Tivisse ed12bfd775 [IMP] web: Navigation improvement in editable list view (v2)
1/ On create new record focus field should select already existing value of field,
   So user doesn't have to remove  the old value first and then enter new value.

2/ Forget about it
2016-06-03 10:49:24 +02:00
Géry Debongnie 0ce2583157 [REVERT] revert web: Navigation improvement in editable list view"
This reverts commit c43a97f353.

If you use a setTimeout in your js code, you might want to have a
serious look at what you are doing.  You are almost certainly doing it
wrong.

If you chain a deferred with the number returned from a setTimeout, you
definitely don't know what you are doing.

If you try to fix editable list view by magically adding timeout,
potentially inversing the order of execution, and without understanding
how deferred works, it is clear that you are just changing stuff until
your particular bug disappear in your particular case, and that you have
no idea what other bugs you just introduced.

Please study how deferred works, how the basic JS methods works, learn
what setTimeout returns.  Also, you might want to have a basic
understanding of how and when expressions are evaluated.  For example,
if you cannot explain why a if statement cannot be replaced by a
function, you might want to stop what you are doing and educate yourself.
2016-06-03 10:24:38 +02:00
dut-odoo 83afe3b847 [ADD] hr_recruitment: added department menu in configuration 2016-06-02 16:40:25 +02:00
Ravi Gadhia c43a97f353 [IMP] web: Navigation improvement in editable list view
1/ On create new record focus field should select already existing value of field,
   So user doesn't have to remove  the old value first and then enter new value.

2/ Avoid the double empty line creation when pressing enter
step to produce
1 Menu Point of Sale > Configuration > Point of Sale switch to form view
2 Tick the box "Cash Control" , the one2many field will be visible
3 Press the "Tab" from keybord , control jumps to "Add an item" button
4 Press "Enter" from keyboad
5 You will see one extra line will be added..
2016-06-02 16:25:48 +02:00
ptr 0f41256009 [ADD] mail,sale,stock,purchase,event,pos: Source document clickable in chatter
PURPOSE:
The source document should be in the chatter and clickable

NEW MAIL TEMPLATE:
mail: new template 'message_origin_link' with clickable link to origin
Variables to pass:
- origin: the record from which the current record had been created
- self: The current record
Optional:
- edit: If true, the record has been modified. Otherwise it has been created
  from the origin

SPECIFICATION:
Source Document is available in following models
1) After creating SO then Sale to Invoice -> Source Document (After creating Sales Order and then clicking on Create invoice)
2) When procurement is created after SO or MO or Order Point(procurement.order) - > Source Document
3) Stock.picking -> Source Document ( After Creating SO or PO)
4) When Manufacturing Order is Created (mrp.production) -> Source Document (Coming after creating a sale order of product)
5) Event -> Attendees(event.registration) -> Source Document
6) Request For Quotation -> Source Document (After creating Purchase Tender, SO)
7) In Purchase Tender(purchase.requisition) -> Source Document (When a new Purchase Tender is Created)
8) After creating PO then create invoice(vendor bill)-> Source Document
9) After creating Invoice from contract (subscription) - > source Document.
10) Refund invoice from Invoice --> Source Document.
11) Return picking from picking --> Source Document.
12) sale use POS to create invoice and picking -->  Source Document.

MESSAGES TO DISPLAY:
-In Customer Invoice, there is a source document of Sale Order.
 "This Invoice has been created from Sale Order(s): SO001, SO002"

-In Procurement, the source document can be either of Sale Order or Manufacturing Order or Order Point.
 "This procurement is created from: SO001 or MO0001 or OP/0001"

-In Stock Picking, the source document can be either of Sale Order or Purchase Order.
 "This transfer has been created from sales order(s): SO001 or PO0001"

-Create new Sales order of manufactured product , there will be Source Document with that Sale Order number
"This production has been created from procurement(s): WH: Stock -> CustomersMTO"

-When registering for Event from website, Sale Order is Created and it is stored in Source Document,
 "The attendee has been created from Sale order: SO001"

-In RFQ, the source document can be either Purchase Tender or Sale Order or Order Point,
 "This purchase order has been created from purchase requisition(s): TE0001 or SO001 or OP/0001"

-In Purchase Tender, the source document can be either of Sale Order/ Manufacturing Order/ Order Point.
 "This Purchase Requisition has been created from: WH: Stock -> CustomersMTO"

-In Vendor bill, there is a source document of Purchase Order.
 "This Vendor bill has been created from Purchase Order(s): PO0001, PO002"

-When creating refund of invoice
 "This customer invoices refund has been created from customer invoices: INV/2016/0001"

-when create invoice and picking form pos.
 "This invoce has been create from point of sale: MainXX"
2016-06-02 15:33:57 +02:00
Jainik Patel 120400c8e3 [IMP] sale,crm: Rename access right label
Change access right string because when only sale module is install
then string is confusing this access right of the lead or documents.
2016-06-02 14:58:41 +02:00
Ravi Patel 9c012ad07e [FIX] report: Traceback on print report from wizard.
Go to Product Variant  >> Select any Product Variant >> Print Report Of Price List >> select any Price List
and Click on print button it's gives traceback like:
http://www.awesomescreenshot.com/image/1288867/b6639baf8cb94e3a90ce9d347b3f4f35

Introduced by https://github.com/odoo/odoo/commit/da3d2fb1dc76654e630fba27ca3dcf03002d9431
2016-06-02 14:46:12 +02:00
dut-odoo a0b676921b [IMP] website_event: Improved error message of event registration page
When event is created/finished/cancelled, event registration page shows same error message.
It shouldn't be same. So changed error message for finished/cancelled event.
2016-06-02 12:58:06 +02:00
jpr-odoo 98a3482369 [IMP] event,website_event_question: Copy more fields on duplicate
In the Event App, when we duplicating an event, the email schedule and
Questions also duplicate.
2016-06-02 12:52:36 +02:00
Aaron Bohy ccb907a185 [IMP] web_calendar: button to hide the mini calendar
- State stored in localStorage
- Mini calendar width fixed and not 25% of webclient's width
- Minor ui tweaks of the mini calendar
2016-06-02 12:37:41 +02:00
Aaron Bohy 99bfb46fa5 [REF] (web_)calendar: mainly sidebar refactoring
Also:
 - keeps unticked filters unticked when deleting a filter or adding a new one
 - correctly tick filters when clicking on the partner's name (that code was
   broken)
 - remove reference to instance.web introduced by a forwardport
 - wrong use of self in CalendarView's init()
2016-06-02 12:37:41 +02:00
Aaron Bohy 9f3fff5181 [IMP] calendar: sidebar filters: disable filters if active partner
When loading a calendar view with a partner_id in the context, the sidebar's
filters should be disabled by default to only display events related to that
partner.
2016-06-02 12:37:41 +02:00
Aaron Bohy 42929b9acd [IMP] calendar: sidebar filters: avoid duplicating contacts
by blacklisting contacts already in favorites in the Many2One
2016-06-02 12:37:41 +02:00
Aaron Bohy 2705a6785b [FIX] calendar: sidebar filters: no many2one if !useContacts
Also don't allow to delete the filters in that case, as they are automatically
computed from the displayed events.
2016-06-02 12:37:41 +02:00
Aaron Bohy 1ff03029a0 [IMP] calendar: sidebar filters: remove unnecessary RPCs 2016-06-02 12:37:41 +02:00
Aaron Bohy dc06e9d515 [FIX] (web_)calendar: load events with attendees in domain
Before this rev., the events were loaded twice:
 - once with the date range as domain (and optionally the content of the search
   view),
 - once with the date range and the partner_ids of the sidebar's filters (and
   content of search view).

The first loading was therefore useless, and might also be very costly.
2016-06-02 12:37:41 +02:00
Mansi Gandhi 2c98364e9b [IMP] sale: add 'Analytic Tags' field in SO line form 2016-06-02 12:03:34 +02:00
jpr-odoo 1de2e3353f [FIX] website_slides: Increase Odoo Slides Height.
Change from 16:9 to 4:3
2016-06-02 11:59:18 +02:00
Jairo Llopis 3451ac5254 [FIX] purchase: typo at field declaration.
Closes #12260
2016-06-02 10:11:18 +02:00
Mansi Gandhi 4bdbfbdf2f [IMP] mail: 'Mark all read' button is not a primary action
In discuss, mark all read is green. It shouldn't because it is not
the primary action.
2016-06-01 10:23:02 +02:00
dut-odoo e57f2f708d [FIX] hr: Traceback when assigning a parent department to a department
Comming from the hr module migration.
https://github.com/odoo/odoo/commit/44c62e1b7f02bb43ed75615076bcbbc7195f72d4#diff-7fe5c1ac38eeb355c75fa18a98b62323R271
2016-06-01 10:04:23 +02:00
Rohan Patel 593ae31f0e [ADD] hr_timesheet: Display total hours of task in timesheet, added compute field total_hours_spent which is calculate total hours based on task's time spent + sub-tasks hours. 2016-05-31 16:21:38 +02:00
Mansi Gandhi f7cb8c0cfb [RM] crm: Remove the 'color' field from tree as well as form views of 'Lead Tags' because forgot to remove this field and already removed this field from 'Tags' in project module. 2016-05-31 15:58:15 +02:00
Ravi Patel 7d1d272e0a [IMP] project: Remove separator to remove space between name and value. 2016-05-31 15:53:29 +02:00
Mansi Gandhi 78643853ac [IMP] project: improvements in configuration,
>Remove the Sale Service option, because 'sale_service' module doesn't exist anymore.
	>Remove the option "Time on Tasks" and link the Time Scheduling (resource_calendar_id) to Forecast.
	>Hide the Timesheets section if the 'hr_timesheet_sheet' app is not installed.
	>Change the label "Timesheets on Issues" instead of "Timesheets Invoicing".
	>"Timesheets on Issues" shouldn't appear if hr_timesheet_sheet + project_issue apps are not installed.
2016-05-31 15:47:12 +02:00
Jérome Maes d5943607dd [MIG] portal_stock, portal_gamification : migration of xml data
Since there is no python code in these modules, migration consists
in renaming openerp data tag into the odoo one.
2016-05-31 14:16:59 +02:00
Rutul Raval a9d11f1175 [MIG] portal : migration to new api 2016-05-31 14:16:58 +02:00
Jérome Maes d60e040096 [MOV] portal : reorganize module directory 2016-05-31 14:16:58 +02:00
Vipul Bhatt 2ae11ec508 [IMP] base: 'ir.actions.server' 'code' field validation constraint
- Only SAFE CODES (specified in openerp/tools/safe_eval.py) are allowed in server actions
 - Validating basic python errors eg. SyntaxError, IndentationError etc.
2016-05-31 14:15:13 +02:00
Yannick Tivisse 13dae8847e [IMP] website_sale: Stock Availability banner on shop/product/id view
An availability selection field with 3 values :
- Display nothing
- In stock
- Warning + a warning message that could be something like 'available with
  a variable delay of 15 days
2016-05-31 13:11:56 +02:00
Darshan Kalola 65040e4be9 [MIG] pos_reprint: migration to new api 2016-05-31 09:20:11 +02:00
Darshan Kalola 38ef0adb93 [MOV] pos_reprint: reorganize module directory 2016-05-31 09:20:11 +02:00
Darshan Kalola 3de847afd8 [MIG] pos_restaurant : migration to new api
During migration, remove 'set_background_color' method, to directly use js api.
2016-05-31 09:20:11 +02:00
Jérome Maes 284e62def9 [MOV] pos_restaurant : slip file per models 2016-05-31 09:20:10 +02:00
Darshan Kalola 65fce907f2 [MOV] pos_restaurant : reoganize module directory 2016-05-31 09:20:10 +02:00
Jérome Maes 36fa95df0b [IMP] google_drive : make it use the constant defined in google_account 2016-05-31 09:09:23 +02:00
vbh-odoo 8107916079 [REM] google_spreadsheet: removed unused code 2016-05-31 09:09:23 +02:00