Commit Graph
117975 Commits
Author SHA1 Message Date
Raphael Collet bde400ca3e [FIX] account: account tax base computation
In the earlier fix 327f88df, the computation of the amount crashes when the
field `tax_id` is not set.  Simply add an 'if' statement to avoid that case.
2016-10-21 09:46:59 +02:00
Kinjal Mehta b87e6e02a8 [IMP] general: Place (Un)Archive button as last button by default
PURPOSE
=======

Usability Issue of  "Archived" button. People tend to click on it accidentally

+ Also rename `Unarchive` into `Restore`
2016-10-21 09:34:13 +02:00
Aristobulo Meneses d31bd1feb0 [IMP] account: display totals on float fields
On the Customer invoice, Vendor Bills and Payments list views.
The feature exists for Journal Items and entries, but not on invoices and
payments.

Closes #13915
Fixes #13914
2016-10-20 17:21:12 +02:00
Martin Trigaux 83fb76e4c0 [IMP] point_of_sale: sort report by product name
Instead of undeterministic order on a dictionnary
2016-10-20 16:52:30 +02:00
Denis Vermylen (dve) c952685624 [FIX] mrp_repair: fix repair "workflow"
Workflow was badly removed, before repair invoice method didn't make the stock
moves.

Corrected the issue and made the moves happen always at the end of reparation,
not when the repair reaches the done state (ambiguously named "Repaired").
2016-10-20 15:58:11 +02:00
Ravi Patel 5bd4514c6f [IMP] prodcut_expiry: 'Product Alert Time' improvement
- Hide life_time, use_time, removal_time and alert_time if tracking = no tracking
- Change the tooltip of these fields(life_time, use_time, removal_time, alert_time)
- Add filter 'Expiration Alert' on the Lot/Serial Number list view based on the lot/sn alert date
- Add a tag 'Expiration alert' when the alert_date is reached.
2016-10-20 15:37:51 +02:00
dut-odoo 9c77467f07 [FIX] l10n_in: taxes tags
There are inconsistencies between the tax tags as defined in the module
and what the reporting expects.

opw-689188
2016-10-20 15:36:36 +02:00
Nicolas Martinelli 53281b5dbf [FIX] payment_stripe: tracebacks
Tracebacks due to key not present in dict, and inconsistent return of
the method.
2016-10-20 15:16:35 +02:00
Nicolas Martinelli bbe9bc4026 [FIX] payment: traceback
Boom boom if `clean_vals` not defined.

opw-691706
2016-10-20 15:14:03 +02:00
Yannick Tivisse 95de49a9ab [MERGE] website_sale_delivery: Simplify delivery methods management in the e-commerce 2016-10-20 14:43:00 +02:00
Denis Vermylen (dve) 0b703b436a [IMP] website_sale_delivery: unpublish data delivery methods by default
Currently all delivery methods are published after module installation. But if none is published we have an issue processing the checkout.

Free of charge : published by default
The other ones : unpublished by default
2016-10-20 14:33:23 +02:00
Rohan Patel 4b35ce8db2 [IMP] website_sale_delivery: set auto_install True
When e-commerce and delivery are installed, website_sale_delivery should be
installed.
2016-10-20 14:32:08 +02:00
Rohan Patel 6d9c59f348 [IMP] website_sale_delivery: Allow to (un)publish delivery methods from website
Grant the ability to publish delivery methods from the website for those who
have the access rights, in that case to sales manager with publication access rights.

Use the previous commit to display small buttons
2016-10-20 14:32:07 +02:00
Rohan Patel b0e9416962 [IMP] website: add btn_class on publish_management template
To be able to have publish buttons for the website of adaptable sizes.

example:

<t t-call="website.publish_management">
    <t t-set="btn_class" t-value="'btn-group-xs'"/>
    <t t-set="object" t-value="delivery"/>
    <t t-set="publish_edit" t-value="True"/>
</t>
2016-10-20 14:27:43 +02:00
Nicolas Martinelli d30dc96750 [FIX] account: aml linked to statement
When fetching the journal items linked to a bank statement, the
counterpart items are not retrievd since they are not directly linked to
the bank statement. It makes the entries look unbalanced.

