Commit Graph

92493 Commits

Author SHA1 Message Date
Antony Lesuisse beb5c24adb [ADD] git mailmap and CLA stats
Try a "git blame" or "git shortlog -nse"

Still around 10 commit remaining to be indentified.
2015-02-08 23:00:10 +01:00
nafex 919ac5289d [CLA] Stefan Reisich 2015-02-08 15:38:24 +01:00
Erwin van der Ploeg 6ea1dc67a7 [CLA] CLA BAS Solutions 2015-02-08 15:27:23 +01:00
Olivier Dony c66a48a455 [FIX] doc/cla/sign-cla.md: emphasize the option to modify existing PR + spellcheck 2015-02-08 02:00:14 +01:00
Christophe Combelles 64c8437bce [CLA] Christophe Combelles
Closes #5138
2015-02-07 23:52:42 +01:00
Adrien Peiffer (ACSONE) 23e611c493 [CLA] Adrien Peiffer
Closes #5136
2015-02-07 23:50:35 +01:00
Olivier 523c640afc [FIX] doc/cla/sign-cla.md: typos 2015-02-07 23:42:38 +01:00
Mohammad Alhashash ffc8af1f8d [CLA] Mohammad Alhashash 2015-02-07 18:55:47 +01:00
Antony Lesuisse af901f51fc [ADD] Odoo Contributor License Agreement 2015-02-07 13:47:08 +01:00
Humberto Arocha d89fa3281a [FIX] account_anglo_saxon: Missing Fiscal Position
when creating Cost of Goods Sold Journal Entry
2015-02-06 15:27:05 +01:00
Denis Ledoux 769c62ef27 [MERGE] forward port of branch saas-3 up to f92b2f8 2015-02-06 14:19:30 +01:00
Denis Ledoux bdd4d58b35 [FIX] share: create group before creating a model access with this group 2015-02-06 14:12:18 +01:00
Denis Ledoux f92b2f8d4d [MERGE] forward port of branch 7.0 up to 0b7db55 2015-02-06 14:02:43 +01:00
Jeremy Kersten e0c17258bd [FIX] calendar: allow to force the sending of email in function _send_mail_to_attendees (even if email are himself) and use it for reminder. 2015-02-06 14:02:36 +01:00
Denis Ledoux a6eac0f08e [FIX] share: share feature compatibility with Odoo 8.0
Since rev. 1ce0b70a02, ir.ui.menu
was readable for employees and portal users only

Since rev. 74aa7406bf, the navigation menus
were displayed for employees and portal users only.

Therefore, when sharing a record with the share feature, nothing was
displayed when following the link.

This rev. introduces a new group "Shared group", implied for all shared groups
created through the share feature.
Read access to menus is given to this group
The possibility to display the webclient navigation menus as well.
2015-02-06 14:01:59 +01:00
Denis Ledoux 0b7db5583f [FIX] share: action params in url is action, not action_id
When sharing a record to a share user (for instance, the quotation),
the action in the url was set to "action_id=" instead of "action=",
therefore, the link sent just leaded to nowhere.
2015-02-06 12:59:07 +01:00
Denis Ledoux 8bee3bbfad [FIX] share: mail.notification is also transversal
mail.message and mail.notification are transversal: they should not received directly the access rights
2015-02-06 12:52:47 +01:00
Jeremy Kersten 0cbf8d5386 [FIX] website_customer: check that customer has a country_id
Add country != False in main domain will be not the right fix, because if people doesn't activate the sort by country in customize, they are no reason to hide customer without country_id.
2015-02-06 10:53:15 +01:00
Denis Ledoux 0c9b8cd7af [FIX] survey: write expects a list of integers for ids arg
This is related to rev. 972b02397a
The reason is the same than in the above related rev.
2015-02-06 09:46:46 +01:00
David Monjoie 9bae596693 [FIX] website_sale: shop tutorial doesn't explicitly look for an ipad picture anymore
Previously, if you registered enough images to push the ipad one on page two, the test would fail to find it. Now it chooses the image with index 4, whatever it is.
2015-02-06 09:43:56 +01:00
Denis Ledoux 972b02397a [FIX] survey: write expects a list of integers for ids arg
In saas-3, at rev. c7afc04be3
an assert has been introduced, asserting the record_id of the record class
is an integer.

