Commit Graph

92353 Commits

Author SHA1 Message Date
Denis Ledoux 8d9cfd7321 [FIX] website_sale: retrocompatible patch for a6379e2e67
The view *_acquirer_button being  being in noupdate mode, this is possible that the view isn't updated during the migration
2015-01-09 14:02:17 +01:00
Alexis de Lattre a9907aac8a [FIX] point_of_sale: do not group move lines with different analytic account
When generating account.move.line from pos.order, orders with different analytic
account should not be groupped in generated lines (possible if inherit
_prepare_analytic_account).
Add the analytic_account_id in the key to avoid this grouping.
Fixes #4602
2015-01-09 12:14:45 +01:00
Fabrice Henrion 8f2f541d5e [IMP] account_voucher: Label consistency between wizard button and form view button 2015-01-09 11:57:40 +01:00
Antony Lesuisse c8f07f2862 [IMP] doc: setup lessc installation details 2015-01-09 11:44:22 +01:00
Antony Lesuisse aeaf7ef914 [FIX] logging: dont use color in windows cmd
windows cmd.exe terminal doesnt display them correctly so escape sequences end
up uselessly wasting some of the precious 80 char wide screen estate.
2015-01-09 01:45:41 +01:00
Antony Lesuisse 5a642a802e [FIX] test phantomjs discard stderr
To avoid phantomjs broken pipe messages on odoo stderr during testing.
2015-01-09 01:21:42 +01:00
Wolfgang Taferner 1e5c68f7a6 [FIX] warning: domain was lost in onchange result
Closes #3127
2015-01-08 17:48:01 +01:00
Antony Lesuisse 82a37dc14a [IMP] doc: add instruction for less compiler 2015-01-08 16:50:10 +01:00
Commandant Custo a2a3cffa29 [IMP] product: Improved tooltip for standard_price
Closes #4561
2015-01-08 15:09:55 +01:00
Raphael Collet 4fb9c8f0dc [FIX] hr_holidays: fix validation of the number of days
The validation of leaves was broken because it relies on a check on the
remaining days.  The problem is that the latter uses an old-api function field
that is not recomputed yet at the time of the validation.  The fix consists in
using a non-computed field instead.
2015-01-08 14:36:24 +01:00
Denis Ledoux 6c78541978 [FIX] calendar: prevent updating event with a start date greater than the end date
Setting a constraint on an old api style computed field is broken in Odoo 8.0
The constraint is checked with the old value of the computed field, not the new one
So, it was possible to update an event with a start date greater than the stop date
And once done, it was impossible to correct the mistake
2015-01-08 14:19:28 +01:00
Nick Booker c53951e0a5 [FIX] survey: typo, quizz to quiz
Fixes #4549
2015-01-08 13:14:06 +01:00
Denis Ledoux faf45db0d2 [FIX] calendar: set duration on either stop or start date updated
Not only when both are.
2015-01-08 12:22:13 +01:00
Martin Trigaux dd558c40b8 [FIX] base: translation of terms in inherited view
If a view inherits from another with a different model (typically
product.product view inherits from product.template view), the terms from
the second view were not translated.
Checking on the parent view in case of different model and look up the terms
on this model.
Fixes some of #1755, opw 621512
2015-01-08 12:01:09 +01:00
Martin Trigaux e6df0a21e9 [FIX] purchase_requisition: restrict selection to purchasable products
Fixes #4582
2015-01-08 11:43:28 +01:00
Christophe Matthieu 255f50d0b9 [FIX] website: layout of the snippet list for large screen 2015-01-08 11:00:14 +01:00
Olivier Dony d0cd92bb9f [I18N] Sync updated 7.0 translations from Launchpad 2015-01-07 17:57:28 +01:00
Olivier Dony 005e24fada [FIX] mail.thread: correct matching when finding author + test
The previous matching rules were too fuzzy and allowed random
prefix-match or tail-match of other user's emails.
For example when looking up a partner matching 'foo@bar.com'
the system would sometimes find 'dom.foo@bar.com' instead,
or 'foo@bar.com.tw'.

