Commit Graph
98526 Commits
Author SHA1 Message Date
Nicolas Martinelli ed5eecf59a [FIX] sale_stock: warning only if quantity decreased 2015-09-23 19:33:24 +02:00
Nicolas Martinelli b460f9a2aa [FIX] analytic: remove deprecated code
The field 'state' has been removed, so this is now useless.
2015-09-23 19:33:23 +02:00
Olivier Dony e4028b12af Revert "[FIX] core: close cursors open during tests"
Not necessary anymore thanks to commit
731b9f60ea.

The test cursors were leaked by the _check_accounting_configured()
function used to manually skip some tests.

After 731b9f6 the tests are skipped cleanly without
leaking cursors, so this became redundant with the reset()
function already present in the TransactionCase cleanups.

This reverts commit 57b14988b0.
2015-09-23 18:55:03 +02:00
Christophe Simonis f8b4a5e2fe [FIX] website_sale: ean13 product field has been renamed barcode 2015-09-23 17:54:42 +02:00
Christophe Simonis 38a20af9b7 [MERGE] forward port of branch saas-6 up to dfdd12e 2015-09-23 17:35:52 +02:00
Christophe Simonis dfdd12e08c [MERGE] forward port of branch 8.0 up to 0cddf87 2015-09-23 17:18:03 +02:00
Christophe Simonis 0cddf87a77 [FIX] {website_,}membership: membership should start the same day of the invoice 2015-09-23 17:15:01 +02:00
Christophe Simonis 4b9b457369 [FIX] website_quote: use correct keyword argument when calling method
(error introduce by previous forward-port)
2015-09-23 17:04:41 +02:00
Christophe Simonis 57b14988b0 [FIX] core: close cursors open during tests 2015-09-23 17:02:42 +02:00
Christophe Simonis 731b9f60ea [FIX] account: skip tests using skipTest method 2015-09-23 17:02:42 +02:00
Olivier Dony 6016b16af7 [FIX] website_sale: yet another kdiff3 mistake during fwd-port 57168a9e90 2015-09-23 16:55:20 +02:00
Martin Trigaux 852a33acb1 [FIX] base: typo in error message and add term in .pot 2015-09-23 16:53:39 +02:00
Martin Trigaux 60fad17c0c [IMP] base: do not allow to desactivate en_US
That would break a lot of methods (e.g. using formatLang method).
Closes #8659
2015-09-23 16:49:17 +02:00
Thibault Delavallée 5885e5d9d0 [FIX] website_event: categories display
Indeed the type field has been renamed to event_type_id. However some code
was still relying on the type and type_count names, instead of event_type_id
and event_type_id_count.
2015-09-23 16:22:35 +02:00
Christophe Matthieu 1c460e3ca8 [FIX] website: can add block in translate mode.
Fix for saas-6 only, don't forward port.

If the user translate a record html field like product... and add block after in English version, the translation doesn't have the new blocks.
In version >= 9.0 the translations contain only textual contents (with font, bold, color...). If a user add a block in english the block appear in all translations (with new text marked to translate).
2015-09-23 16:16:52 +02:00
Joren Van Onder 70dac31fea Revert "[FIX] point_of_sale: remove references to pos_loyalty"
This reverts commit 07dac79ddb.

There is apparently a pending PR which will fix this better.
2015-09-23 16:09:02 +02:00
Christophe Simonis cb0987889c [FIX] account_cancel,web_editor: small issues introduced during previous forward-port 2015-09-23 15:39:09 +02:00
Denis Ledoux b1bd0c6cfa [FIX] account_cancel: allow cancel of whole bank statement
This revision is related to 6f355623f0.

The above revision had as goal to not allow the partial cancellation
(line per line) of a confirmed bank statement, as it would
prevent the ability to reconcile the statement, as reconcilling
a confirmed statement it not possible.

Nevertheless, cancelling the whole bank statement should be allowed
(using the `Cancel Statement` button), as this cancel all lines
and re-set the statement in draft.

opw-649864
fixes #8568
2015-09-23 15:38:04 +02:00
Raphael Collet 6dd5071952 [FIX] fields: in binary fields, pass strip_style parameter between APIs 2015-09-23 15:28:12 +02:00
Yannick Tivisse a93d8380ab Revert "[IMP] stock : Rename 'No Backorder' into 'Do not supply remaining quantity"
This reverts commit f208a1f575.
Fp changed his mind.
2015-09-23 14:50:52 +02:00
Martin Trigaux 19f9328d0b [IMP] l10n_cr: outdated URL
Costa Rica localisation team has moved to GitHub
cf #8651
2015-09-23 14:46:42 +02:00
Goffin Simon bdcae86d67 [FIX] purchase: invoiced purchase order line
When invoice_method == 'picking', a po line is invoiced if all the lines
linked to the po line are in invoices with state not in ['draft', 'cancel'].
To keep the same logic than before commit 9b1ab76.

