Commit Graph
112264 Commits
Author SHA1 Message Date
Yannick Tivisse 736e850a8e [FIX] mass_mailing: Use werzeug.urls instead of urlparse
werkzeug.urls is used instead of urlparse since https://github.com/odoo/odoo/commit/01e35141479b8dfc4a390518f89fc52e7cec5396#diff-f72572eec7ff7bbeca23ba84eda9fc38L35

Error introduced by forwardport https://github.com/odoo/odoo/commit/ba294a397e6ee3eb7dd0153f0726a880f6b77459
2017-09-08 11:51:28 +02:00
Rohan Patel 7c1e1e5afc [IMP] project: limit task priority to 0 or 1
Because, you know, priority is more about shared favorite than priority.
I love using shared favorites and not being able to prioritize my tasks.
2017-09-08 10:15:08 +02:00
Thibault Delavallée 3ce680ac19 [FIX] crm, hr_recruitment: better compute default values for calendar event
* fix issue with ref not using module as xml id left part;
 * improve computation of applicant_id / res_model + res_id in hr_recruitment;
2017-09-08 10:14:23 +02:00
Ravi Gadhia 44a3c72e0f [IMP] mail: store composer when switching channels 2017-09-08 08:44:04 +02:00
Joren Van Onder 168ca86592 [IMP] stock: let the user know what product needs a lot/serial number 2017-09-07 19:43:20 -07:00
Hetashree Chauhan 6bcc86497d [IMP] mrp: reposition working_state toggle on workcenter kanban cards
Move it to the bottom right of the card.
2017-09-07 19:43:20 -07:00
Hetashree Chauhan 0237200d92 [IMP] mrp: uppercase button text on workcenter kanban cards 2017-09-07 19:43:20 -07:00
Joren Van Onder 9d64002b58 [IMP] stock: check serial/lot numbers before backorder wizard
To avoid the error asking to set serial/lot numbers popping up after
the user clicks 'Create backorder'.
2017-09-07 19:43:16 -07:00
Hetashree Chauhan c699125708 [IMP] stock: add help on show_operations 2017-09-07 19:05:54 -07:00
Thibault Delavallée 7371b550f1 [FIX] sale_payment: sudo tx creation as anonymous users may access it 2017-09-07 18:25:35 +02:00
Thibault Delavallée 010960d5e8 [FIX] sale_payment, website_(quote/sale): fix method typo
sale_payment method to check or create a new transaction when paying
a sale order should be named _check_or_create_sale_tx and kept private
like account_payment one. Both versions exists. This commit fixes
the typo.
2017-09-07 18:25:35 +02:00
Thibault Delavallée fa0ccfdb62 [FIX] sale: get Invoice Orders contextual action back
Commit 55549f1e61 changed the way bindings between action and
contextual menu entries are generated. However a typo was introduced
linking Invoice Orders to sale order lines instead of sale orders.
2017-09-07 18:25:35 +02:00
Thibault Delavallée 57cba85c0d [IMP] calendar: add test for meeting activities
Those tests are not a complete flow test but at last it tests that
activities and calendar events are correctly created / unlinked.
2017-09-07 17:55:58 +02:00
Akash Bhavsar 9568b1525b [IMP] mail, calendar: integrate meeting activities with calendar
This commit improves the use of mail activities by allowing their
integration with the calendar. Activity types now have a category
field that can be used to trigger some specific behavior. First
specific behavior is to have activity types of meeting category.
Creating activities of this type trigger a jump to the calendar to
schedule the meeting. Meeting activities and calender events are
linked to be able to easily navigate through the document, its activities
and its meetings.

Configuration is done using a category on activity types instead of some
hardcoded "meeting" activity to avoid issues with master data and to be
able to choose which activity type should trigger this behavior.
2017-09-07 17:55:57 +02:00
Akash Bhavsar be23a75c0e [IMP] calendar: add generic res_id and res_model_id to link documents and events
Linking calendar.event to documents is a good idea to allow searching and
filtering meetings. It also allow to have a link to the document from a
meeting and ease navigation.

There are currently some specific links (opportunity_id for crm.lead and
applicant_id for hr.applicant) but this commit allows some generic
document linking through a res_model_id / res_id fields pair.
2017-09-07 17:55:57 +02:00
Thibault Delavallée fc4251fef9 [FIX] calendar: avoid recomputing fields at unlink
As unlinking calendar events leads to separate flows depending on the
event being recurrent some fields are recomputed in cache even if records
have already been deleted. This leads to issues when computing recurrence
and accessing some event data. Let us therefore avoid recomputing fields
when unlinking events.
2017-09-07 17:54:02 +02:00
Akash Bhavsar 0ff5acee96 [FIX] web: allow default value for calendar quick create
* fix typo, widged is actually widget;
 * support name coming from context for calendar event quick create;

