Commit Graph
99161 Commits
Author SHA1 Message Date
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
Martin Trigaux 97c366116e [FIX] base: typo in label of inherit_children_ids field 2015-09-23 09:01:56 +02:00
Denis Ledoux 6adc5d25a8 [FIX] account, ir.sequence: compatibility for accounting sequences using today's date.
In saas-6, the `ir_sequence_date` key in the context
has been introduced, to use this date instead of the
current date for sequences including date variables
(Year, month, day, ...).

So, when an invoice is created for a previous fiscal
year / period, the sequence is built according
to the date of this fiscal year / period.

e.g., for an invoice sequence containing the year,
for an invoice created in 2015, but which
is for the 2014 fiscal year, the sequence
contains 2014 instead of 2015.

Nevertheless, this leads to a retro-compatibility issue:
the impossibiliy to use the current date for your
invoices sequences.
Indeed, some users want to include the current month
and day in their invoices sequences,
e.g. xxx-20150922.

This revision brings the possibility to use both
possible dates, the beginning of the date range
or the current date.

opw-649487
2015-09-22 18:31:34 +02:00
Nicolas Lempereur 17ce3fafb2 [FIX] web: m2m tags, wait for deferred
We have to wait that the request getting the fields data is resolved
before using it.

Completing 655b13b0
2015-09-22 17:41:21 +02:00
Yannick Tivisse 0d1240684a [FIX] web: kanbanSelection widget : labels are not mandatory
Coming from hr_recruitment, where kanban_state is displayed, but without the customization
Also, remove lingering options in view, and missing fields for project_issue
2015-09-22 17:08:55 +02:00
Martin Trigaux b15775c731 [FIX] crm: fault tolerant code
If the sales teams 'Direct Sales' is deleted, it was not possible to load the planner.
Do not crash if no record is found with that ID
Fixes #8624
2015-09-22 16:30:15 +02:00
Nicolas Martinelli 3f17f7efb7 [IMP] sale: add option to set a SO to done automatically
This option will set a SO automatically to Done when it is confirmed.
The purpose is to prevent a user to modify a SO after confirmation, as
it was the case up to v8.0.
2015-09-22 16:24:12 +02:00
Nicolas Martinelli 0037547e8a [IMP] sale_stock: multiple improvements
1) Warning message if quantity is changed on a confirmed SO

2) Cancel related procurements when a SO is cancelled
2015-09-22 16:24:11 +02:00
Nicolas Martinelli ced4bf5539 [FIX] sale_stock: correct warning if not enough quantity available
Fixes #8625
2015-09-22 16:24:11 +02:00
Nicolas Martinelli 5d96a5f234 [IMP] purchase: multiple improvements
1) Remove unnecessary comparison

If the minimum quantity required by the supplier is not met, the
supplier is not chosen. So it is not necessary to compare the quantity
of the supplier after the browse.

2) Ignore AccessError when adding to new supplier to product

This should not block the user to confirm the PO.
2015-09-22 16:24:11 +02:00
Christophe Simonis 71d03fa5b2 [FIX] glitches introduced during last forward-port (as always) 2015-09-22 16:08:49 +02:00
Christophe Simonis 3fd91d4244 [MERGE] forward port of branch 8.0 up to d05ee26 2015-09-22 15:43:12 +02:00
Christophe Simonis d05ee26a72 [MERGE] forward port of branch saas-3 up to 24bcdb7 2015-09-22 15:40:28 +02:00
qsm-odoo 8b05d378dc [IMP] crm: meeting statbutton, change filter label
When clicking on the stat_button "Meetings" in a partner formview, the
calendar opened with a filter "Attendees : <the_partner_id>". Now the
same result occurs but with a more explicit filter: the partner name
instead of its id.
2015-09-22 15:36:18 +02:00
Christophe Simonis 33bb8db05e [FIX] base: do not validate deactived custom views 2015-09-22 15:33:01 +02:00
Christophe Simonis 24bcdb75fb [MERGE] forward port of branch 7.0 up to c2aff47 2015-09-22 15:30:22 +02:00