Closes #13673
opw-690231
2016-10-20 13:50:09 +02:00
Denis Ledoux afc2497a48 [FIX] account: invoice report, advances counted twice
The below revision force the use of `ABS` on the
`price_subtotal_signed` because of a migration issue:
649b289fa1

This leads to issues regarding the advances, in
`out_invoice` invoices, where this amount
`price_subtotal_signed` is negative, and should
remain negative in this report, otherwise
the advance is counted twice: Once with
the advance invoice, and a second in the actual
invoice where the advance is removed with a line
with a negative `price_subtotal`

e.g.
 - A sale order of 500€ without taxes
 - Create an advance invoice for an advance payment of 10%: 50€ without taxes
 - A second invoice with the remaining: 450€ without taxes

In the invoices report, the total without taxes for this customer was
displayed as 600€ (50 + 500 + 50)
instead of   500€ (50 + 500 - 50)

opw-682390
2016-10-20 13:48:01 +02:00
Nicolas Martinelli eb3b6a6f8d [FIX] hr_expense: traceback
`hr.expense` has no attribute `bank_journal_id`, but `hr.expense.sheet`
has ==> boom boom crash

opw-690690
2016-10-20 13:33:58 +02:00
Goffin Simon e69b0d9876 [FIX] account: Currency rate in account.invoice.report
It's more usefull to display the average than the sum for the currency
rate in account.invoice.report

opw:690899
2016-10-20 13:10:28 +02:00
Adrien Peiffer (ACSONE) 8ffc0c9f81 [FIX] Check accounting lock date on account_move cancel.
Lock date should be checked when the user want to cancel an entry.

opw:690899
2016-10-20 12:42:02 +02:00
Nicolas Martinelli 65878a5b85 [FIX] account_asset: posted depreciation line
When the account move line linked to a depreciation line is deleted, the
depreciation is still considered as 'Posted'.

opw-691084
Fixes #13801
2016-10-20 12:38:05 +02:00
rmu-odoo 542201eed3 [IMP] payment: support defining payment providers for specific countries. 2016-10-20 11:59:17 +02:00
Srushti Patel cac170de23 [IMP] stock: Only display related pickings on "Package Transfer" button
Purpose
=======
On a stock stock.quant.package form view, the "Package Transfer" button does not have any filter, it opens all the pickings

Clicking on "Package Transfer" button should display its related pickings
2016-10-20 11:48:33 +02:00
Jeremy Kersten a7cdd44c2a [FIX] website: reset_password page resize
The less code that was resizing the login and sign up form container
in v9 was moved to the login form, but not to the reset password form.

https://github.com/odoo/odoo/commit/5b65befcd
https://github.com/odoo/odoo/commit/40c0d542d

This commit closes #13866
2016-10-20 11:17:04 +02:00
Jeremy Kersten 9f9ca39dc0 [FIX] base: fix typo in log function in action server
Migration in new api, remove user_id in the request.
This commit avoid to have traceback: 'ValueError: : tuple index out of range'

This commit closes #13860
2016-10-20 11:09:06 +02:00
Nicolas Martinelli ebf3b3d7a8 [FIX] account: potential traceback
The method `get_by_record` expects a singleton.

opw-691198
2016-10-20 10:46:19 +02:00
Jeremy Kersten c73f7ce358 [FIX] base_import: typo in url for help
This commit closes #13903
2016-10-20 10:44:09 +02:00
Martin Trigaux 26bbfc46f6 [FIX] stock_account: stop comparing apples and oranges
company_currency is a recordset, not an id
Introduced at 19199457

Closes #13707
2016-10-20 09:55:31 +02:00
Goffin Simon feffa2efce [FIX] stock: _search_quantities
The operator and the value defined on each domain filter were not
used in the function "_search_quantities".

opw:690753
2016-10-20 09:37:13 +02:00
Martin Trigaux 326ef2301e [REM] im_odoo_support: remove leftovers of module
Fixes #13900
2016-10-20 09:27:20 +02:00
Christophe Simonis 58171177d3 [MERGE] forward port branch 10.0 up to d53bb47 2016-10-19 18:53:32 +02:00
Christophe Simonis d53bb47163 [FIX] account: workflow are gone in 10.0 2016-10-19 18:51:59 +02:00
Jeremy Kersten 62c0a161ef [FIX] web_planner, account: add support for enterprise module + fix link 'Revenue Recognition'
Now, when the module is not found, instead to display a traceback, we open a popup to upgrade to Enterprise.

