Commit Graph
114288 Commits
Author SHA1 Message Date
Xavier Morel df695e2d92 [IMP] stock_dropshipping: convert tests to SSF 2017-12-04 13:11:55 +01:00
Xavier Morel 08461c439b [IMP] product_margin: formify tests 2017-12-04 13:11:54 +01:00
Xavier Morel ccaf3b218b [IMP] account_voucher: formify tests 2017-12-04 13:11:54 +01:00
Xavier Morel ecfd4d2c2a [IMP] l10n_generic_coa: port tests to SSF
Tests were previously yaml, then converted to Python with hand-rolled
interactions (e.g. onchanges), finish the conversion.
2017-12-04 13:11:53 +01:00
Xavier Morel 4bf97bdbe2 [ADD] base: server-side formview
Useful to better test business flows & replace yaml test files:
instantiating records & calling onchanges by hand is very
error-prone (it's easy to miss onchanges, or to manually set fields
which can't be set through the view we're interested in, ...)

odoo.tests.common.Form implements the basic *creation*
flow (fields_get, default_get, onchange) up to saving the record,
including proper handling of the required and readonly modifiers &
their domains.

* edition of existing records, including filtering out unmodified
  fields when saving
* possibly buttons
* ensuring the API is convenient
2017-12-04 13:11:53 +01:00
Sanjay Jamod 026979c278 [REF] account: remove option to change number of digits
Remove the possibility to define the number of digits for the accounts in the accounting settings.
 People can do a export/import to do that.
Was PR #16587. Was task 32750
2017-12-04 12:15:44 +01:00
qdp-odoo 03b8c10262 [IMP] purchase: copy currency and company from PO on vendor bills
Was PR #1930. Was task 35219
2017-12-04 10:21:52 +01:00
Géry Debongnie 5faec34a3c [REF] web: update widget to new guidelines
- make delegate/undelegate events private
- remove $el before start
- make replaceElement private
- remove one _ from __render_and_insert... method
- update documentation
- remove make and improve make_descriptive (also, it is private)
- ...
2017-12-04 10:03:00 +01:00
Aaron Bohy 595a405b76 [IMP] web: tests: patch _.debounce and _.throttle
... to allow them to be called several times without having to
wait for the delays.

This was already done for _.throttle, by default for the whole
test suite, and it couldn't be parameterized in individual tests.
This was enough for _.throttle, but the same solution couldn't be
applied for _.debounce, because some tests actually test that some
handlers are correctly debounced.

Those function are now patched in addMockEnvironment, and two
parameters can be set: 'debounce' (default: true) and 'throttle'
(default: false).
2017-12-04 10:01:22 +01:00
Aaron Bohy 5fd72753c6 [FIX] web(_diagram): set viewType on views
The attibute was correctly set on form, list and kanban views, but
not on the other ones. It wasn't really used until now, so it
wasn't a big deal.
2017-12-04 08:05:46 +01:00
Yannick Tivisse c6a3f2b3b6 [MERGE] stock_landed_costs: Improve Landed costs usability
Purpose
=======

Landed Cost usability improvement

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

