Commit Graph
126133 Commits
Author SHA1 Message Date
Hetashree Chauhan 7dae8011df [IMP] l10n_tr: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

This commit is related to task_id : 1909961.

closes odoo/odoo#28898
2019-02-08 08:07:12 +00:00
Hetashree Chauhan 1541bbaa78 [IMP] l10n_bo: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

This commit is related to task_id : 1909961.

closes odoo/odoo#28897
2019-02-08 08:04:58 +00:00
Hetashree Chauhan 629efbd6a9 [IMP] l10n_ar: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

This commit is related to task_id : 1909961.

closes odoo/odoo#28896
2019-02-08 08:01:19 +00:00
Hetashree Chauhan b9894dad71 [IMP] l10n_uy: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

This commit is related to task_id : 1909961.

closes odoo/odoo#28894
2019-02-08 07:22:11 +00:00
Hetashree Chauhan 00d0f3bbff [IMP] l10n_th: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

This commit is related to task_id : 1909961.

closes odoo/odoo#28893
2019-02-08 07:18:46 +00:00
Hetashree Chauhan 3f826fd5ee [IMP] l10n_ve: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

This commit is related to task_id : 1909961.

closes odoo/odoo#28892
2019-02-08 07:14:36 +00:00
Hetashree Chauhan e7e38e5fa5 [IMP] l10n_ca: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

This commit is related to task_id : 1909961.

closes odoo/odoo#28890
2019-02-08 06:53:59 +00:00
Hetashree Chauhan 9d73e158a9 [IMP] l10n_ec: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

This commit is related to task_id : 1909961.

closes odoo/odoo#28889
2019-02-08 06:48:18 +00:00
Hetashree Chauhan c4f2a9b8ab [IMP] l10n_ch: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28888
2019-02-08 06:41:15 +00:00
Hetashree Chauhan e7ba1a83b1 [IMP] l10n_gr: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28886
2019-02-08 06:42:56 +00:00
Hetashree Chauhan 579bd8c6e7 [IMP] l10n_mx: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28885
2019-02-08 06:33:50 +00:00
Hetashree Chauhan 53b85dbb87 [IMP] l10n_pl: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28884
2019-02-08 06:28:28 +00:00
Hetashree Chauhan 4b0656888e [IMP] l10n_in_schedule6: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28883
2019-02-08 06:26:51 +00:00
Hetashree Chauhan 6823551196 [IMP] l10n_in: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961
2019-02-08 06:26:51 +00:00
Hetashree Chauhan 1289cb33e0 [IMP] l10n_be: switch account templates to csv from xml
purpose of this task:
Create all account.account.template from csv file.
after this commit:
all account.account.template of country 'Belgium' will be created from csv file, instead of xml.

This commit is related to task_id : 1909961.

closes odoo/odoo#28879
2019-02-08 07:12:11 +00:00
Hetashree Chauhan d132643613 [IMP] l10n_ro: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28882
2019-02-08 06:24:55 +00:00
Hetashree Chauhan 5d7351886f [IMP] l10n_cn_small_business: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28881
2019-02-08 06:22:56 +00:00
Hetashree Chauhan cab67c8c0d [IMP] l10n_nl: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28878
2019-02-08 06:19:38 +00:00
Hetashree Chauhan e79b7f17cc [IMP] l10n_vn: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28876
2019-02-08 06:13:38 +00:00
Hetashree Chauhan c6126aba8f [IMP] l10n_syscohada: switch account.account.template creation in csv
- data creation is faster when done through a CSV file than an XML file, hence doing it through a CSV
- also, created account_tax_template_data.xml file and moved account.account.tag and account.tax.template data in that file from l10n_syscohada_chart_data.xml file

was task# 1909961

closes odoo/odoo#28875
2019-02-08 06:11:19 +00:00
Hetashree Chauhan cb47cd5a77 [IMP] l10n_fr: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file. Hence doing it through a CSV.

was task# 1909961

closes odoo/odoo#28874
2019-02-08 06:16:48 +00:00
Hetashree Chauhan 065503bebb [IMP] l10n_pe: switch account.account.template creation in csv
data creation is faster when done through a CSV file than an XML file. Hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28873
2019-02-08 06:07:07 +00:00
Hetashree Chauhan d8058ccc6a [IMP] l10n_de_skr04: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

was task# 1909961

