Commit Graph
103913 Commits
Author SHA1 Message Date
Denis Ledoux 01cff457e9 [FIX] website_event_track: urltype has been removed from kanban
Before Odoo 9.0, `type="url"` leaded
to the use of `do_action_url` in `kanban.js`, which
basically redirected to the link url.

This action no longer exists in Odoo 9.0, besides, this
is not really useful, you are redirected
anyway when using a `<a href="..."/>`.

opw-668215
2016-03-14 16:12:26 +01:00
Goffin Simon 50586acbc0 [FIX] purchase: Default Taxes in _prepare_purchase_order_line
According to f5989bc3d8

Only the supplier taxes of the company set in the procurement
must be set in the PO.

opw:671339
2016-03-14 16:01:24 +01:00
Nicolas Martinelli d377ffd5bf Revert "[FIX] stock_landed_costs: stock input account"
This reverts commit b955bac100.
The previous behavior was the correct one. However, accounting entries
are missing.

opw-671311
2016-03-14 14:52:23 +01:00
Tanguy Charlier 5bc0bd3707 [REF] hr_timesheet: migrate project_timesheet.py to new API
* New API migration
    * Fix delay hours and total computation : Delay was wrongly computed as 0.0 in every case.
    * Remove onchange from task. They were more confusing than helping.