1/ No need to show the check box landed cost on the landed cost type (hide that, by default it consider landed cost type product)
2/ At the time of creating a Landed Cost, the product type should be 'Service' by default
3/ Remove edit & create option from picking selection (shouldn't be able to create a picking from scratch from the landed cost)
4/ Add regular stat button for 'active'/'Inactive' : https://drive.google.com/file/d/0B7X0nDa4oGandEpNR3Q2dmRzTms/view?usp=sharing [OK]
2017-12-01 17:09:46 +01:00
Haresh Shyara 82b1950e65 [IMP] stock_landed_costs: Replace active checkbox by stat button
Purpose
=======

Add regular stat button for 'active'/'Inactive'
2017-12-01 17:07:47 +01:00
Haresh Shyara 047c7e2089 [IMP] stock_landed_costs: Removed create and edit from pickings selection
Purpose
=======

We shouldn't be able to create a picking from scratch from the landed cost
2017-12-01 17:07:47 +01:00
Haresh Shyara 3b1fbe5abc [IMP] stock_landed_costs: Set type=service for new landed cost products
Purpose
=======

At the time of creating a Landed Cost , the product type should be 'Service' by default
2017-12-01 17:07:47 +01:00
Haresh Shyara 7e4a445b9e [IMP] stock_landed_costs: Removed checkbox landed cost on the landed cost type form view
Purpose
=======

No need to show the check box landed cost on the landed cost type(hide that, by default it consider landed cost type product)
2017-12-01 17:07:47 +01:00
Kinjal Mehta f94071a952 [IMP] sale: Display invoices + credit notes from sales team dashboard
Purpose
=======

From the sales dashboards, there is no way to access the credit notes, while we can access the invoices.
Should be possible to access the credit notes too.

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

Sales->Reporting->Sales Channels/More/View/Invoices-> Display all invoice and credit notes from this sales channel
2017-12-01 17:00:28 +01:00
Yannick Tivisse caa0ac679c [MERGE] project: Smoothen the onboarding
Purpose
=======

Onboarding is still not smooth for new users
2017-12-01 15:02:02 +01:00
Sagar Ahirrao 41f941a7e0 [IMP] project: Improve project quick create modal
1/ Make it smaller
2/ Remove the Create&Edit
3/ Align the text
4/ Open the tasks kanban for this project instead of the project form view
2017-12-01 15:00:25 +01:00
Sagar Ahirrao 2b575e97b0 [IMP] web_editor: Reduce interline in web editor html lists 2017-12-01 15:00:25 +01:00
Sagar Ahirrao e6f1fd4218 [IMP] project: Remove kanban_state help
Purpose
=======

It makes it more complex than what it is.
2017-12-01 15:00:25 +01:00
Sagar Ahirrao c140387f06 [IMP] project: Update tour 2017-12-01 15:00:25 +01:00
Sagar Ahirrao ced12ea414 [IMP] hr_timesheet,rating_project: Remove report from kanban dropdown
Purpose
=======

People don't understand that this is some reporting
2017-12-01 15:00:25 +01:00
dip-odoo a582f00dfa [IMP] product,stock,lunch: Uniformize 'Product Category' accross views and menus
PURPOSE
=======

Ensure terms consistency across Odoo

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

All the menus and fields labels which are related to product.category should be named "Product Category" (if field label) and "Product Categories" (if menu entry)
2017-12-01 14:52:28 +01:00
tbe-odoo 00b6b26b44 [FIX] payment_authorize: Avoid logging credit card credentials 2017-12-01 13:59:49 +01:00
Christophe Simonis 3341564350 [FIX] mail: correct import
Oversight of previous forward-port (obviously)
2017-12-01 13:48:48 +01:00
Foram Katharotiya 290f65f923 [IMP] account: minor usability in invoices
Added 'Analytic account' field in tree view for taxes in 'Customer Invoice'. 

Was PR #16106. Was task 32236
2017-12-01 13:47:20 +01:00
Christophe Simonis 2f99470458 [MERGE] forward port branch 11.0 up to c201cf2b77 2017-12-01 12:55:02 +01:00
Mitali Patel 7e9e2ada32 [IMP] account: usability of accounting dashboard
* [IMP] account: on 'Accounting Dashboard', 'Payments to do' under 'Vendor Bills' block should show total of amount to be(that is, 'To Pay' column total) paid and not the total of open invoices.

* [IMP] account: minor improvements in accounting dashboard,
- changed string from Invoices to validate/Invoices to Validate and Draft Bills to Bills to Validate
- moved above strings slightly left side in Accounting dashboard so that the whole string displayed

Was PR #18730. Was task 35125
2017-12-01 11:02:29 +01:00
stefanorigano c201cf2b77 [IMP] doc: revamp documentation design
A comprehensive theme’s revamp, details:

=== New features ===
- Show titles permalink markers on hover
- “Scrollspy” effect for the sidebar

=== Fixes ===
- Solve an issue causing the sidebar to flicker on scroll
- Hide the sidebar if less then two links

=== Design ===
- Improve typography vertical rhythm and line height
- Visually increase separation between sections
- Review alerts and <dl> design
- Reduce cover’s size
- Reduce overall paddings/margins.

Closes #21304
2017-12-01 10:51:53 +01:00
Christophe Simonis 676c982eda [FIX] stock{,_picking_batch}: correct public method return value 2017-12-01 10:49:32 +01:00
tbe-odoo 477d28644b [IMP] website_sale/quote: Remove unused code 2017-12-01 10:06:30 +01:00
tbe-odoo c32de79237 [ADD] payments: Logging payment transaction operations
- Logging data sent & received to/from payment acquirers to be able to track failed payments.
2017-12-01 10:06:30 +01:00
Christophe Simonis 42264d8dcb [MERGE] forward port branch saas-16 up to 5d7ad2b16c 2017-11-30 18:43:08 +01:00
Christophe Simonis 5d7ad2b16c [MERGE] forward port branch saas-15 up to 863fad1b53 2017-11-30 17:17:16 +01:00
Christophe Simonis 863fad1b53 [MERGE] forward port branch saas-14 up to be64ba6069 2017-11-30 17:15:51 +01:00
Cedric Snauwaert be64ba6069 [FIX] account: reconciliation of payment with statement should not ta…
…ke lock date into account

If we have a payment in october and a statement in november and the lock date is 1st november, we can't reconcile both because we try to write statement_id on payment but there is the lockdate constraint. This is not correct and we should be able to reconcile both even after lock date as it is the case for other moves.
2017-11-30 16:50:54 +01:00
Olivier Colson cd5ce3c7dc [IMP] account: payment terms usability
* Replace payment term lines options 'last_day_following_month' and 'last_day_current_month' by two new less specific ones allowing choosing the day directly, and thus not limited to the last one anymore (semantically different).
* Rename payment term line option value 'fix_day_following_month' into 'after_invoice_month' for more clarity (no semantic change).

Was task 24239. Was PR #15487
2017-11-30 16:08:30 +01:00
Martin Trigaux e4a281b5a5 [I18N] export source terms 2017-11-30 16:03:58 +01:00
Christophe Simonis ab084d580f [MERGE] forward port branch saas-15 up to 98539336a5 2017-11-30 15:27:59 +01:00
Christophe Simonis 98539336a5 [MERGE] forward port branch saas-14 up to b780e4a0e4 2017-11-30 14:44:49 +01:00
Christophe Simonis b780e4a0e4 [MERGE] forward port branch 10.0 up to ba73fd534d 2017-11-30 14:13:39 +01:00
Christophe Simonis ba73fd534d [MERGE] forward port branch 9.0 up to fe4bb49b21 2017-11-30 13:55:01 +01:00
Thibault Delavallée 7ed8829cd8 [FIX] mail: avoid access issue for portal users
As portal users do not have access to activities it makes sense to
limit access to the various activity_* fields to employees only.
2017-11-30 13:25:28 +01:00
Vandan Shah 76fc68a9fc [FIX] google_drive: Use 'get' instead of 'post' in 'copy_doc'
Purpose
=======

This chunk of code was badly converted in P3 on https://github.com/odoo/odoo/commit/01e35141479b8dfc4a390518f89fc52e7cec5396#diff-6ad3d62d2147f2fef519473f2576b459R94
2017-11-30 13:01:33 +01:00
Alexandre Kühn f38ace8de2 [DOC] fields: improve doc for trim attribute 2017-11-30 13:00:36 +01:00
Thibault Delavallée fe4bb49b21 [FIX] mail: fix wrongly duplicated access right 2017-11-30 12:55:48 +01:00
Nicolas Martinelli a9ede7fdfa [FIX] account: default taxes
Use `ir.default` for default taxes. Stop using `ir.config_parameter`.

Fixes #18943
opw-778010
2017-11-30 12:15:48 +01:00
qsm-odoo 82364a2d73 [FIX] website_sale: fix product filters option's layout
Incomprehensibly broken with
https://github.com/odoo/odoo/commit/19b126210934bb3c8134f6f33417bd45104f4ecc?w=1#diff-caf4f49644744b1b91211fd12223dbd2R327
2017-11-30 11:07:47 +01:00
Christophe Simonis 99f343c7b6 [MERGE] forward port branch 9.0 up to 82bde85030 2017-11-30 10:55:32 +01:00
Alexandre Kühn 289582bc2a [FIX] test_main_flows: rename menu entry 'Catalog', workaround for the_flow.customer
Menu entry 'Catalog' has been renamed into 'Products' (see https://github.com/odoo/odoo/commit/941037194d0644a0f2d3348aedd888bce5b1eb74)

The step 'the_flow.customer' with enterprise fails due to an unexpected out-of-focus issue.
2017-11-30 10:23:28 +01:00