opw:649746
2015-09-23 14:42:23 +02:00
Jérome Maes 59f04dc364 [FIX] mail : '@' mention appears twice when selecting with clicking ENTER.
UP and DOWN (keydown event) move the cursor position at begining and end of the input text value. ENTER keypress event add 1 to the cursor position. So these events are now 'preventDefault'.
2015-09-23 14:35:43 +02:00
Jérome Maes c116a3562a [FIX] website_mail_channel : channel use member and not follower
Since mail.channel user member instead of follower, the frontend widgets required some changes. This commit kind of duplicate follower controller from website_mail for channel member usage. These are now 2 separates widgets. Performance can be improve by removing rpc call when rendering widget, but since this commit is a fix, it does not touch this.
2015-09-23 14:35:43 +02:00
Gaurav Panchal 90714bf5d6 [FIX] website_mail_channel : Fix the issue of Discussion Group snippet when click on Change Discussion List, And change the wrong name of snippet icon 2015-09-23 14:35:42 +02:00
Christophe Simonis 57168a9e90 [MERGE] forward port of branch saas-6 up to a669433 2015-09-23 14:34:26 +02:00
Fabien Pinckaers 2bbf3c516d [IMP] better warning message 2015-09-23 05:13:37 -07:00
Fabien Pinckaers be491acf57 [IMP] Next activity view improved 2015-09-23 05:02:51 -07:00
Joren Van Onder 91aafaa201 [IMP] point_of_sale: make certain widgets extendable
This makes patching much easier. In some cases we can work around some
of these widgets not being exported, but it's ugly and there's just no
real reason to do that.
2015-09-23 13:49:03 +02:00
Josse Colpaert 7743af00bf [IMP] purchase: show the invoice/picking immediately if only 1, otherwise show list 2015-09-23 13:41:13 +02:00
Damien Bouvy b3f3f96359 [IMP] mail: ir_attachment kanban improvement
When displaying ir_attachments, show a preview if it is an image; show the icon otherwise
Clicking on the icon/preview should trigger a download
+ Typo correction
2015-09-23 13:28:54 +02:00
Denis Ledoux a669433326 [FIX] sale, sale_crm: convert opp to quote, do not force note
When converting an opportunity to a quotation,
the note was forced to the `company_id.sale_note`,
which could be `False`.

This prevented the other possible defaults for note to be set,
e.g. the note from the `website_quote` `template_id`.

Besides, the note forced in this wizard:
`sale_obj.get_salenote`
was almost the same than the defaults of the sale.order:
`company_id.sale_note`
except the language, the note translation in partner lang.

Therefore, the default value of `note` for sale.order has been
changed to use this `get_salenote` method, which handle
the language, so it's no longer required to pass it in
the convertion wizard, the note will now be added
as any default value, giving the possibility
to add another note default value.

opw-650050
2015-09-23 13:20:29 +02:00
Jérome Maes 7974bf5441 [FIX] website_mail, website_sale : redirect to login page to post comment
Add 'force_display' param for the frontend chatter to allow public user to see the textarea. When submitting his comment, he will be redirect to login page (like it was before generic chatter) in both mode (json and post mode). This required changing the error handeling of json mode : when a login is required, the user switch to post mode to allow http redirect, keeping its submitted params (rating, comment, ...).
2015-09-23 13:06:25 +02:00
Jérome Maes 6ed93f1770 [FIX] website_mail : prevent posting empty comment 2015-09-23 13:05:41 +02:00
Jérome Maes 04400f8b61 [FIX] website_sale : avoid to force displaying rating on chatter of other model than product.template 2015-09-23 13:05:33 +02:00
Jérome Maes 1719e26b6e [FIX] rating : use default values for js widget
If no value given for the widget, use the default ones for the rating. Otherwise 'NaN' is sent to the server, causing crash in website_sale when posting a comment without rating
2015-09-23 13:05:23 +02:00
Valerie Pirenne dbe3d8035f [FIX] purchase: advanced calls for tenders
add option in res_config to have advance mode for call for tender (option was lost in commit: 3d8f7c2f24)
+ fix errors in method that used old po_line state
+ change icon to font-awesome icons
2015-09-23 11:59:16 +02:00
Yannick Tivisse f208a1f575 [IMP] stock : Rename 'No Backorder' into 'Do not supply remaining quantity 2015-09-23 11:35:02 +02:00
Yannick Tivisse de0acbfec6 [IMP] hr_equipment,hr_recruitment : Clean 2 methods 2015-09-23 11:35:02 +02:00
Yannick Tivisse be2a911c67 [IMP] Rename 'Chat' application into 'Discuss' 2015-09-23 11:35:02 +02:00
Yannick Tivisse d6949e99de [IMP] sale: rename 'Default Advance Product' into 'Deposit Product' 2015-09-23 11:35:02 +02:00
Yannick Tivisse a65f69625c [FIX] web_tip: typo 2015-09-23 11:35:01 +02:00
Yannick Tivisse d66d2b2cac [FIX] project: tip selector and highlight were wrong 2015-09-23 11:35:01 +02:00
Yannick Tivisse 16a12b3f5d [FIX] base: group group_light_multi_company displayed twice 2015-09-23 11:35:01 +02:00
Yannick Tivisse 7ab1ad10a9 [IMP] project: set 'discover' as alias_name for project data 2015-09-23 11:35:01 +02:00
Martin Trigaux 9e53f04332 [FIX] l10n_hu: missing flag 2015-09-23 10:46:59 +02:00
Christophe Matthieu 82caa363a5 [FIX] website_mail: convert font into image keep height (for pixel perfect) 2015-09-23 10:24:36 +02:00
Joren Van Onder 166289230b [FIX] point_of_sale: properly unlink bank statements
Deleting of pos sessions wasn't possible before because
statement.unlink(context=context) doesn't work anymore.
2015-09-23 10:21:27 +02:00
Thibault Delavallée f8877c16ab [FIX] stock: unnexisting action for button
A modification done in the product form has been reverted probably
by accident, leading to linking a removed action. The intended
action has been put back.
2015-09-23 09:17:55 +02:00
Thibault Delavallée e64fc518c7 [FIX] hr_recruitment: applicant meeting
Add the responsible of the applicant to the meeting.
2015-09-23 09:12:59 +02:00