Commit Graph
120048 Commits
Author SHA1 Message Date
eco-odoo 683085ce06 [IMP] account: update config template to allow easier inheritance
Other modules can now add intrastat settings more easily.

Task: 1869419
2018-08-28 15:42:05 +02:00
eco-odoo f1b2d165fb [IMP] sale: creating an invoice from a sale order now triggers _onchange_partner_id
We need to trigger _onchange_partner_id manually in order to allow computations related to the partner change and to avoid creating bridge modules.
2018-08-28 15:42:05 +02:00
Hetashree Chauhan 6145a71da9 [IMP] stock: add class on validate button
Since it exists two action_validate button (one highlithed and the other
not) depending the situation. This commit add a class on the not
highlited button in order to allow an override.
2018-08-28 15:36:40 +02:00
Hetashree Chauhan 4d1d8d457e [IMP] purchase: create bill button
Before this commit the user add to click on vendor bill
button that redirect him to an empty list view where he has
to click on create. Now, vendor bill show a list view of existing
invoice and it exists a new button create bill that directly create
a new invoice with missing delivered product.

It also order button in order to put primary buttons first in the
header.

The tour is modify since the stat button is invisible if the PO does not
have an invoice linked. Instead it clicks on 'create bill' button.

This commit is related to task ID 1835441.
2018-08-28 15:36:34 +02:00
Darshil Trivedi 19e62fa7c3 [IMP] purchase: clean mail template
Usability change:
- Remove amount from RFQ template
- Remove origin from both templates
- Modify last sentence to a proper English
- Add partner reference in PO template

Technically remove the conidtion on object state in
order to guess if it's a RFQ or a PO since the check
is already made in python and it exists a template
for the RFQ and a template for PO.

This commit is related to task ID 1835441
2018-08-28 15:36:27 +02:00
Darshil Trivedi 6d6009c0e0 [IMP] purchase: settings link to roboto fonts
This commit is related to task ID 1835441
2018-08-28 15:36:20 +02:00
David Beguin 61a34dd8a5 [IMP] crm : add is partner blacklisted in crm.lead
Since the mass mailing blacklist, it's possible to see if a contact is blacklisted
using the blacklist_mixin.is_blacklisted. As crm.lead.opportunity view is displaying
one of the two fields email_from and partner_address_email and is_blacklisted is
computed on email_from, it was necessary to add a related fields that read
the is_blacklisted value of the related partner to see directly of the opportunity
is blacklisted or not.
2018-08-28 14:55:48 +02:00
Sébastien Theys 1c59de867d [FIX] web: prevent handle from crashing with text field
289adeb63f introduced a bug where we tried to trigger an event on an element that didn't exist. Indeed there is no input if it's not in edit mode.

This commit fixes it.

PR: none
Task: none
2018-08-28 12:03:35 +02:00
David Beguin e2bc4d57c2 [IMP] mass_mailing : add invalid mass mailing contact email filter
In order to be aligned with the valid recipients counter on mass mailing list,
the valid recipients filter should also exclude invalid emails.
2018-08-28 11:21:51 +02:00
Hiral Bhavsar d24eb183cd [FIX] web: restore tags' names color on kanban
Those were broken with recent m2m tags refactoring.
2018-08-28 10:46:01 +02:00
Christophe Simonis df62c251bf [FIX] web: print boolean checkmarks
Boolean are rendered via background images. Force printing them.

opw-1877570
2018-08-28 10:41:42 +02:00
Sébastien Theys 38cf16d304 [FIX] account: make section and note field widget stronger
The widget was made of duplicate code that was impossible to maintain.

Now we instantiate the correct widget directly.

PR: #26566
Task: 1869469
2018-08-28 09:54:12 +02:00
Sébastien Theys a175c1d202 [FIX] web: o2m correctly left-align the first create button
When there is no handle field, there was an unnecessary margin-left. When there was a handle field, the margin-left wasn't the correct way to align it.