closes odoo/odoo#28860
2019-02-08 06:02:37 +00:00
Hetashree Chauhan fa3a1bf100 [IMP] l10n_de_skr03: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

was task# 1909961
2019-02-08 06:02:28 +00:00
Hetashree Chauhan aa76c389cb [IMP] l10n_es: switch account.account.template creation in csv
data creation is faster when done through a CSV file compared to an XML file. Hence doing it through a CSV

This commit is related to task_id : 1909961.

closes odoo/odoo#28871
2019-02-08 06:05:51 +00:00
qdp-odoo a02e277817 [IMP] account: keep numbering of reset-to-draft payments
Was github issue #25441

opw-1935427

closes odoo/odoo#30918
2019-02-07 13:33:41 +00:00
XavierDo 5c3aaacd2e [IMP] mail: correctly patch mail status manager timers
We want to avoid that a `setTimeout` started in one test has an impact on other
tests. This is especially true with the status update loop. Since mail_service
is used in multiple tests, the safest solution is to patch timeouts everytime
we make a call to getMailServices.
There is no need for an unpatch, the patch become the default behaviour until
the page is refresh at the end of tests.

It is possible to manually add the patch after calling `getMailServices`
```
this.services = mailTestUtils.getMailServices(this);
this.timeoutMock = mailTestUtils.patchMailTimeouts();
```
This can be usefull if we want to get the timeoutMock to simulate time changes.

Task: 1856205
2019-02-07 12:53:14 +00:00
XavierDo 2d45df1081 [IMP] mail, web: Add indication abouts it's own status in user_menu.
Task: 1856205
2019-02-07 12:53:10 +00:00
XavierDo 062f748efb [IMP] mail: add a Read More on out of office message
Task: 1856205
2019-02-07 12:53:07 +00:00
XavierDo 086405344e [IMP] mail, hr_holidays: use leaves to compute im_status
When on leave, the im_status can be either leave_online or leave_offline.
This will allow to display a specific icon and a default message when the user
is not at the office.
The leave can have an out of office message. This message will be displayed
in the chat window instead of the user ooo message, and the end date of the leave will be displayed too.

Technical details.
Right now the im_status access leaves directly to know if a user is on leave or not.
An index has been added to optimise this request (thanks to rco).
A solution to optimise this would be to compute part of the information in a cron.

Task: 1856205
2019-02-07 12:53:03 +00:00
Christophe Simonis 87924cb5ad [MERGE] forward port branch 12.0 up to a46138cb01 2019-02-07 13:14:02 +01:00
qsm-odoo be689c53c1 [FIX] web_editor: review drag and drop in the editor
When dropping a snippet into a page, it is dropped in the drop-zone
which is the nearest of the user cursor. When moving a snippet, that
condition did not apply and the user was required to put the cursor at
the exact location of the drop-zone.

Also, for both drag and drop features, the drop zones which appeared
were not displayed correctly for full width columns, which made dropping
sometimes impossible when multiple col-*-12 were below each other.

task-1937758

closes odoo/odoo#30899
2019-02-07 11:12:36 +00:00
RomainLibert 0757ba3c63 [FIX] fleet: fix _get_default_state method
If fleet.vehicle_state_active is not found in the system then the method
will raise an error, hence it won't allow creating any fleet.vehicle

closes odoo/odoo#30925
2019-02-07 15:25:13 +00:00
Cedric Snauwaert def05a1f46 [REF] account: remove last_time_entries_checked on accounts
closes odoo/odoo#30436

Signed-off-by: "Quentin De Paoli (qdp)" <qdp@openerp.com>
2019-02-07 10:17:34 +00:00
wan aab9255357 [IMP] account: reorganise settings
Task 1906794

Description of the issue/feature this PR addresses:

Current behavior before PR:
accounting settings are messy, with invoice & accounting settings mixed up

Desired behavior after PR is merged:

> restructure with Invoicing options first, then Accounting stuff
> move default sending options into "Customer Invoices" section, as first option
> new common section for vendor bill options

closes odoo/odoo#29170
2019-02-28 15:39:54 +00:00
Martin Trigaux c8a3e20f7b [IMP] base: make the name reflect what the rule does
Was called "group user" while was applying to manager

Fixes odoo/odoo#31300