Therefore, write operations using a string as id lead to a crash
if they trigger a workflow
2015-02-05 17:34:34 +01:00
Denis Ledoux 859979e949 [FIX] web: reset dataset orderby on groupby filter.
If the list view had a default order,
for instance, default_order="create_date desc",
setting a groupby filter kept this default order
and the groupby list was therefore not ordered on the groupby field

In general, when setting a groupby filter on a list
we expect the list to be grouped by the groupby field

The reset of the orderby is done only when the list is not grouped
and a first groupby filter is applied.
The orderby is not reset when adding a new groupby,
when one was already applied.
It doesn't reset either when passing from 2 groupby clause to 1.
It doesn't reset either when passing from 1 groupby clause to none.

opw-627233
2015-02-05 16:39:22 +01:00
David Monjoie 5fe71a3c21 [FIX] website_event_sale: fixed test to allow structural dom changes
It's not like it's the third time I change this test file, right ?
2015-02-05 15:50:06 +01:00
Denis Ledoux 764be06f44 [FIX] stock: obvious distraction error of previous rev. 8ff7d299f5 2015-02-05 15:09:06 +01:00
Denis Ledoux 8ff7d299f5 [FIX] stock: picking, Set date of reception if not set by user previously
If the date_done field of the model stock.picking is already filled in
it means the user do wanted to have this date of reception date
instead of the moment when the user clicked the receive button.

opw-627219
2015-02-05 15:04:58 +01:00
Xavier Morel 93fa43f900 [REV] 54e75b02: excessive breadth makes all falsy values disappear from lists
Empty checkboxes are supposed to be displayed.

Fix specifically and only in the binary field.
2015-02-05 14:39:40 +01:00
Jeremy Kersten 5a26c2d3ec [FIX] crm,hr,base: disable the quick create for country field
The creation of a country is not something to create at flight !
The impact could be bigger that what people was expected (no accounting configured, ...).

The bad manipulation is more often the responsible, eg 'Belgium ' was creating a new country with a trailing whitespace, while the user didn't see the difference and use both country withtout making the diff.
2015-02-05 14:14:59 +01:00
Denis Ledoux e1a1b56205 [FIX] website_sale: handle partner_ids for order email confirmation
This rev. is related to b36908b6f8

partner_ids is another *2many fields of email.template
spotted thanks to ba9bc1e86d
2015-02-05 14:14:30 +01:00
Thibault Delavallée ba9bc1e86d [FIX] email_template: updated onchange_template_id when not having
a template defined: some values were missing leadins to wrong partners and
subject pre computation.
2015-02-05 12:01:56 +01:00
Goffin Simon d5a50fd346 [FIX] sale: fiscal position wrongly taken based on country group.
An automatic fiscal position with a country group can only match with a sale order from a customer who has a country defined.
opw:627087
2015-02-05 11:15:28 +01:00
Jeremy Kersten 8be29c33fa [IMP] website_crm: allow medium_id and section_id field to be overwrited by form 2015-02-05 09:50:36 +01:00
Denis Ledoux c331e963cd [FIX] account: invoice analysis product quantity
This rev. is related to 6641c61ce6

During the above revision, a new jointure has been added
with product_uom, on product template uom_id
The join link was wrong, it was:
 - LEFT JOIN product_uom u2 ON u.id = pt.uom_id
and it must be:
 - LEFT JOIN product_uom u2 ON u2.id = pt.uom_id

 as the alias 'u' is the previous jointure, not this new one.

Besides, the uom_name is now the name
of the product uom of this second jointure
As the uom is now the product default uom
instead of the category reference uom

The groupby clause has been adapted, as the selection was slightly altered
Besides, grouping by u.uom_type, u.category_id was pointless
2015-02-04 20:28:48 +01:00
Denis Ledoux b36908b6f8 [FIX] websiste_sale: order confirmation email with attachment
This rev. is related to 67443b5b17

onchange_template_id returns the attachment_ids as a id list,
not as a *2many command list
The conversion from id list to command list has to be done manually.

At the moment, attachment_ids is the only 2many fields of email.template
2015-02-04 17:08:58 +01:00
Goffin Simon bcf8254c16 [FIX] account_asset: asset_id is missing when you create 'account.asset.depreciation.line'
Add the right asset_id when you create an 'account.asset.depreciation.line' in the depreciation board of an 'account.asset.asset'.