PR: #26566
Task: 1869469
2018-08-28 09:54:12 +02:00
Martin Trigaux 82a6f4f199 [FIX] base,account,sale: typo in field labels 2018-08-28 09:32:29 +02:00
David Beguin f0068c3675 [IMP] mass_mailing : Add dependance with contacts
Contacts is now installed when installing mass_mailing.
It was possible to send mass mailing to contact without having
the contact app installed. which was a non sense because the user could not
manage the contacts and the admin could only send mail to the contact demo data,
which is not very useful.
2018-08-28 09:06:02 +02:00
David Beguin 6ca6e383e7 [IMP] mass_mailing : campaign menu items access only if campaign activated
Campaign Tags and Campaign Stages was accessible in debug mode even if
campaign was not activated in the mass_mailing settings.
there are now not available if the option is not activated.
2018-08-28 09:06:02 +02:00
David Beguin fdd68dab03 [REF] mass_mailing : Renaming Received stat into Delivered
In order to be align between kanban view and form detailed view of mailing,
the name of the delivered mails have been aligned into a signle work : delivered.
2018-08-28 09:06:02 +02:00
Alexandre Kühn eee49f13f0 [FIX][REF] mail: several thread windows fixes
This commit fixes some bugs on thread windows, and make some
improvements on tests related to thread windows.

Fixes:

	1. Correctly position last visible thread window when there are more
	   open thread windows than available slots.
	2. Closing a thread window now marks it as read.
	3. Can now fold/unfold the blank thread window (aka 'New' thread window).

Tests cleaning:

	1. Removed unnecessary 'before assertions' in thread window tests.
	   > Solved with this: https://github.com/odoo/odoo/commit/9b1daa1218f7adf9d741afba607ef5b55b16e3e6
	1. Added basic rendering test for a (non-blank) thread window.
	2. Cleaned thread window tests
	   > Split in different files.
	   > Grouped in 'Thread Window' QUnit module.
2018-08-27 18:32:58 +02:00
qsm-odoo d578644756 [FIX] web, *: use correct DOM for m2m tags
* mail, calendar

- Fix traceback when clicking on a tag without color field (introduced
  in recent changes)
- Properly allow to delete tags on firefox (a button obviously cannot
  contain another button)

Closes https://github.com/odoo/odoo/pull/26547
Thanks to @hbh-odoo
2018-08-27 17:12:56 +02:00
Sébastien Theys 8ba517bfa8 [FIX] web: correctly set the width of the handle column on Firefox
Before this commit, the handle field column would become 1px too big on Firefox when editing the line because of a rounding issue.

Task: none
PR: none
2018-08-27 16:51:21 +02:00
Olivier Colson 40430699df [IMP] base: res.partner.bank : always display "account holder name" field
[IMP] account: partner form view: add a small link under the bank accounts list, allowing to open the tree view of the linked res.partner.bank, so that they can be fully edited

Before that, as the bank_ids field of res.partner is displayed as an editable tree view with only two columns, it was impossible to edit more specific fields of the bank accounts through the partner form view, such as acc_holder_name.
2018-08-27 15:30:19 +02:00
Christophe Simonis 8185970270 [FIX] web: correct test selector
Avoid selecting <td> that contains only a non-breaking space, leading to
wrong string comparison.
2018-08-27 14:35:17 +02:00
Christophe Simonis 1aca7be521 [FIX] point_of_sale: adapt view to renamed field 2018-08-27 14:35:17 +02:00
Thibault Delavallée 2b70abe484 [FIX] hr_holidays: allow to reinitialize module
Demo data prevent from reinitializing hr_holidays module. Indeed confirming
already confirmed leaves or allocations does not work. Demo data are
updated so that we can initialize hr_holidays several times.

This commit is linked to task ID 1876795 and PR #26423.
2018-08-27 14:25:33 +02:00
Thibault Delavallée 94d7c48185 [MOV] mail: move activity code
This recent code should not have been placed at this point.
2018-08-27 14:25:32 +02:00
Christophe Monniez 6dc790d2da [FIX] packaging: find admin uid when testing packages
Since 2f7c03d the admin user could have any uid and the uid 1 is
reserved for the system user. As the uid was hardcoded as 1 when testing
packages, the tests were failing.

With this commit, the uid of the admin user is searched before testing
the packages.

Closes #26603
2018-08-27 13:25:43 +02:00
Xavier Morel 0e307f8280 [FIX] doc building and warnings
doc:

