Commit Graph
114308 Commits
Author SHA1 Message Date
Arnold Moyaux 3beffd3a34 [REF] hr_maintenance: rename to Maintenance - HR 2017-12-06 10:25:55 +01:00
Arnold Moyaux dfb50572eb [REF] maintenance: rename to maintenance 2017-12-06 10:25:55 +01:00
Arnold Moyaux 992b13e382 [IMP] mrp: kanban view, see working user
This commit add an icon for each people that worked on the Wo
and also
a play icon if the WO is in progress
a pause icon if the WO's workcenter is blocked.
2017-12-06 10:25:55 +01:00
amoyaux 2c0211f94d [REF] mrp: move step from quality_mrp to workorder 2017-12-06 10:25:55 +01:00
Yannick Tivisse c31c5a619a [MERGE] website(_sale): Improve 'todos' in website's dashboard with minor usability
Purpose
=======

Todo buttons are too confusing because it's mixing app suggestions & business todos, etc.
It looks empty when ecommerce is not installed

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

[IMP] website(_sale): Improve UX for the website dashboard

    There are some usability issues in the website dashboard

    1/ Move button 'Go to Website' in the header
    2/ Hide the action button bar if there's nothing in it
    3/ Align the labels in the graph's legend
    4/ Make the legend labels and display more obvious
    5/ Modify the graph colors to be more readable
    6/ Remove margins around todo buttons

[IMP] website_sale: Fetch confirmed orders grouped by product templates

    Sales graph should be based on confirmation_date of sales orders, not the date_order.

    Date should be aggregated by product templates, not variants

[IMP] website: Reload website dashboard when coming back from breadcrumb

    When clicking on a dashboard element (eg: an invoice) and modifying it doesn't reload the dashboard, which could be confusing.

[IMP] website_sale: Display correct records on dashboard buttons

    Display the wanted sales orders when clicking on 'Abandoned Carts' or 'Unpaid Orders'

[IMP] website: Remove the suggested app on the website dashboard

[IMP] sale: Rename 'Order Date' into 'Confirmation Date' in SO tree view

[IMP] sale: Don't copy confirmation date on duplication
2017-12-05 13:17:41 +01:00
Dhawal Limbuwala 4764cae315 [IMP] website(_sale): Improve UX for the website dashboard
Purpose
=======

There are some usability issues in the website dashboard

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

1/ Move button 'Go to Website' in the header
2/ Hide the action button bar if there's nothing in it
3/ Align the labels in the graph's legend
4/ Make the legend labels and display more obvious
5/ Modify the graph colors to be more readable
6/ Remove margins around todo buttons
2017-12-05 13:13:23 +01:00
Dhawal Limbuwala 595a7b9c1b [IMP] website_sale: Modify demo data to be displayed on dashboard 2017-12-05 13:13:23 +01:00
Dhawal Limbuwala 930b682b1d [IMP] website_sale: Fetch confirmed orders grouped by product templates
Purpose
=======

Sales graph should be based on confirmation_date of sales orders, not the date_order.

Date should be aggregated by product templates, not variants
2017-12-05 13:13:22 +01:00
Dhawal Limbuwala 3821eb218e [IMP] website: Reload website dashboard when coming back from breadcrumb
Purpose
=======

When clicking on a dashboard element (eg: an invoice) and modifying it doesn't reload the dashboard, which could be confusing.
2017-12-05 13:13:22 +01:00
Dhawal Limbuwala 350fd6aa8a [IMP] website_sale: Display correct records on dashboard buttons
Purpose
=======

Display the wanted sales orders when clicking on 'Abandoned Carts' or 'Unpaid Orders'
2017-12-05 13:13:21 +01:00
Dhawal Limbuwala 109857949d [IMP] website: Remove the suggested app on the website dashboard 2017-12-05 13:13:21 +01:00
Dhawal Limbuwala 0b19e1737e [IMP] sale: Rename 'Order Date' into 'Confirmation Date' in SO tree view 2017-12-05 13:13:20 +01:00
Dhawal Limbuwala 132738da5f [IMP] sale: Don't copy confirmation date on duplication 2017-12-05 13:13:20 +01:00
qdp-odoo 2dab340717 [IMP] account_tax_python: add the possibility to use some extra info
For example fields from the invoice. This might be needed by some localization using the python taxes.
Was task 40282
2017-12-04 15:12:05 +01:00
qdp-odoo 298491597c [IMP] base: Forbid users from setting currency rate as 0 or less
Because it doesn't have any meaning to do so. Also the default value for rate is now set to 1 instead of 0
2017-12-04 14:37:06 +01:00
Xavier Morel 028573c4a6 [ADD] common: server-side Form view
* correctly executes default_get & onchange on creation
* should correctly execute onchanges on alteration

See converted tests & doc for details.
2017-12-04 14:22:43 +01:00
Xavier Morel 3c4c192cae [FIX] sale_mrp, stock_dropshipping: suppress warnings
* create product correctly (via form) & enable crossdock route
  otherwise no purchase order is created (surprise!)
* silence logger when creating SO as apparently stock warning can not
  be disabled even when it makes no sense
* suppress warning about cost methods when creating a product
  category, that's apparently normal (happens every time on runbot)
2017-12-04 13:11:57 +01:00
Xavier Morel 346d770291 [FIX] sale_mrp: clear product routes before adding manufacturing ones
If purchase happens to be installed before MRP is, the "buy" route is
set by default on products *and* takes precedence over the MRP
one (because created first and same sequence).

This leads to purchase trying to buy products (which have no seller)
instead of MRP trying to manufacture them, which is what we're trying
to do & test.

Fix by clearing the route_ids field before adding the MRP routes.
2017-12-04 13:11:56 +01:00
Xavier Morel d59abc4c74 [ADD] doc: Form & proxies 2017-12-04 13:11:55 +01:00
Xavier Morel 804169fa98 [IMP] sale_mrp: Formify tests
* warn on onchange warning instead of error
* fallback on a node not having modifiers attributes
* required field should apparently fail on False but not 0 or 0.0
* improve error message when adding an incorrect object or model to an
  o2m
  * remove useless test_move_explode
2017-12-04 13:11:55 +01:00
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