Commit Graph
101463 Commits
Author SHA1 Message Date
Xavier Morel 2fea143b06 [FIX] stock: count of reordering rules
* don't dig into context for data we already have
* don't use mutable value as duplicated default
* try to make the method work correctly in case it's ever called with
  multiple product template ids
2016-03-29 10:34:25 +02:00
sha-odoo f23daad44b [IMP] product: Add a barcode-search in all products kanban/list views 2016-03-25 16:49:43 +01:00
dut-odoo dd80649541 [FIX] web: fix unbound variable utils in view search_view.js 2016-03-25 16:25:59 +01:00
Jigar Patel 5228928877 [IMP] hr: Display color tags on employee kanban view
Also change hr demo data to have some colored tags initially
2016-03-25 15:31:07 +01:00
Dhaval Panchal e1eaa29994 [IMP] barcode: On barcode nomenclatures, add a handle widget for rules ordering. 2016-03-25 13:49:42 +01:00
David Monjoie 3ce72701f1 [IMP] sale: avoid replace when not in sale_layout group
Last recommendation in order to avoid breaking invoice
customizations for people who doesn't use sale_layout.
2016-03-25 11:54:05 +01:00
David Monjoie 3bb9b09500 [MERGE] sale,website_quote: merged sale_layout feature as a new group
Also applied sale_layout feature to website_quote.
2016-03-25 11:46:12 +01:00
David Monjoie f280bfe8a1 [IMP] website_quote: use new pagebreak mechanism 2016-03-25 11:34:26 +01:00
David Monjoie ffc5b1058a [IMP] sale: improved pagebreak mechanism 2016-03-25 11:34:26 +01:00
Julien Louette 293c1c06e6 [IMP] website_quote: adding layout categories to website quotations 2016-03-25 11:34:26 +01:00
Julien Louette b391c8d494 [REM] sale_layout: removed 2016-03-25 11:34:25 +01:00
David Monjoie 27fd3ece28 [IMP] sale: removed sale_layout_category separator 2016-03-25 11:34:25 +01:00
Julien Louette a6b240b6bc [ADD] sale: merged sale_layout into sale 2016-03-25 11:34:25 +01:00
Srushti Patel 91e8de0b05 [ADD] website_quote: Allow reordering of suggested products on quotations
This commit adds a sequence field on suggested products, allowing to arrange the order in which the suggested products will appear on the quotation
2016-03-25 10:26:17 +01:00
Tanguy Charlier 1ae7f735c5 [FIX] web_kanban: float_time widget did not work
* This is a forward-port of 4c1c1ec4d4
2016-03-24 13:47:37 +01:00
Thibault Francois e6ac7a7d25 [ADD] project_timesheet, sale_service: support for project sub-tasks
This commit introduces "Sub-task", a concept remotely similar to
the "delegated tasks" available in version 7.0, but covering a
more specific and narrow scope.

Activating Sub-tasks
--------------------

Sub-tasks are made available within any project by configuring
a "sub-task project" in the project settings. This feature is
considered low-level and technical, and only accessible with
"Technical Features" enabled.
The "sub-task project" may be the project itself.

Using Sub-tasks
---------------

Conceptually, a sub-task represents the allocation of a part
of the scope of its parent task. Multiple sub-task levels
are possible.

Once activated in project settings, a new "Sub-tasks" smart button
will appear on the task form, giving the option to view and
create sub-tasks. In addition, a new field "Sub-tasks Hours" will
appear next to the other computed "Hours" fields, representing
the total hours allocated to sub-tasks.
(Technically, the sum of the maximum between the planned hours
and spent hours of all sub-tasks, with spent hours always used
when a task is closed)
These sub-task hours will be dynamically subtracted from the
remaining hours of the task, and will therefore affect the
task's progress as well.

Upon creation, a sub-task will inherit the link to the
original sales order and procurement from its parent task, and
will by default be assigned to the "sub-task project" set on
the project of the parent task.

Enhancement
-----------
The kanban view for tasks will now display a color-coded label
with the number of remaining hours, whenever the percentage
of remaining hours is below 20% (orange=20%-, red=1%-).

Notes
-----------
This is a forward port of 43c42b304d