That will be wrong in case of outdated / wrong link, but in most cases, it is because it is an enterprise module.

This commit closes #13882

TODO: Remove zindex 1051 on planner in master/saas-14
2016-10-19 18:31:37 +02:00
Christophe Simonis 42481f9849 [FIX] website: convert new test to new-api 2016-10-19 18:26:34 +02:00
Christophe Simonis 938ffb92da [MERGE] forward port branch 10.0 up to 6466aa4 2016-10-19 18:16:14 +02:00
djt c840227e10 [FIX] doc: correct a misspelled word
Closes #13822
2016-10-19 18:11:19 +02:00
Whitley 423660b59e [CLA] signature for WhitleyStriber
Closes #13825
2016-10-19 18:11:19 +02:00
Christophe Simonis 6466aa499f [MERGE] forward port branch saas-12 up to 00f4547 2016-10-19 18:09:53 +02:00
Jeremy Kersten 24cdbabcc4 [FIX] mail, mrp, purchase, sale_stock, stock: fix retro compatibility
Other modules that was overriding old name method was just ignored.
Drop retro compatibility fixes in next freeze (saas-14) and stop
useless renaming.

This commit closes #13865
2016-10-19 18:09:37 +02:00
Christophe Simonis 00f45470da [MERGE] forward port branch saas-11 up to 8411b89 2016-10-19 17:56:52 +02:00
Christophe Simonis 8411b893ad [MERGE] forward port branch 9.0 up to 28560a3 2016-10-19 17:34:21 +02:00
Christophe Simonis 28560a34da [MERGE] forward port branch saas-6 up to 8e094bb 2016-10-19 17:23:45 +02:00
Goffin Simon c27d8715af [FIX] stock: _search_quantities
The operator and the value defined on each domain filter were not
used in the function "_search_quantities".

opw:690753
2016-10-19 16:33:17 +02:00
Denis Vermylen (dve) db85ad489c [FIX] hr_holidays: correct new api migration
an old [record_id] was creating a traceback for the "Absent Today" employee
filter, now removed and it works fine again.
2016-10-19 16:25:36 +02:00
Pierre Masereel 57c7b1d3a1 [FIX] barcodes: _set_quantity_listener
Before, the '_set_quantity_listener' function was opening a 'window.prompt'
which had different comportment depending the navigator. For example,
the focus was not allways on the input field, the enter key 'Cancel'
the prompt or 'validate' it.

So to improve the usability and the consistancy we used a dialog instead
a prompt, to manage the focus and the 'Enter' key pressed when we want to
set a quantity.
2016-10-19 16:14:00 +02:00
Raphael Collet 3ec5a23007 [FIX] base: recompute view.model_data_id (#13885)
The field was a stored computed field without dependencies, and therefore it
was never (re)computed. Add a simple dependency on the model `ir.model.data`
to make the recomputation everytime a view is modified. Moreover, when views
are created from modules, delay the recomputation of view fields until their
`ir.model.data` record is created.
2016-10-19 15:20:14 +02:00
Simon Lejeune ecac88dcc0 [ADD] pylint: using variable before assignment 2016-10-19 15:18:58 +02:00
qsm-odoo 01186fef58 [FIX] website_blog: prevent blog title to overflow the cover
Note: in 10.0, the layout has changed and it is not a problem anymore.
2016-10-19 14:52:39 +02:00
Martin Trigaux 5709bd5b98 [FIX] pos_cache: use base64 for attachment content
an ir.attachment expects base64 content
Closes #13878
2016-10-19 14:51:16 +02:00
Nicolas Martinelli 756262639f [FIX] website: traceback in route '/website/action'
The route `/website/action` crashes since `action` and `action_id` might
not be defined.

opw-691634
2016-10-19 14:38:24 +02:00
Jeremy Kersten ce7f7a5687 [FIX] account: change link in planner for Contract and subscriptions
account_analytic_analysis doesn't exists anymore.

This commit closes #13867
2016-10-19 14:38:21 +02:00