Commit Graph
98325 Commits
Author SHA1 Message Date
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
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
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
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
qsm-odoo 3b87ef6dda [FIX] product_*,website_sale: wrong template inheritance
In v8, some fields were added for the product.pricelist formview by
template inheritance : after the active field. For v9, this active
field was moved in a button_box button (archive stat_button), so the
added fields (inheritance) landed in the stat_button too.
2015-09-22 14:28:23 +02:00
Martin Trigaux 7a9c0097af [FIX] account: typo 2015-09-22 13:26:36 +02:00
qsm-odoo 250b3ba506 [IMP] product: pricelist items formview layout
* Group with 6 columns caused problem when inside a dialog because of
wrong use of labels.
* Use o_row to align input followed by a '%' sign.
* col=6 group should not be in a parent group (moreover: this group was
alone in this parent group).
2015-09-22 13:02:59 +02:00
Joren Van Onder 07dac79ddb [FIX] point_of_sale: remove references to pos_loyalty
Was causing issues when clicking on Settings. pos_loyalty was moved to
enterprise in 9f1cb9ed97.
2015-09-22 11:57:39 +02:00
Yannick Tivisse e5181b05f7 [FIX] web_kanban, web: KanbanSelection widget refactoring
- Change the widget behavior from asynchronous to asynchronous, by adding 3 related fields
  on the project.task model, which are the custom labels defined for the stage
- Instead of making a rpc call, we are taking directly the labels on the parent for the kanban view,
  or on the view datarecord for the form view
- There are now 2 templates for the kanban view or the form view
- The development has been backported in the community version
- The options attribute has been removed on the project_view.xml file for the kanban_state field
2015-09-22 11:33:58 +02:00
Richard Mathot 8c8fee29ea [FIX] delivery: it is better when parameters are passed in the right order 2015-09-22 11:14:47 +02:00
Thibault Delavallée 396c5db41a [FIX] mail, various: buttons in notifications
Various fixes :
- new button (task / issue / note) param name + correct action
- method button fix
2015-09-22 10:28:01 +02:00
Thibault Delavallée a852218759 [FIX] mail: slack: log a note with internal subtype
The subtype id was not correctly computed, leading to all subtypes being notes. This
make the activites feature of CRM crash.
2015-09-22 10:28:01 +02:00
Martin Trigaux a8c74c8bfd [FIX] website_forum: field label 2015-09-22 10:06:07 +02:00
Joren Van Onder 8a232e7f45 [FIX] point_of_sale: don't automatically open the frontend from workflow
It was preventing pos managers from opening sessions for pos
users. Because pos users cannot open their own sessions, this means they
couldn't do anything anymore.

The reason for it is that the open frontend function checks whether or
not the opened session belongs to the current user. If it doesn't, it
throws a UserError, which prevents the session from being
created. That's all open_frontend_cb did when called from
wkf_action_open anyway, because the action it returns just gets ignored
in the workflow.

This also removes the validate & open session button because the only
reason not to use the new dashboard to create a session is when you want
to create a session for a different user. When doing that, validating
and opening the session yourself makes no sense. When people do want to
create a session for themselves without using the dashboard they can
still do so, they will just have to save the session form and then click
on the continue selling button.
2015-09-22 09:22:40 +02:00
Fabien Pinckaers 973b94bd83 [IMP] request procurement on product 2015-09-21 18:14:46 +02:00
Fabien Pinckaers 4aabd1ef2a [IMP] request procurement on product 2015-09-21 18:14:04 +02:00
qsm-odoo 3807733be6 [FIX] web: field radio empty value
The get_value method of field radio returned sometines an undefined
value (while it is expected to return false is there is no value).