Since hr_timesheet has been migrated to the new API, the forward port changes mostly consists in migrating the sub-tasks system to the new API as well.
2016-03-24 13:44:21 +01:00
Jigar Patel 7c49782fea [IMP] im_livechat: Specify that idling operators get disconnected 2016-03-23 16:46:46 +01:00
Kinjal Mehta 16d993a134 [IMP] account_budget,analytic,project: Some display improvements
1/ An empty notebook was created in analytic and filled in account_budget
   That way, we had a horizontal line while the module wasn't installed yet
2/ The fields use_task and use_issue displayed on the account.analytic.account
   are just redundant information. The probable use case is to go on the project
   select the issues management on it, and it will be activated on the related
   analytic account. I don't think that anybody will come on the analytic account
   to activate the issues. So we hide them in group_no_one
3/ On the analytic account form view, display the title label only in edit mode
2016-03-23 16:35:34 +01:00
Kinjal Mehta a57592abe4 [IMP] analytic: Replaced account_type field by active field
Currently there is a selection field 'account_type' on the
account.analytic.account model with 2 values : Active or Archived

Let's use an active field instead and add a Archive stat button on the
form. That way, we can remove all the domain ('account_type','=','normal')
which are implicit with the generic active field behavior
2016-03-23 16:35:34 +01:00
Kinjal Mehta 93da11a59c [REM] account,analytic: removed wizard on Analytic Account menu
Display the analytic account list view directly instead
2016-03-23 16:35:34 +01:00
Nicolas Martinelli 94ed4ce8c8 [FIX] account: manual creation of journal item
The original issue is the following:
- Go to the journal item creation
- Choose a partner
- Add a line => the partner on the journal item is removed

This is because `partner_id` on the account move is a related to
`partner_id` on the account move lines. This is likely to cause errors
during the manual encoding of a journal item, since the relation will
link the partner of the account move to the partner of the first account
move line only.

opw-670661
2016-03-23 15:36:06 +01:00
rsi-odoo 437bc69c84 [MIG] website_hr: code migration to new api. 2016-03-23 14:53:25 +01:00
rsi-odoo 4c96dd813e [MOV] website_hr: file renaming according to new api 2016-03-23 14:53:18 +01:00
Yannick Tivisse efe56fb01c [IMP] crm: Rename 'Closed' into 'Closed Date'
This is a datetime field, not a boolean
2016-03-23 14:24:57 +01:00
Gaurav Panchal c1b6b6b979 [REF] sale_crm : Migrate into new api 2016-03-23 14:02:22 +01:00
Gaurav Panchal 4540e868c3 [REF] sale_crm : Split a file by models 2016-03-23 14:02:22 +01:00
Gaurav Panchal 1622f73f97 [REF] sale_crm : Reorganized module file structure 2016-03-23 14:02:22 +01:00
Vipul Bhatt e396f9dc9a [IMP] project: Demo channel 'Projects & Tasks' following all demo projects
A project can be followed by a channel. This channel will display all the
notifications on the projects followed by it.
2016-03-23 13:45:52 +01:00
rmu-odoo 319353dea4 [IMP] account,account_asset:few usability changes
1. Add an accounting configuration option
   "Assets management & Revenue recognition"

2. Deferred revenue account not set by default in product
    - Create new Deferred Revenue Type
    - Create new product and assign this "Deferred Revenue Type"
      you can see in income account there is nothing set. Actually
      when we select revenue type then in income account system
      have to set "Deferred Revenue Account" which we set on revenue type.
      Otherwise, if we create invoice for this product then system will
      by default take the income account from product category.

3. Change word Depreciation to Revenue :
2016-03-23 13:20:12 +01:00
Raphael Collet 2d254e294b [FIX] ir_actions: fix unbound variable obj in method _get_eval_context 2016-03-23 12:28:05 +01:00
Martin Trigaux f42a00b9b1 [MERGE] website_sale_delivery: new api migration
Closes #10939
2016-03-23 12:14:24 +01:00
Martin Trigaux 42b44daa8f [IMP] website_sale_delivery: return recordset instead of ids
Convert the method _get_delivery_methods to return recordset instead of ids.
This avoids rebrowsing records already computed.
2016-03-23 12:05:19 +01:00
Ravi Gadhia 4e49df4eb0 [MIG] website_sale_delivery: new api migration 2016-03-23 12:05:08 +01:00
Martin Trigaux 67d95df511 [FIX] website_sale: correct triggers for recomputation
Was copied from the one above while we only need the is_delivery field
2016-03-23 12:04:29 +01:00
Virbhadrasinh Gohil 3855ab7d85 [ADD] stock_landed_costs: Add test case for incoming shipment.
The current test in landed costs puts landed costs on outgoing pickings.
It is a bit weird as they are put on incoming shipments normally.  It checks
if the lines of the landed costs have been calculated well, but not if the
amounts/accounts/... on the account move and account move lines have been
calculated correctly.  It should also check the entries created when some
part is already out and when we create negative landed costs.  (in order to
be able to revert them)

