- Dec 04, 2014
-
-
Denis Ledoux authored
The price_total field of the account invoice report is not rounded (it cannot be easily rounded, as this has to be done in the sql view) In a multi currencies environment, this is possible that the price_total value has a lot of digits We therefore round it manually, for the gauge of the sales team kanban view
-
Denis Ledoux authored
Before, all isolated (between xml/html tags) two chars words coming from views were not translated (by choice). But, for some words, allowing them is useful. For instance, the word 'or' located between two buttons. opw-616716
-
Arthur Maniet authored
[FIX] res.currency: correctly compute the number of decimal places for currencies formatting in 'get_format_currencies_js_function'.
-
Denis Ledoux authored
This reverts commit 5f9280e8. These tests have been introduced in 7.0/saas-3, but can no longer be applied in 8.0, as they uses models that do not exist anymore in the new wms. if such tests do not exist yet in Odoo 8.0, then these tests needs re-work, they cannot be applied like that Conflicts: addons/purchase/tests/test_average_price.py
-
- Dec 03, 2014
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Alexis de Lattre authored
-
Christophe Simonis authored
-
Holger Brunn authored
Pass group_id information when a manufacturing order is created from a procurement to keep a better traceability and know the reason of stock.move creation. Fixes #4019
-
Cédric Snauwaert authored
Recompute the name_template field if the template changes. backport of 41628fc7 + f25c5d85 to 7.0 plus some optimisations in triggers Fixes #3277
-
Adrien Peiffer authored
[IMP] Rounding not necessary
-
Mart Raudsepp authored
Without this better floating point handling, an extra stock move might be created for zero quantity for some order lines upon PO confirmation, because qty is equal to something closer to e.g 1.14e-13, but this is larger than 0, so it creates a stock.move, which gets rounded too late to 0.0 Closes #3346
-
Mart Raudsepp authored
Fixes comparison with min_quantity orderpoint in scheduler - basic floating point math issue in procurement scheduler when comparing current quantity with orderpoint minimum quantity. In certain cases floating point comparison could result in e.g 400.0 < 400.0 == True due to typical floating point comparison issues, as Odoo doesn't use Decimal types where the issue doesn't exist. Fixes early exiting out of the loop cycle, in case qty is already near zero. Fixes the new procurement creation check, to not do that if it's close enough to zero already, to be considered a floating point math error, not really non-zero. These combined (or at least the last one) avoid each supply_method == buy pending in draft PO's getting a zero quantity extra procurement order each time the scheduler runs. Otherwise there could be hundreds of zero quantity procurement orders pending, which makes the confirming of the PO take hours, due to creating hundreds of stock moves for each order line. Use float_compare helper to solve all these with floating point type for now, instead of the more evasion possibility of converting to Decimal module. Two potential bad comparisons remain, add FIXME notes for now until further analysis. Also: Float rounding on reste when comparing and on the procurement qty
-
Alexis de Lattre authored
Fixes #4011
-
Martin Trigaux authored
When the list view is grouped, the page count should be hidden as irrelevant. However if it's fully hidden, the limit can no longer be changed. Instead of hidding the pager, this commit hides the arrows and replaces the content by the current limit to allow to be changed.
-
Christophe Simonis authored
-
Xavier Morel authored
fixes #3157
-
Raphael Collet authored
-
Yajo authored
Install psycogreen from easy_install (not in EPEL), required for openerp-gevent
-
Grover Menacho authored
[FIX] action_confirm was not asking for purchase pricelist, otherwise it was asking for sale pricelist
-
Benoit Guillot authored
Fixes #3973
-
Josse Colpaert authored
-
Raphael Collet authored
-
- Dec 02, 2014
-
-
Julien Legros authored
-
Julien Legros authored
The average price computation is now deduplicated and moved to a separate function called in stock_move action_done. This makes sure it is always called when a stock.move is processed, even without going through the partial picking wizard. Fixes #2991 Closes #3949 OPW-615491
-
Josse Colpaert authored
-
Mack authored
Rebase and close #3618
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Mario Arias Badila authored
Needed to create filters like "previous month" It was just defined for "datetime", but is also needed for "date" closes #2915
-
Abhishek Jaiswal authored
closes #2623
-
Denis Ledoux authored
This is related to rev. 83b28737
-
Josse Colpaert authored
[IMP] Query should pass through orm and as such the refreshes can be removed in the code, which will go faster as it is done automatically by the new api
-
Nicolas Lempereur authored
* The dashboard from the backend howto doesn't specify "name" field which causes non-null constraint violation. * Some useful examples uses idea.idea" model which isn't available in 8.0 so I replaced them with "note.note". closes #3993
-
Denis Ledoux authored
-
Josse Colpaert authored
[IMP] Add a method half-up for uom conversion in case we want to convert from default UoM to something else + remaining_qty round + default factor on UoM
-
Josse Colpaert authored
-
Josse Colpaert authored
[IMP] When preparing pack operations, use the smallest UoM of the moves if they are smaller than the default UoM. Otherwise use default UoM. The same is done when extra moves are generated. It is going to check if the UoM of the operation is smaller if it has one. Throw an error when a key can not be found in action_done because there were links on a move that was not supposed to be done (e.g. 0.5 Dozen when Dozen is rounded at 1) [IMP] Throw an error when a key can not be found because of UoMs/picking + extra float_compare [IMP] Integrate remarks qdp
-
Josse Colpaert authored
-
Josse Colpaert authored
[IMP] Rounding should be done on move immediately to default UoM and quants should be rounded to the default UoM + remaining_qty [FIX] Remaining qty should each time be in the default UoM of the product Even with different UoM we want a consistent matching between moves and pack operations. When calculating the remaining qty on move/pack operation we always start by converting the qty on the move/operation to the default UoM and afterwards we subtract the links between them which will also be in the default UoM of the product. In order to create backorders / extra moves these quantities are used.
-