This caused traceback for siblings fields trying to access the value
of an empty field radio (onchange, ...).
2015-09-21 16:21:14 +02:00
odoo-tac a88fae84e4 [FIX] point_of_sale : Virtual keyboard and product search fixed.
The pos search uses keypress instead of keydown event. The virtual keyboard has thus been fixed to trigger the same kind of event.
Using keypress instead of keyup also made the search behaviour erratic. This is fixed with the appropriate use of a timeout.
Finally a keydown listener is added to update the search after a backspace or delete.
2015-09-21 16:07:24 +02:00
Martin Trigaux 6a752daaae [IMP] account: cleaning labels on fields
account: add missing or unclear labels
POS: remove useless surcharge changing the label
l10n_be_invoice_bba: unify label name with account
2015-09-21 15:55:43 +02:00
Joren Van Onder 29ced971c6 [IMP] point_of_sale: make demo user a pos user 2015-09-21 15:02:52 +02:00
qsm-odoo c673d3250c [IMP] sales_team: main dashboard alignement&focus
* Adapt LESS rules so that the tables are top aligned and respect
correct margins.
* Set td min height so that toggling between edit mode and readonly
mode does not modify the table cells dimensions.
* Before this commit, clicking on a target to edit while one was
already being edited closed the new editable target immediately.
2015-09-21 13:58:15 +02:00
qsm-odoo 85b1021fc7 [FIX] project: dashboard button alignment
Flex 0 0 x% layout is broken if content is larger than x% with nowrap
white-space property. Solution is to change in flex 0 0 auto and force
width to x% thanks to the width property.
Also: was always a problem on firefox windows.
2015-09-21 13:58:15 +02:00
Christophe Matthieu e8b57c1457 [FIX] website: addapt tour rte_translator wait for page load
Next steps executed before the next page loading could cause a test
false positive. Remove hack and use waitFor and WaitNot.
2015-09-21 13:45:36 +02:00
Christophe Matthieu b6c987a2fc [FIX] web: Tour test: remove false positive
re-test (element, waitFor, waitNot) because if click on a link to change page, don't want to click again after
2015-09-21 13:45:36 +02:00
Christophe Matthieu e4866f830e [FIX] mass_mailing: remove the wrong scrollbar in html field
Add "web_editor_inside_iframe" id in web_editor iframe template to apply css style only when the field is in html field.
Remove "content" css media query in iframe editor to remove scrollbar.
2015-09-21 13:45:36 +02:00
Christophe Matthieu a41f915493 [FIX] web_editor: iframe of html widget must be checked before render value
If the iframe is destroyed, detached, hide (eg: click on a record, return into the list view and click on an other record), the render_value method try to resize the iframe but jQery raise an exception because contentWindow doesn't exist.
2015-09-21 13:45:36 +02:00
Damien Bouvy f89e8f9df2 [IMP] payment, website_sale, website_payment: unique reference on payment no longer prevent paying
Payment transactions referenceis have a unique constraint which was problematic when a payment was cancelled from the acquirer's page.
To stick the to DRY principle, I factorized a method that checks for existing references and happens a numerical suffix if necessary.
This was already implemented in website_payment but was moved to payment and used in website_sale.
2015-09-21 13:15:58 +02:00
Mahendra barad 727f7c4175 [FIX] point_of_sale : Prevent a traceback when adding a global discount on an empty pos, allow use of a numeric pad dot (.) in payment screen. 2015-09-21 12:53:32 +02:00
Thibault Delavallée 5492f88126 [FIX] mail: mail_message write right
Notified people should be able to write on the message, for example to be
able to star / unstar, needactionize / unneedactionize (nice word).
2015-09-21 12:44:40 +02:00
Olivier Laurent 85a19db1fe [IMP] base: use 'raise_view_error' when checking the inheritance
The message used in 'valid_inheritance' was not very helpful when the
inheritance validity was not passed.
You only knew that some view was not OK without knowing which one.

We now use the 'raise_view_error' method, which can already display all
the meaningful info (view_id, parent_id, view name, ...)
2015-09-21 12:36:02 +02:00
Martin Trigaux 4c73125931 [FIX] delivery: typo 2015-09-21 12:22:54 +02:00
Darshan Kalola 5327869356 [IMP]point of sale: added fiscal_position_id field in pos config to set fiscal postion on each shop. 2015-09-21 12:10:10 +02:00
Martin Trigaux 991e0cbef7 [IMP] base: less technical label
Courtesy of Lionel Sausin
2015-09-21 11:57:19 +02:00
Martin Trigaux 1a48daa4ce [I18N] export source terms 2015-09-21 11:46:35 +02:00
Cedric Snauwaert 17a950c432 [REF] module: cleanup of unused function 2015-09-21 11:38:08 +02:00