Scenario :
- Two new products without stock as is done in current test in real-time
  valuation,...
- Both products are received
- One product goes out (or a part of the quantity)
- A landed cost is created for the incoming picking
- Check that the journal items created, have the correct amounts and that there
  is a part that went out and is put on the out account
- Create a negative landed cost as the first landed cost was a little bit too high
- Check again that the journal items created have the correct amounts
2016-03-23 11:27:55 +01:00
Christophe Matthieu 00f01b8b1d [IMP] website_forum: remove le list of the user per badge
(6 minutes to load all avatar for some page, no sense to display all users)
2016-03-23 11:21:57 +01:00
Christophe Matthieu f1514bf01c [IMP] gamification: split multi function field to avoid massive prefetching of user records
Issue: website_forum takes 15 to 30 seconds to load the user page
2016-03-23 11:21:57 +01:00
rmu-odoo f1e4402b6a [IMP] hr_holiday: show absent employee in dashboard 2016-03-23 10:55:37 +01:00
Rohan Patel c01f5758b0 [IMP] board: Display 'My Dashboard' instead of 'New' in breadcrumb 2016-03-23 10:09:13 +01:00
Rohan Patel dbb2642f44 [REM] board: Remove the board.create model
It is no longer used in master.
2016-03-23 10:09:13 +01:00
Nicolas Martinelli 7a44effd09 [IMP] account: rename "Done" to "Skip"
When less than 2 entries are selected, no action will be performed.
Therefore, the "Done" label is misleading.

opw-670503
2016-03-23 09:31:59 +01:00
Fabien Pinckaers 512e62d5ad Merge branch 'master' of https://github.com/odoo/odoo 2016-03-22 10:40:07 -07:00
Fabien Pinckaers 4589276d7d [IMP] Won leads are not lost 2016-03-22 10:39:23 -07:00
Nicolas Martinelli f37681e74e [IMP] sale_stock: decrease delivered quantity
The commit adds a "Refund" field on the stock move, in the module
sale_stock. This allows to decrease the quantity delivered in the
associated SO, and therefore to generate refunds more easily.
2016-03-22 16:19:01 +01:00
Yannick Tivisse d3714770d9 [IMP] website: Hide website_id in Website Config view
This field is misunderdstood by common user and is problematic in saas
instances. Make it invisible, but usable with the html editor
2016-03-22 15:49:07 +01:00
Aaron Bohy 1193686bf3 [FIX] board: broken include and unwaited deferred
This commit fixes two problems with the dashboard:

- The function prepare_dropdown_menu() has been removed by commit 002660,
breaking the include in dashboard.js, and thus the 'Add to Dashboard' feature
wasn't appended to the FavoritesMenu.

- The code to render the dashboard didn't correctly wait for the action
manager's deferred to be resolved, which produced a traceback when they were
a Kanban or List view in the dashboard.
2016-03-22 15:28:42 +01:00
xmo-odoo c41661ab83 [FIX] view inheritance tests
Validation error type changed from AttributeError to ValueError.
2016-03-22 13:29:54 +01:00
Raphael Collet 01a04f121f [IMP] ir_ui_view: pass error message when validating views 2016-03-22 11:56:32 +01:00
Raphael Collet 6b01c6d120 [FIX] ir_filters: fix API of method create_or_replace
The API was broken after the migration to the new API.  The method now returns
a record with the new API, and a record id with the old API.
2016-03-22 10:20:56 +01:00
Nicolas Martinelli 899d01b9fb [FIX] web_kanban: request fields only if necessary 2016-03-22 08:45:17 +01:00