closes odoo/odoo#31537
2019-03-01 14:18:23 +00:00
svs-odoo 32186ad636 [IMP] stock: keep scrap moves visible in movelines
When a scrap move is created, not with the scrap button but with a
scraped operation, the move stay visible in movelines, by opposition of
scrap moves created with the scrap button.

Also, when you create a scrap from a delivery order, it'll try to
prefill the location field with the location where the reserved product
is stored.

Task #1940511

closes odoo/odoo#31500
2019-03-01 10:12:22 +00:00
Laurent Smet 569a498d36 [REM] sale_stock: Remove duplicated incoterms_id field
-incoterm_id in account/models/account_invoice.py
-incoterms_id in sale_stock/models/account_invoice.py

closes odoo/odoo#31463
2019-02-28 12:32:50 +00:00
Laurent Smet 5ee5e876a3 [IMP] account: Remove api.one in account_payment_term.py 2019-02-28 11:08:30 +00:00
Laurent Smet fb065b15a5 [FIX] account: Fix portal in account without account_payment
'transaction_ids' is a field defined in 'account_payment' but used in 'account'.
Then, the portal generates a traceback with only 'account' installed.
2019-02-28 09:08:29 +00:00
Laurent Smet 5755d70618 [REM] account: Remove useless 'counterpart' field in account.move.line 2019-02-28 09:08:29 +00:00
Laurent Smet 9401062aa8 [MOVE] account: move account.move xml stuff in dedicated file 2019-02-28 09:08:29 +00:00
Laurent Smet bd5568a48b [MOVE] account: Move payment term stuff in dedicated file 2019-02-28 09:08:29 +00:00
Laurent Smet da0595dc9f [IMP] account: Make company_id not required on payment.term 2019-02-28 09:08:29 +00:00
Naglis Jonaitis 7e4ca5e5d4 [FIX] tools: correct typo
closes odoo/odoo#31002
2019-02-28 13:10:13 +00:00
Christophe Simonis 7cdf8625bc [FIX] website_slides: correct widget extension
Oversight of previous foward-port.
2019-02-28 16:06:00 +01:00
Christophe Simonis 25e5f0c7ab [MERGE] forward port branch saas-12.2 up to 06898fac3c 2019-02-28 14:45:13 +01:00
Robot Odoo 754ec44508 [MERGE] web: update bootstrap from 4.2.1 to 4.3.1
See https://blog.getbootstrap.com/2019/02/11/bootstrap-4-3-0/
and https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1/

Again, some fixes were added in this version and not in a 4.2.x version
so there is no clean way to backport them in 12.0 / saas-12.2.
If needed, the file bootstrap_review.scss is there for that.

Among the new features, two notable ones:
- The '.modal-dialog-scrollable' class which does what odoo already
  implemented for all its modals. So we could remove our custom code in
  a next update.
- Responsive font sizes ! Plan was to develop something similar for the
  website, so this comes at the right time. The behavior is opt-in, we
  will enable it in a next update.

task-1944790

closes odoo/odoo#31401
2019-02-27 17:05:10 +01:00
Robot Odoo 1bd8c1e846 [MERGE] website, *: make website JS available in all 'frontend' pages
* web, im_livechat, survey, web_editor, website_forum, account,
  auth_signup, payment, portal, project, sale, sale_management,
  web_unsplash, website_mail, website_rating, website_sale,
  website_blog, website_crm_partner_assign, website_event_track,
  website_links, website_slides, website_mail_channel,
  website_mass_mailing, website_sale_comparison, website_sale_delivery,
  website_sale_wishlist, website_event, website_form,
  website_sale_stock, website_twitter

When website is installed, the JavaScript code has access to utilities
to define improved widgets which are automatically attached to existing
DOM elements on page load. Those mechanics are more and more needed in
portal which does not depend on website (as it is website which depends
on portal). This moves part of website JS to web, so that it can be used by all
'frontend' apps whose only common dependency is web (portal, survey, ...).

See sub-commits for details.

task-1932066

closes odoo/odoo#29442
2019-02-27 14:01:27 +01:00
qsm-odoo 36caf5fc16 [FIX] web: disable (new) sanitization of tooltips
Bootstrap 4.3.1 introduced tooltip sanitization. Odoo should normally
use tooltips for secure content anyway, so this commit disables this
sanitization. A proper analyse of our tooltip should however be done
to know if sanitizing is needed (it can also be enabled case by case).
2019-02-27 12:27:39 +00:00