opw:626625
2015-02-04 16:39:29 +01:00
David Monjoie d7f30de9ae [FIX] product: moved pricelist_item ACL from stock to product
Otherwise if we install sale without stock, we can create pricelist and pricelist versions, but not pricelist items.
Fix for issue 626985
2015-02-04 16:17:36 +01:00
Martin Trigaux 16374dfa33 [FIX] account: error message not translated 2015-02-04 15:28:56 +01:00
Rifakat Haradwala a08b9c2c41 [FIX] account: forbid creating entries on closed period
Prevent creating/modifying accounting entries made on close periods.
The period_id and journal_id field on a account.move.line is a related so was
silently (without write call) updated so did not triggered the call to
_update_journal_check while modiying the linked account.move
Force the check in the validation of the move. As the move can not be balanced
without going through this method, this will prevent posted entries in closed
accounting period.
Fixes #1633, opw 615886
2015-02-04 15:28:55 +01:00
Christophe Simonis 7ab70cab74 [IMP] models.py: do not log handled "bad query" 2015-02-04 14:45:50 +01:00
xmo-odoo d87aedb731 [FIX] doc: missing self params in examples 2015-02-04 14:34:13 +01:00
Denis Ledoux 2a162d9be7 [FIX] web: widget date handling user timezone
When converting a datetime field to date, using the widget date,
the date time value was just cropped, removing the hours,
therefore ignoring the user time zone.

For instance, if the user was in UTC + 1, for a date time 02/02/2015 00:30:00,
applying the widget date on this datetime had as result 02/01/2015,
due to the fact the UTC value of the datetime field was 02/01/2015 23:30:00

fixes #4420
opw-621281
2015-02-04 14:33:01 +01:00
David Monjoie 9831636ffb [FIX] website_event_sale: fixed test to allow structural dom changes
Correction of c3c7aa79a0, apparently the tour system doesn't click on the a if the selected element is not the a or an element inside of it, even if the selected item only has the a as child.
2015-02-04 13:24:27 +01:00
Denis Ledoux 3636aeb59d [FIX] web: field on change event
This is related to rev. d17f22cde7

Compare float values using float_is_zeor only
if the key is 'value',
meaning the changed value is the actual value of the field,
not another variable of the field (widget, etc.)

For instance, changing the currency_info of a float field
using the monetary widget should not compare the old and new value using
float_is_zero (the values are not even floats).

opw-627166
2015-02-04 13:03:39 +01:00
David Monjoie c3c7aa79a0 [FIX] website_event_sale: fixed test to allow structural dom changes 2015-02-04 12:04:00 +01:00
Denis Ledoux 90230a967f [FIX] sale_crm: preserve opp time when converting to sale order.
Field date_order of sale.order model was changed from date to datetime
during rev. 56cbc9421d

When converting the opp to a sale order, we must therefore use fields.datetime.now
which returns a datetime
instead of fields.datetime.context_today
which returns a date
2015-02-04 11:16:52 +01:00
Antoine Huvelle 6779166454 [FIX] stock: prevent creating inventories for virtual locations
It makes no sense to allow inventories in supplier locations as it won't anyway
reduce the Inventory if we want to downsize the inventory. This makes
the Inventory act weird.

Ex:
1. Initial situation: 20 units of stock A at supplier's location
2. Makes an inventory stating there is in fact 0 qty of product A at that
location (in the hope to remove some quants).
3. Still 20 units in Suppliers location + 20 units in Inventory loss...

Managing specific suppliers destination is currently not supported.
Same issue with production locations.
Fixes #5052
2015-02-04 10:42:06 +01:00
Nicolas Seinlet 35b3836276 [ADD] l10n_be_intrastat: Belgian Intrastat report
Closes #2247
2015-02-03 19:35:56 +01:00
Christophe Simonis 4af53de399 [MERGE] forward port of branch saas-3 up to 9abcb0c 2015-02-03 18:41:50 +01:00
Christophe Simonis 9abcb0cf2b [MERGE] forward port of branch 7.0 up to 9769279 2015-02-03 18:39:16 +01:00
Denis Ledoux e3b7dd72ec [FIX] hr_evaluation: state field no longer exists on survey.survey 2015-02-03 18:19:40 +01:00
Frédéric van der Essen 9769279e96 Merge pull request 4770 into 7.0
- Add the same behaviour in pos_order form view as in sale_order form view; (domain of partner is restricted to customer = True);
2015-02-03 18:18:14 +01:00