- Sep 25, 2014
-
-
Denis Ledoux authored
-
Simon Lejeune authored
-
Christophe Simonis authored
The context was removed by 1933e926.
-
- Sep 24, 2014
-
-
Cédric Snauwaert authored
Fixes problem when we try to sell 12 units of a product and change it to 1 dozen, the algorithm was then trying to recompute the original amount and was getting 12,0000048 as a result which was then passed to the ceiling method, getting 13.0! See also previous commit and issue #1125, PR #1126
-
Cédric Snauwaert authored
Modified product ceiling() to use float_round() with special mode for rounding UP (away from zero), avoiding pathological cases where float representations errors were ceiling to the superior unit. Also added correspding tests for rounding_method=UP Fixes issue #1125, and replaces PR #1126.
-
Martin Trigaux authored
Even if this should never be used in normal portal environment, if a user with enough access rights tries to create an invoice, this would crash. We don't need context here (opw 612591).
-
Guewen Baconnier authored
When setlast_tracking is called on a large number of moves in a picking (e.g. when splitting moves in a picking), the time to complete grows exponentially. The reason is that it loops over all the moves of a picking, even if it keeps only the last tracking. The method now uses a search() with a limit so it doesn't need to browse all the moves. Added test to check the behaviour of setlast_tracking Fixes #2448
-
Ravi Gohil authored
When opening a lead/opportunity from the phonecalls view, we did not open the correct view (always the lead). This will use the type of the crm.lead to determine which view should be used, opw 608493.
-
Martin Trigaux authored
If every line of a partial delivery is at zero, do not generate empty backorders (opw 608680)
-
Denis Ledoux authored
-
Martin Trigaux authored
The stock_partial_move wizard removes the required attribute for the field picking_id on a stock.partial.move. This means that we could get moves without picking_id and the previous line was failing ('NoneType' object has no attribute 'currency_id'). opw 614531
-
- Sep 23, 2014
-
-
Denis Ledoux authored
The cleditor width does not include the margins. Setting 100% will make the editable area too large (104%) on Firefox (opw 611700). This issue was already fixed in newer releases, from commit 9247c37d Nevertheless, it introduced a new issue: while editing the form, the content of widgets html which were located in hidden notebook pages weren't displayed when displaying the page content. opw-614448
-
- Sep 22, 2014
-
-
Denis Ledoux authored
-
Denis Ledoux authored
-
Martin Trigaux authored
The conversion of currencies in vouchers are made based on payment_rate_currency_id field (instead of usual currency_id). This field was not present in the purchase view and not correctly set when we change the journal (and thus the currency) which was leading to rates of 1. With a rate of 1, the amount is equal to the currency amount (which is rarely correct). opw 611254
-
- Sep 19, 2014
-
-
Martin Trigaux authored
If no valid invocie is found on the purchase order line, use the price and currency of the line (coherent with help message)
-
Martin Trigaux authored
When a user tried to delete a done or canceled picking, the error messages used to display the key of the selection field ('done' or 'cancel') which was surprising in other languages than English. This patch takes the string value of the selection field, keeping the context to get the translated value (opw 613068)
-
Martin Trigaux authored
When sending an email of the registration/confirmation, the context was lost and the tempate sticked in en_US. With the patch, the template will use the current user's language.
-
- Sep 18, 2014
-
-
Denis Ledoux authored
The dataset index should be reset either if the dataset is empty or the index is greater than the records size
-
- Sep 17, 2014
-
-
Ravish Murari authored
When an attendance line is edited, the tuple has no key 'name' which lead to a traceback. Fixes #546
-
Quentin De Paoli authored
Use the currency rate of the purchase date instead of the one of at the reception time (opw 610430)
-
Martin Trigaux authored
The generated moves on a return should be the reverse of the outgoing move. Fixes #1817, opw 604417
-
Olivier Dony authored
If the server was started without -i or -u and happened to initialize a fresh database, auto-installed modules that depend on `base` only would stay in status "to install" without actually being installed (until the next installation round was triggered). This was of little consequence in 7.0, but causes a crash in 8.0. Fixes #953
-
Denis Ledoux authored
[FIX] orm write: do not try to store computed & stored fields for relational records deleted by *2many fields opw-613772
-
- Sep 16, 2014
-
-
Denis Ledoux authored
See #1982
-
Denis Ledoux authored
[FIX] point_of_sale: set journal as pos payment method on setting journal in the payment methods of a pos config when none is set.
-
- Sep 15, 2014
-
-
Denis Ledoux authored
[FIX] sale: sale report view, wrong domain Quotations are sale.order with state draft and sent Sale orders are sale.order with state other than draft, sent and cancel
-
Martin Trigaux authored
During the update of a module, the existing foreign keys are dropped if they have a different ondelete_rule than the one specified on the field. The foreign keys for many2one transiant -> non-transiant are created with cascade rule by default (see `m2o_add_foreign_key_checked` method) so the check needs to be realised in the same conditions.
-
Denis Ledoux authored
Fixing breadcrumb not being displayed after some action button (e.g. validate invoice, opw 612763)
-
Denis Ledoux authored
-
- Sep 12, 2014
-
-
Denis Ledoux authored
-
Fekete Mihai authored
PR #720
-
- Sep 11, 2014
-
-
Foram Katharotiya authored
In this awesome programming language called javascript, undefined is neither bigger nor smaller than a string. Previous code was then considering undefined values equal to any string. This fix allows to sort in a column of a o2m field and group the undefined values together. opw 607704
-
Denis Ledoux authored
-
Dharti Ratani authored
The wizard 'Edit Survey' > 'Add Question' was trowing an access rights error as the id was passed as a string instead of a real id. opw 607854
-
Martin Trigaux authored
The tax_amount field should contain the basic amount (without tax) for base tax code. (opw 613470)
-
Denis Ledoux authored
-
- Sep 10, 2014
-
-
Martin Trigaux authored
When sending an email, both formats 'Name <email>' or '"Name" <email>' can be used for fields 'From', 'To' and others. If the name contains unicode characters, a regex only matching '"Name" <email>' was used to encode the name with RFC2047. That meant that the name was not encoded and eventually dropped, using only the email part. Instead of using a limited regex, use the parseaddr method from email library. Fixes lp:1272610, opw 607683
-
Denis Ledoux authored
-
- Sep 09, 2014
-
-
Denis Ledoux authored
-