Support of context could be made generic in quick create mechanism but
in the meantime this fix is considered as sufficient for the use case
we have.
2017-09-07 17:53:50 +02:00
stefanorigano af130256e3 [REF] web, mail: review silver colors
This is also meant to solve a bug in firefox: the scrollbar was the
same color as the background by bad luck.

+ Adapt kanban view borders
2017-09-07 16:36:29 +02:00
stefanorigano 9ec47d3735 [REF] web: set better alignments in top menu 2017-09-07 16:35:41 +02:00
Sanjay Jamod 35cdf9076f [IMP] web: improved date field usability
- datepicker doesn't default to current date by default
- date string in the input is now selected when clicking the field
- adapted the existing tests to the new changes
2017-09-07 13:43:01 +02:00
fwi-odoo ef6074beb6 [FIX] web: fix x2m tests
When a x2m field is modified, the 'save' rpc doesn't send 'False' as second
argument of the special command that manipulate the set of records.
From now on, the virtual id of the record is sent to the server as second
argument. This commit fixes the tests making the assumption that 'False'
was sent.
2017-09-07 11:25:30 +02:00
Joren Van Onder d3617fd852 [IMP] mrp: warn the user when not consuming all materials on an MO
Pops up a warning dialog similar to stock.immediate.transfer.
2017-09-06 21:19:59 -07:00
Fabien Pinckaers 32f4888cce [IMP] mail: no default text for activity types. Avoid bug when changing activity 2017-09-06 21:40:26 +02:00
Christophe Simonis b05e838099 [MERGE] forward port branch saas-17 up to 9dff6516e4 2017-09-06 19:20:29 +02:00
Christophe Simonis 9dff6516e4 [FIX] point_of_sale: avoid storing undefined in localstorage 2017-09-06 19:03:13 +02:00
Christophe Simonis 7580bfa49d [FIX] point_of_sale: stupid typo introduced by previous forward-port 2017-09-06 18:09:23 +02:00
stefanorigano ef64fbba8f [REF] web: remove margin-left for kanban columns' quick-add 2017-09-06 17:55:49 +02:00
stefanorigano 2ef5db7f90 [REF] web: review kanban records' title LESS
- Force vertical margin to 0 in case the class is added to elements
  that comes with a default margin (eg. titles tags)

- Move title & subtitle rules at root level
2017-09-06 17:55:49 +02:00
stefanorigano 9e69958099 [REF] web: review graphs layout 2017-09-06 17:55:49 +02:00
qsm-odoo 9380169c74 [FIX] mail: allow identifying the chatter in creation mode
Before this commit, the chatter was rendered as an empty <div/> without
any class while in creation mode. This <div/> was then placed inside
the .o_form_view_bg element by mistake, as it did not match the
'.oe_chatter' selector.
2017-09-06 17:52:24 +02:00
qsm-odoo cf4f357647 [REF] web: review form view layout
The goal of this review is to have a layout which is correct to
implement the enterprise side-chatter.

This also removes/fixes deprecated community rules and xml templates.
2017-09-06 17:52:24 +02:00
Christophe Simonis d5382abeaa [MERGE] forward port branch saas-17 up to b8dd34fcbb 2017-09-06 17:40:59 +02:00
Laurent Smet c75fe95dfc [IMP] l10n_nl: add missing stuff for the Dutch localization
- Add new tags to have a more detailed P&L with sub-categories.
    - Add Standard Business Reporting (SBR) codes and link them to l10n_nl coa.
    - Add/delete some accounts to the l10n_nl coa.

    see task: https://www.odoo.com/web#id=31825&view_type=form&model=project.task&action=333&active_id=967&menu_id=4720

    Was PR #18636
2017-09-06 16:38:32 +02:00
Raphael Collet 81192d66d9 [ADD] test_performance: check the performance of CRUD operations 2017-09-06 16:05:10 +02:00
Raphael Collet 68fb4b95b4 [FIX] odoo.modules.loading: environment is reset while installing a database 2017-09-06 16:05:10 +02:00
Christophe Monniez 25f7040998 [IMP] base, base_vat*: Company update on template
Purpose: When a user print a report, for the first time, if there is
         no default template choosen, the user should choose a
         template AND should be able to update company information at
         the same time.
         The company form have to be simplified.

* The company report form now inherits from the company form
* Removing the Curency from the company view
* The choosen template is now highlighted
* Footer and website are moved to the other column to balance the view

