Commit Graph
98303 Commits
Author SHA1 Message Date
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
Cedric Snauwaert f6054e8937 [FIX] module: move the process of loading translation before the post_init_hook and tests phase 2015-09-21 11:38:08 +02:00
Keyur Gajjar b522283ffd [FIX] mass_mailing: mailing list was not created
Add "editable_area" id and remove default html content.
2015-09-21 11:11:11 +02:00
Damien Bouvy 332658c6b6 [IMP] hr_expense: terminology: "More" menu is now "Action" menu; adapt tip 2015-09-21 10:40:22 +02:00
Damien Bouvy 3c5818f6cf [IMP] hr_expense: allow product creation in many2one field 2015-09-21 10:33:41 +02:00
Damien Bouvy a7c379a495 [IMP] sale: better mechanism for expense registration
When a SO is linked to the analytic account: ensure the SO is validated and warn user if not
When there is no SO: simply register the line on the AA; registering expense lines on analytic accounts must not require the use of a sale order
2015-09-21 10:33:41 +02:00
Damien Bouvy ec4203598d [IMP] hr_expense: terminology
analytic accounts are not contracts anymore
2015-09-21 10:33:41 +02:00
Richard Mathot ec7fb80775 [REM] delivery: unused field for now, should not have been merged in a223111b92 2015-09-21 10:20:03 +02:00
Prashant Panchal f41575238b [REM] crm,point_of_sale,sale_crm: unused imports 2015-09-21 09:14:11 +02:00
Yannick Tivisse 44a3e55a8d [FIX] hr_equipment: typo in module description 2015-09-21 09:10:35 +02:00
Nicolas Martinelli 59a2e876b7 [FIX] sale: raise error if no order found
When creating a SO line, make sure we found an appropriate SO.
2015-09-20 20:36:21 +02:00
Nicolas Martinelli 198164dd04 [IMP] sale: better docstrings 2015-09-20 20:36:21 +02:00
Fabien Pinckaers 0ec19af59c [IMP] Workding: less horz space for all buttons picking form 2015-09-20 18:10:32 +02:00
Fabien Pinckaers 98dcba2365 [IMP] CRM Opportunity: add group by expected closing
[IMP] Wording: word center operations --> routing
[IMP] Dialog messages when validating picking lists
[IMP] Workenter & routing form views improved layout
[IMP] edit picking lines (only if multi-locations as nobody understand
this)
[IMP] Editing picking line: product & done qties readonly (otherwise, it
may fail on SO Lines delivered quantities
[IMP] Product form, hide incoming / outgoing quantities: users don't
understand this.
2015-09-20 18:06:23 +02:00
Odoo Translation Bot b85dd39814 [I18N] Update translation terms from Transifex 2015-09-20 03:04:41 +02:00
Fabien Pinckaers ec949ad59e [FIX] delivered quantities successfully updated if > ordered ones 2015-09-19 09:54:13 +02:00
Raphael Collet 2ae06e36f2 [IMP] base: remove useless ormcache decorator in ir.translation 2015-09-18 18:12:23 +02:00
Raphael Collet 000dac032a [IMP] base: avoid double translation of qweb views
Since the new translation process for views, their arch is translated upon
reading the views, before applying inheritance.  Remove the useless translation
that was done after this process.
2015-09-18 18:12:23 +02:00
Raphael Collet 3d6eef46c5 [FIX] translate: remove tags of elements that should not be translated inline
Specifically: audio, canvas, datalist, embed, iframe, map, object, select, svg,
template, textarea, video.
2015-09-18 18:12:23 +02:00
Raphael Collet 3a1483635e [IMP] fields: avoid search when recomputing a field on the same records
This avoids a few dumb queries.
2015-09-18 18:12:23 +02:00
Raphael Collet 7d558a9a86 [IMP] models: improve code to enable field prefetching in onchange mode
Enable the prefetching of several fields while evaluating an onchange.  Special
care is taken to not prefetch computed fields or fields already in cache.  The
latter is necessary to avoid "cleaning up" dirty fields by accident.
2015-09-18 18:12:23 +02:00
Martin Trigaux db1ec83984 [IMP] l10n_no: rename module
Use the format `<country> - Accounting` for localisation modules to be consistent between other modules
2015-09-18 17:53:11 +02:00
Josse Colpaert e8e47f81cd [IMP] stock: By default no source/destination locations on picking types
In order to avoid problems when not filling in a partner,
we put the default supplier/customer locations when no partner is given.
2015-09-18 17:52:30 +02:00