2016-03-14 14:27:41 +01:00
Invitu bc758128a8 [IMP] add widget support in pivot views (issue odoo#10473)
For example, add widget="float_time" in hr_attendance pivot view measure
field.
2016-03-14 14:24:04 +01:00
Nicolas Martinelli f6b6eb906d [FIX] stock_account: AML date
The a product valuation is real-time, the date used is the scheduled
date of the move, not the actual move processing date. This is because
the date is updated on the move after the AML creation.

opw-671372
Fixes #11228
2016-03-14 14:07:50 +01:00
Goffin Simon e2b3d50ca9 [FIX] crm: deleting a crm.activity
crm.activity inherits mail.message.subtype with the field subtype_id
Before rendering "chatter.ChatComposer", the internal subtypes are fetched
on model mail.message.subtype(in function "fields_view_get").
But when deleting a crm.activity, the linked mail.message.subtype was not
deleted.

Used case:

When deleting a crm.activity, the activity still appeared in the chatter
if you log an internal note for an opportunity as an employee.

opw:670654
2016-03-14 13:30:21 +01:00
Denis Ledoux a7a71bcaa3 [FIX] purchase: report currency conversion
This is equivalent to revisions
- 000ce6a66d
- 48ccb19937
2016-03-14 12:42:33 +01:00
Denis Ledoux 000ce6a66d [FIX] sale: price currency conversion
In the sales report, the price are displayed within
the company currency.

The rates in `res.currency.rate` are the
rate TO the company currency

e.g., if the company use the USD as currency,
3152.20 COP TO USD, for the Colombian Peso

To display the price within the company currency
from the currency in which the sales happened,
the price must be devided by the currency rate,
not multiplied by
e.g., with the same setup and the above example,
If the product was sell to 315220.00 COP,
the price within the company currency (USD) is
315220.00 / 3152.20 = 100.00 USD

This was corrected at revision
48ccb19937
but it has been omitted during the salepocalypse
94716a3f14

opw-671931
2016-03-14 12:34:46 +01:00
Mahendra barad 7bc875724e [FIX]web_settings_dashboard: Fix traceback on click of breadcrum, click on X-more invitation and click back on breadcrum it will generate error. 2016-03-14 12:01:52 +01:00
Richard Mathot 9f7085586b [DOC] web: do_action accepts also the XML id of an action 2016-03-14 11:37:46 +01:00
Denis Ledoux 8158827d2e [FIX] sale: Quotations filter in the sales report
The `quotations` filter in the sales report did not
take into account the `sent` sale orders.

This is following the revision
7f5f945dcf
which meant sense in Odoo 8.0, as
this report is based on the `sale.order.line`,
and the state on the line could be different
than the state on the order, and there was no
`sent` state anyway among the possible values
of the line state selection.

But, for Odoo 9.0, the state on the line
is a related to the state of the order,
and `sent` must therefore be taken
into account again.

opw-671719
2016-03-14 10:48:30 +01:00
Denis Ledoux 24a93d689a [FIX] website_sale: invalidate session pricelist if no longer available
opw-670898
2016-03-14 10:48:30 +01:00
Denis Ledoux afe1d20dac [FIX] website_sale: cached available pricelists
The result of the method `_get_pl` is cached:
```
@tools.ormcache('uid', 'country_code', 'show_visible', 'website_pl', 'current_pl', 'all_pl')
```

But, the result depends as well on the partner pricelist set
in the partner form (or even the pricelist used correctly in his cart),
and, unfortunately, this value is not among this method parameters.

To force the recompute of the method when the partner pricelist
change, one of the method arguments (mentioned above) must change.

To serve this purpose, another method is created, adding
the partner pricelist and the order pricelist among its
parameter, to force the recomputation of the available pricelists
when there is a change in the partner or order pricelist.

The old method is kept for retro-compatibility purposes,
and basically call the new one without the two last arguments

For information, the pricelist in the cookie is set only when
the user choose a pricelist different than the default one
among the available pricelists.

opw-670898
2016-03-14 10:48:30 +01:00
Jairo Llopis 3c5e760e9d [8.0][FIX] Fix broken layout on xs Firefox.
Before patch (screenshot from runbot):

![](https://cloud.githubusercontent.com/assets/973709/13699411/6fc781b2-e77a-11e5-92fe-1e181f9e6b7f.png)

After patch:

![](https://cloud.githubusercontent.com/assets/973709/13699410/6fc774a6-e77a-11e5-83ab-dd31ccb1c4df.png)
2016-03-14 10:47:00 +01:00
Christophe Matthieu a395a54a7c [FIX] web: dataset alter_ids method must use options
x2m send_commands add options for all command to avoid onchange trigger for internal change.
2016-03-14 10:14:16 +01:00
Christophe Matthieu feeac2a4f1 [FIX] web: various small issues in form view onchange/one2many
- Issue: Edit sale.order form view, add new line, change product who have
  taxes and click quickly on save (with slow network) => error message.
  Because some deferreds are lost.
- reduce number of reads and onchange for x2m widgets
- remove before_save method and use commit_value (the issue was that if the
  before_save and the change trigger an onchange, the onchange deferred is not
  checked before saving the content.
2016-03-14 10:14:16 +01:00
Christophe Matthieu bbbf3db581 [FIX] web: avoid double write in the form view 2016-03-14 10:14:16 +01:00
Odoo Translation Bot 345c83a9d0 [I18N] Update translation terms from Transifex 2016-03-13 02:59:06 +01:00
Odoo Translation Bot 41c94f6c77 [I18N] Update translation terms from Transifex 2016-03-13 00:33:15 +01:00
rmu-odoo 221866309b [IMP] l10n_gr: Added post migration file 2016-03-11 16:54:02 +01:00
rmu-odoo cb035a74c8 [IMP] l10n_gr: Created new tags and Assign to taxes 2016-03-11 16:53:57 +01:00
Goffin Simon 2ac57c6a01 [FIX] product: default product_tmpl_id in view form
The form view product.template.common.form is common for product.product
and product.template Then the active_id could not be used by default for
the field product_tmpl_id.

opw:670779
2016-03-11 16:53:22 +01:00
Tanguy Charlier 323af2c259 [FIX] Doc: Invalid example in compute doc 2016-03-11 16:49:23 +01:00
Tanguy Charlier 234f88a6af [REF] sale_service,sale_timesheet: Merge sale_service functionalities into sale_timesheet.
* Since the last timesheets refactoring, timesheet entries are always linked to a project, and sale_service had the same dependencies as sale_timesheet.
    * This commit simplifies the modules hierarchy by merging two modules that have a close functionality and that were both always installed after timesheets and sales.
2016-03-11 16:30:50 +01:00
rmu-odoo 340a085a96 [IMP] l10n_hr: Added pre and post migration files 2016-03-11 16:20:52 +01:00
rmu-odoo 9e0bea8c54 [IMP] l10n_hr : Created new tags and Assign into taxes 2016-03-11 16:20:45 +01:00
Martin Trigaux 2346a51ed0 [IMP] website_payment: remove debug code
Remove logging unecessary information. While this info is not persistent or
transmited, there is no reason to log it in developper console.
2016-03-11 15:13:41 +01:00
Martin Trigaux d67772da57 [I18N] stock: export source terms
missing and unnecessary terms
2016-03-11 15:13:41 +01:00
Yannick Tivisse 4be6ac41de [REM] website: 'Optimize AdWords Campaign' under the Promote menu
fp request
2016-03-11 14:26:18 +01:00
Christophe Simonis b59be87a18 [MERGE] forward port of branch 8.0 up to a0c5cf6 2016-03-11 14:12:58 +01:00
Jeremy Kersten 9067addbab [FIX] crm_partner_assign: replace the stage assigned/recycle from lead
Stage has been removed for lead in saas-9.
So we replace the stage by a tag temporary.
It could be replaced by a new field selection in master
2016-03-11 14:05:54 +01:00
Darshan Kalola 54393e9aa2 [ADD] website: Easy website Favicon configuration from website admin panel
Easy solution: a binary field in website.config.settings
2016-03-11 14:02:21 +01:00
rpi f2a805b286 [IMP] mass_mailing: Move access rights from employee to mass mailing user. 2016-03-11 13:36:44 +01:00
Christophe Simonis a0c5cf68ca [MERGE] forward port of branch 7.0 up to 3bc7ea6 2016-03-11 13:30:23 +01:00
Denis Ledoux 6e09293b7d [MERGE] forward port of branch 9.0 up to 8e69043 2016-03-11 11:42:43 +01:00
Josse Colpaert 99f5782ee6 [FIX] mrp: When exploding for a phantom bom (kit), it should take care of service products in it too
A Phantom BoM can have service products which can create tasks.
Somehow the code did not use the _need_procurement function that was there before
to check if it needs to create a task.
2016-03-11 11:29:23 +01:00
Goffin Simon 8e69043562 [FIX] product_visible_discount: uom in context
The factor didn't have to be computed if the uom was already in context
when browsing the product.

opw:671367
2016-03-11 11:22:02 +01:00
Damien Bouvy 18c94cc969 [DOC] report: paperformat available in report declaration
No warning needed concerning the stupid parperformat_id inheritance hack.
2016-03-11 10:39:43 +01:00
Anand Kansagra 5e0e7c5546 [IMP] account: Remove duplicate actions on the CoA Action menu 2016-03-11 10:05:47 +01:00
Goffin Simon 4899be001a [FIX] mail: When mentioning several times the same user
When mentioning several times the same user, the variable selection
didn't contain duplicated record.

opw:671445
2016-03-11 09:41:03 +01:00
Yannick Tivisse 1165291ed5 [FIX] purchase: Traceback and bad counter computation
On the product_template, the stat button to indicate the purchased quatity
is buggy in several ways.

1/ The states in the read_group domain have been mistaken with the states
   on the picking (clap, clap)
2/ The read_group is seeking the fields product_id and quantity. Too bad, on
   the model the name is unit_quantity (clap, clap)
3/ The displayed PO lines weren't chosen from a domain. So the computed quantity
   didn't correspond to the displayed lines from the button (small clap, clap)
4/ The action_purchase_line_product_tree linked to the stat button is selecting
   the PO lines where the product is the product id. Too bad, on the PO line
   this is a product.product and on the current object this is a product.template
   (epic clap, clap)
2016-03-10 17:25:42 +01:00
Christophe Matthieu 7ca31fdcde [FIX] web_editor: don't display the html content field
issue: message, click on a record, return to the list view, click on an other record => nothing desplayed.

opw-671047
2016-03-10 16:31:56 +01:00
rmu-odoo 75048eae13 [IMP] l10n_in: Added pre and post migration files 2016-03-10 16:20:49 +01:00
rmu-odoo 9c21822893 [IMP] l10n_in: Created new tag nd Assign in to taxes 2016-03-10 16:20:36 +01:00
dut-odoo 05f8211917 [FIX] event: 2 menuitems having the same id
1/ Two menus having same id, so changed id of 'Mail Schedulers' menu.
   So 'Events Types' menu is visible.
2/ UI improvements(changed menu string: Events Types -> Event Categories,
   no more create and edit options for category selection).
2016-03-10 15:32:30 +01:00
Martin Trigaux 105c822901 [FIX] project_issue: typo in subtype
Closes #11158
2016-03-10 15:14:38 +01:00
rmu-odoo bdbbbbd763 [IMP] l10n_de_skr_04: Added pre and post migration files 2016-03-10 14:43:35 +01:00
rmu-odoo b8f0039f8c [IMP] l10n_de_skr_03: Added pre and post migration files 2016-03-10 14:43:29 +01:00
rmu-odoo 6f27f67255 [IMP] l10n_de_skr_04: Assign newly create tag in domain 2016-03-10 14:43:21 +01:00