Fixed by only allowing direct case-insensitive email match
of an addr-spec, or substring match of the addr-spec enclosed
in angle brackets, within a name-addr pair.
See also RFC5322, section 3.4

Also adapted related message_find_partner_from_emails() method
to factor out the partner email resolution mechanism to avoid
the same problem.

Adds corresponding regression test.
2015-01-07 17:50:42 +01:00
Ajay javiya 5abcff8512 [FIX] fields: add minimal support for serialized fields in new API
This is necessary for supporting old-api sparse and serialized fields.  Without
this, old-api serialized fields are broken because they cannot be converted to
new-api fields.

This closes #4571
2015-01-07 16:34:50 +01:00
Nicolas Seinlet 1eb2507034 [IMP] improve search in webshop using a split on white spaces 2015-01-07 15:43:03 +01:00
Denis Ledoux 5e65ee58eb [MERGE] forward port of branch saas-3 up to 32246d9 2015-01-07 15:33:50 +01:00
Denis Ledoux 3335e79652 [FIX] stock_acount: an invoice origin can be False
Therefore:
 - we avoid to split an a bool, as this isn't possible
 - we avoid to concatenate False with strings
2015-01-07 15:10:29 +01:00
Denis Ledoux 31468888a1 [FIX] stock_account: avoid duplicate document origin in invoice
This fix is related to 8de7be6219

opw-621962
2015-01-07 15:00:23 +01:00
Denis Ledoux 32246d963d [MERGE] forward port of branch 7.0 up to 69bfc5e 2015-01-07 14:52:49 +01:00
Denis Ledoux 69bfc5e108 [FIX] sale_crm: typo introduced during rev. 1a10a11018 2015-01-07 14:48:04 +01:00
Denis Ledoux 1a10a11018 [FIX] sale, sale_crm: propagate sales team for advance & on lines invoices
A _prepare method had to be introduced in the wizard for the lines invoicing method
2015-01-07 14:44:29 +01:00
Somesh Khare 28833f070f [FIX] stock: owner on picking not propagated on quants
The owner of an incoming picking was not propagated to the generated quants
Fixes #4136, opw 619854
2015-01-07 13:57:52 +01:00
Denis Ledoux 295dcfc480 [MERGE] forward port of branch saas-3 up to b2be001 2015-01-07 12:49:06 +01:00
Denis Ledoux b2be001257 [MERGE] forward port of branch 7.0 up to dbb2a66 2015-01-07 12:48:39 +01:00
Denis Ledoux dbb2a669f4 [FIX] hr_timesheet_sheet: display timesheet by day summary in employee tz
If an employee in UTC + 1 (Europe/Brussels) entered an attendance from January 2 00:00 to Januay 2 23:59, the summary by day table displayed two different lines, for two different days:
 - 1 hour on January 1 from 23:00 to 23:59
 - 22:59 hours on January 2 from 00:00 to 22:59

 Which is obviously wrong, the employee, in its own time zone, worked on January 2 only.
2015-01-07 12:26:41 +01:00
Ronak Baxi 46b8b94f17 [FIX] fleet,crm_helpdesk: chatter position
Fixes #4553
2015-01-07 12:17:49 +01:00
Antony Lesuisse 4be70c8288 [IMP] doc: installation source postgres setup 2015-01-07 04:47:39 +01:00
Antony Lesuisse f3a9a3d45b [FIX] http make psutil dependency optional 2015-01-07 03:34:03 +01:00
Antony Lesuisse 84419fcd0a [IMP] doc: update windows source code instructions
remove psutil dependency under windows

reverts documentation commit 96aba067a8 because
it prevent sphinx build

merge setup source code and vcs checkout sections and simplify wording