base_vat: Removing the VIES VAT check from company form view

base_vat_autocomplete: Move VAT as the first field to fill on the
                       company form view
2017-09-06 15:27:30 +02:00
Mahendra barad df20fe9b85 [FIX] web: Place correctly the enterprise tag for widget upgrade_boolean 2017-09-06 15:21:25 +02:00
Mahendra barad e38e251588 [IMP] website: Clean and simplify res_config view
Purpose
=======

- Settings are too complex: too long + too many options that shouldn't be suggested with checkboxes

e.g. twitter roller is now suggested as a new snippet to install from website editor
google maps, slides, forum, etc. should show up in the apps store

- When saving the page I expect to stay in the settings -> no redirection to homepage anymore!

Specification
=============

See task 33620
2017-09-06 15:21:25 +02:00
fwi-odoo c0ceae2f93 [FIX] crm: module crm_voip doesn't exist anymore
Since the refactoring of VOIP, there is no more a module crm_voip but only
voip.
2017-09-06 15:18:19 +02:00
Christophe Simonis b8dd34fcbb [MERGE] forward port branch saas-16 up to 64d56995e0 2017-09-06 13:29:05 +02:00
Thibault Delavallée 16541ae2ae [FIX] website_sale: fix call to generate_and_pay_invoice
Still using saas-16 call convention. Method arguments have changed since then.
2017-09-06 12:57:50 +02:00
Christophe Simonis 64d56995e0 [MERGE] forward port branch saas-15 up to ef5ac872b8 2017-09-06 12:26:36 +02:00
Thibault Delavallée 7820d67210 [MERGE] account/sale(_payment): add invoice and order confirmation and payment in customer portal
This merge improve account and sale customer portal by

 * adding quote confirmation and signature in sale portal;
 * adding a signature widget replacing the one in website_quote;
 * improving the payment form to support URLs and access token
   propagation;
 * adding payment support on orders in sale_payment portal with both
   server2server and form-based payments;
 * adding payment support on invoices in account_payment portal with
   both server2server and form-based payments;
 * globally improving navigation, display and access token use in
   account and sale customer portal;

Please refer to subcommits for more details. Thanks to @jpr-odoo for
preliminary work on those features. Closes #19074.
2017-09-06 11:42:38 +02:00
Thibault Delavallée 0f207f755e [REM] website_sale: remove dead controllers and templates used by old payment form
Those do not seem necessary anymore since commit 1fdb10f0ac introduced
new routes along with the new payment form.
2017-09-06 11:41:25 +02:00
Thibault Delavallée 01f69f65fe [IMP] account_payment: add invoice payment support in customer portal
This commit adds support of payment in the account customer portal. This
is done in the account_payment module. This way customers can now pay
invoices directly on the customer portal and have access to the status
of their invoices. It replaces the old website payment mechanism that
was only allowing to pay without generating payments and reconciliating
them.

Two routes are defined in this commit, one for form-based payments and
one for server2server-based payment. Please refer to commit 1fdb10f0ac
for more details about the new payment form.

Tools methods are added to handle transaction / invoice matching, the
check of invoice and the automatic payment and reconciliation.
2017-09-06 11:41:25 +02:00
Christophe Simonis ef5ac872b8 [MERGE] forward port branch saas-14 up to ec0d51f20e 2017-09-06 11:28:11 +02:00
fwi-odoo 5563168fe7 [FIX] web: calendar: keep scroll after an event quick creation
Before this commit, the scroll was reset to the top of the calendar after
an event quick create.
This commit fixes this by defining the get/set localState for the calendar
renderer in order to keep the scroll and calling 'reinitView' from the
fullCalendar lib instead of always calling 'render'.
2017-09-06 11:17:29 +02:00
Christophe Simonis ec0d51f20e [MERGE] forward port branch 10.0 up to a4bcb66bfc 2017-09-06 10:59:06 +02:00
Christophe Simonis 827b1e8e3d [FIX] P3: reraise exception correctly 2017-09-06 10:57:35 +02:00
Thibault Delavallée 699aa47b00 [IMP] account_payment: add invoice / transaction link
Purpose of this commit is to add a link between invoices and transactions
to store payment data like what is already done for sale orders.

 * add payment_tx_id on account.invoice model that stores the last
   transaction; also add the acquirer related on the tx;
 * add a stat button on invoice with links to all transactions linked
   to that invoice;
 * add account_invoice_id on payment.transaction model that stores the
   link to the invoice;
 * add the inverse one2many from invoice to all its transactions so
   that we can browse them if necessary;
2017-09-06 10:49:03 +02:00