* fix incorrect doc comments (documenting params which don't exist)
* correctly quote non-refs
* fix role label syntax (backticks must be escaped)
* add newline to fix warning

JS doc parser:

* fix handling of already-resolved objects
* fix handling of non-string properties (e.g. foo[0] at module toplevel)
* don't blow up if subject of .include call can't be resolved (just ignore)

Others:

* add translator support for ``problematic`` node (apparently used for
  some refs by recent Sphinx)
2018-08-27 12:55:21 +02:00
Josse Colpaert 8233e524c2 [FIX] iot: remove vim lines for mat 2018-08-27 11:51:40 +02:00
David Beguin 29f3b155c8 [REF] mass_mailing : modify demo data to use user Admin and not System
Fix Issue : With Mass Mailing Campaigns option activated only: if I go to Campaigns menu, I see 'Newsletter', I click on it and I am redirected to Mailings but don't see anything
because the filter 'My Mailings' is activated. In my opinion, there is an inconstancy somewhere. Is it only due to demo data?
Reason : Since System and Admin users refactoring, in one case, we see the data of system, because no filter, ine other case, we see only admin data because filter. As the mailing creator is system and not admin anymore.
2018-08-27 11:37:33 +02:00
Raphael Collet c36fc4a435 [FIX] doc: API of create 2018-08-27 11:18:33 +02:00
Christophe Simonis a7a30791de [MERGE] forward port branch saas-11.4 up to a5187cef10 2018-08-27 11:16:44 +02:00
Christophe Simonis a5187cef10 [MERGE] forward port branch saas-11.3 up to 9eef533e98 2018-08-27 10:37:42 +02:00
Christophe Simonis 9eef533e98 [MERGE] forward port branch 11.0 up to 3c9aa50449 2018-08-27 10:04:06 +02:00
Dipalee Bhalodia 3c9aa50449 [FIX] web: Graph: group by two fields on line chart
Before this commit, when we applied two or more groupbys in line
graph, the groups displayed on the X axis where shifted to the left,
and the first one wasn't displayed at all.

related task: #1848289
Closes: #25037
2018-08-27 08:21:40 +02:00
Moises Lopez - https://www.vauxoo.com/ 8bda4744b5 [FIX] requirements: improve python3.7 compatibility
Continuation from https://github.com/odoo/odoo/commit/27c017ad98b4c9ac5fdcd28c9fd84d3690993118
PyYAML was missed in the list
Closes #26587
2018-08-27 08:19:53 +02:00
Odoo Translation Bot f0ccdcb209 [I18N] Update translation terms from Transifex 2018-08-26 07:07:10 +02:00
Odoo Translation Bot 7526b64e8a [I18N] Update translation terms from Transifex 2018-08-26 04:10:40 +02:00
Odoo Translation Bot 0da9da4c44 [I18N] Update translation terms from Transifex 2018-08-26 02:17:37 +02:00
Jeremy Kersten 70d18276ec [IMP] website_payment: make it website specific
Allow to specity on a payment acquirer on if it is specific to one website or common to all.
2018-08-25 00:03:01 +02:00
Jeremy Kersten 2fb95cbfe5 [FIX] website_theme_install: uninstall current theme
Before this commit we only remove upstream but not itself.
2018-08-25 00:03:01 +02:00
Christophe Simonis 84b22fbab2 [FIX] point_of_sale: adapt view to field rename 2018-08-24 23:21:40 +02:00
Jeremy Kersten d8064099da [FIX] website: move action action_website_add_features
Since we use it in website_form which one is included before res_config_setting,
we need to declare it before.
2018-08-24 22:58:55 +02:00
Christophe Simonis 9f99eb9cb0 [MERGE] forward port branch saas-11.3 up to 3be46428cc 2018-08-24 22:12:20 +02:00
Christophe Simonis 3be46428cc [MERGE] forward port branch 11.0 up to 302ad0632c 2018-08-24 21:12:27 +02:00
Christophe Simonis 302ad0632c [FIX] base: set filename of javascript files of assets
A side effect of this bug was that other bugs like [1] wasn't caught by
the test suite.

[1] 2ed13c583e
2018-08-24 21:07:09 +02:00
Christophe Simonis 2ed13c583e [FIX] web: run all tests, not *only* this one 2018-08-24 21:05:50 +02:00
Romain Derierde-odoojke-odoo
65d8177b55 [REF] website*: revamp res_config_settings for website
Reorder res.config.settings for website
Make website_id in no create in most view
Revamp res.configsetting and view Form simplified

Transform old 'useless' stored field for presentation by computed field.
We can consider that if there are not key, feature is disable.

Co-authored-by: rde-odoo
Co-authored-by: jke-odoo
2018-08-24 20:01:02 +02:00
Christophe Simonis 2438aff60c [FIX] web: remove broken test
This test doesn't pass for unknown reason. We can safely remove it as it
behavior is already tested in test above (create a column in grouped on
m2o).
2018-08-24 19:36:29 +02:00
Christophe Simonis 4a6c3da238 [MERGE] forward port branch 11.0 up to 33981790de 2018-08-24 18:22:27 +02:00
Christophe Simonis 33981790de [MERGE] forward port branch saas-15 up to 4703d649dc 2018-08-24 18:03:00 +02:00