simplify source installation instructions for windows
2015-01-07 03:26:15 +01:00
Denis Ledoux 4c1908088c [MERGE] forward port of branch saas-3 up to 879fca0 2015-01-06 19:00:08 +01:00
Denis Ledoux 879fca0856 [MERGE] forward port of branch 7.0 up to 9191115 2015-01-06 18:56:10 +01:00
Denis Ledoux 91911159f5 [FIX] web: editable list, no re-rendering on field validation
When adding several lines in an editable list (adding 7 lines to an invoice for instance), then clicking on the first row direcly after having filled the last line, the value of the cell sometimes had the value of the last line. Just a display bug, but still.

Using internal_set_value avoid the re-rendering of the cell, and solve the above issue

opw-620111
2015-01-06 18:53:33 +01:00
Martin Trigaux 25c3348a1f [FIX] product: avoid name_get with empty ()
Products with a seller name but no attributes (only one variant) got their name
in the format 'seller name ()'
Fixes #4523
2015-01-06 18:24:13 +01:00
Martin Trigaux ae34a1e93e [IMP] config: remove deprecated comment
It was intended to be replaced by log-handler at first but log-level is still
a very convenient way to manage the level of debug.
2015-01-06 18:03:58 +01:00
Denis Ledoux 6916acdb1d [FIX] point_of_sale: controller pos/web redirects to session opening if no opened session 2015-01-06 17:49:11 +01:00
Josse Colpaert 88169ec625 [FIX] Dozen / Ton spelling
Closes #4554
2015-01-06 17:21:41 +01:00
jir 6c23a9ca19 [ADD] Test cases of stock in new api. 2015-01-06 17:05:11 +01:00
Josse Colpaert 6ea0cc41b9 [FIX] Drop shipping invoice correction
When invoicing from dropshipping picking, choose the correct partner.
Also, change the partner on the picking to be the partner of the purchase.
Change the picking report to include the destination partner or the warehouse address on the right.

[IMP] Only put partner_id on move from purchase when really necessary

[FIX] Default value of partner on stock move should be False
2015-01-06 15:21:35 +01:00
Aaron Bohy ba37ae3cf3 [DEL] Cleaning: key 'images' removed from all __openerp__.py 2015-01-06 14:20:38 +01:00
Martin Trigaux cda46d7d81 [FIX] base: contact image wrongly displayed
The image of a contact of a company was wrongly resized.
Use image_small instead of image for correct ratio (anyway 48x48px).
Remove image_preview as always use image_small (was wrongly positioned and
considered as cache attribute, getting '&cache=NaN' urls...)
opw 593992
2015-01-06 12:31:25 +01:00
Arthur Maniet a6f31ee8e8 [IMP] account: bank statement reconciliation widget: added a 'Show more' button to load further reconciliations. PR #4519 2015-01-06 11:50:49 +01:00
Denis Ledoux ea54d4af9f [FIX] crm: opportunities button in partner form only count opportunities
Before, all crm.lead of the partner were counted, whatever it was a lead or an opportunity, but the button opens the opportunity tree, which has a domain type = opportunity. So leads were not displayed, and the count was therefore misleading.

Besides, the button is called "Opportunities", and it was misleading to count leads for a button with such a name
2015-01-06 11:33:07 +01:00
Olivier Dony d9e52f793b [FIX] res.lang: filter out unsupported format options in default locale info 2015-01-06 11:22:30 +01:00
Martin Trigaux 1d99784a0a [FIX] report: allow margin with size 0
Setting the margins of a paperformat to 0mm was ignored and fallbacked on wkhtml
default margins.
This change is considered as relatively safe as margin-* fields have a default
value and setting 0 is then an explicit choice.
Fixes #3367, opw 620130
2015-01-06 10:56:46 +01:00
Martin Trigaux 96d1520a5e [FIX] base: no line feed in translations
Revert "[FIX] ir_translation: remove control characters from translations"
This reverts commit 6d4e1cc73e.

This was intended to clean malformed translations but it introduced the side
effect of removing all '\n' in translations.

Fixes #4092, opw 619175
2015-01-06 10:43:54 +01:00