- Jul 18, 2017
-
-
Rakesh Sindhav authored
Done at #18000
-
Nicolas Martinelli authored
When an employee submits an expense, no mail is sent to the manager. This should be the case, since it works this way on holidays. The trick, however, is that the expense is created as submitted, but the followers are only added afterwards. We need to make sure to add the followers at creation. opw-751085
-
Goffin Simon authored
Steps to reproduce: 1.Create pos order with two products. 2.One of the products, must be type="Stockable Product" and quantity=0. 3.Pay order. 4.Check order --> extra info --> picking Bug: picking state = Waiting Availability In 9.0, the picking state is equal to "Done". Fixes #18089 opw:751565
-
- Jul 17, 2017
-
-
Alexis de Lattre authored
Closes #18152
-
Martin Trigaux authored
Not sure why it did not fetched
-
Nicolas Martinelli authored
The accounting date is an hidden field, which is by default the invoice date. However, a user can make it available in the interface, and modify it. When the accounting date is different from the invoice date, we must make sure to make the accounting date prevail when it comes to currency conversion. Otherwise, the account move created will use a currency exchange rate which is not in line with its date. opw-751848
-
- Jul 14, 2017
-
-
Nicolas Martinelli authored
Ofxparse v0.16 returns decimal type for amounts, making `+=` crash in case of a float. opw-752172
-
Nicolas Martinelli authored
The field `acquirer_reference` is not a mandatory field. If not retrieved from the provider, it will have a NULL value in the DB, and therefore will be `False` in Python. The `capture` and `void` method will crash in this case, because of: `etree.SubElement(tx, "refTransId").text = transaction_id` opw-751231
-
Antoine Huvelle authored
Previously, the calendar view only shown a 1h item whatever the duration of the maintenance, which was wrong every time the maintenance took more or less than exactly one hour. Adding this parameter allows showing a calendar view reflecting the real time taken by the maintenance operation. Closes #18072
-
Darko Nikolovski authored
While `action_repair_invoice_create` is called on active_ids, it was working only on one record at a time Closes #18158
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Nicolas Martinelli authored
Backport of 45e7389a opw-752226
-
Moises Lopez authored
To be able to correctly use report features. It is auto-install but a good idea to make sure it is present and to show the report module Closes #18220
-
Martin Trigaux authored
The attendee_ids line was highlighted instead of the session_ids
-
Nicolas Martinelli authored
The measure '# of Cases' gives a traceback when selected. opw-752165
-
- Jul 13, 2017
-
-
Nicolas Martinelli authored
- Set up a product with 'Real Price' costing method, in real time valuation - Receive 1000 units at $0.10 each - Create a landed cost of $456.70, validate => it creates a quants of 999 units at cost $0.56 and 1 unit at cost $-2.74. - Perform an inventory adjustment, and set the quantity to 0 instead of 1000, post inventory. An error arises due to the constrain debit + credit >= 0. This is caused by the method `_prepare_account_move_line` from `stock.move`, which cannot handle negative cost for quants. opw-752063 Fixes #17707
-
Goffin Simon authored
This fix 2332df6b has been done in stable and some customers wants to keep the button "Post Inventory" available all the time. Now the button is just visible in developper mode. opw:748347
-
Nicolas Martinelli authored
The "exp. closing" dashboard button takes into account the won opportunities. It shouldn't. Backport of 9d2f48dc opw-751165 opw-744940
-
Nicolas Martinelli authored
On the CRM dashboard, the shortcut 'exp. closing' is the same than the 'overdue' shortcut. However, the number of opportunities in these categories is computed differently (see method `retrieve_sales_dashboard`). We introduce a new filter "Overdue Opportunities" which reflects this difference. Backport of 9d2f48dc opw-704173 opw-751165
-
- Jul 12, 2017
-
-
Nicolas Martinelli authored
A user without 'Administration/Settings' access rights cannot use the 'Retry' button on a mass-mailing. This is because only this level of power is allowed to unlink `mail.mail` records. However, this button is supposed to be used by regular mass mailing users. opw-744616
-
Cédric Snauwaert authored
-
Christophe Matthieu authored
When a user tries to add a product on an opportunity, the date_order of the order is added into the context. This value can be False. When "_compute_price_rule" is called without "date" arguments (some onchange, compute...) the method method use the context date (in this case the value is False) or the today date. The date value is used in an sql request and raise a value exception. opw-751700
-
Nicolas Martinelli authored
- Use the form builder to send an email - Customize the snippet to include the subject and the body - Send a mail => The subject is not included in the email This is because the subject is filtered out and considered as a blacklisted field. It happens because `mail.mail` inherits from `mail.message`. The field property `website_form_blacklisted` is set to: - `True` for `mail.mail` - `False` for `mail.message` Since we go through all inherited models, the property on `mail.mail` is overriden by the property on `mail.message`. It is actually not necessary to go through all inherited models, since in the case of `inherits`, we copy the fields of the inherited model to the target model. The check is simplified by only checking the fields of the current model. Based on work of @nla-odoo opw-748926
-
Moises Lopez authored
The old release of wkhtmltopdf are no longer published on the download page. The developer explicitely asks to use the github link cf: wkhtmltopdf/wkhtmltopdf#3524 wkhtmltopdf/wkhtmltopdf#3521 wkhtmltopdf/wkhtmltopdf#3518 wkhtmltopdf/wkhtmltopdf#3508 Closes #18146
-
Sylvain LE GAL authored
- use datas of all lines, and not only the last lines. - removed useless 'move_id' field from account.move.line Was PR #18175. Courtesy of Sylvain Legal
-
Christophe Matthieu authored
If a user chooses a product that has a blocking error message, the product is set to False. This is good, but we do not want the following to happen: The other onchange triggers are called and "product_uom_change" generates an error because there is no product. (In fact it is "_compute_price_rule" on "product.pricelist" who raise) The onchange update the values of the other fields related to the product (eg for the "name" field where the name of the product that is canceled by the warning is assigned).
-
Martin Trigaux authored
business removed at 411f8208
-
- Jul 11, 2017
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
- Jul 10, 2017
-
-
Goffin Simon authored
Steps to reproduce the bug: -Create a tax group TX with two taxes: 15% and 5% -Create a SO with one line and set TX on it -Print the SO Bug: Only the first tax of TX was taking into account opw:748923
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Lucas Perais (lpe) authored
Before this commit, having an option on a product, the modal had every prices set to the one of the option This was brought about by commit c8a43430 which was designed for the pricelists and striked prices After this commit, we keep the intended behavior for pricelists while controlling that options would not mess up the modal The prices that are displayed are the right ones. OPW 744943 GH-17342 [FIX] website_sale, website_sale_options:fix the modal of options Before this commit, the add quantity button were not working at all This commit corrects the behavior by browsing the dom for anything that looks like a product section Closes #17353
-
Richard Mathot authored
-
- Jul 08, 2017
-
-
Joren Van Onder authored
Fixes #17704
-
Joren Van Onder authored
-
Invitu authored
Otherwise during e.g. bill splitting of an orderline which had it's price overridden you end up with the original price again. Fixes #17810 Closes #17811
-
- Jul 07, 2017
-
-
Olivier Dony authored
`parent_id` fields are common in many models, and thus default values for those fields are sometimes passed in the context. Because mail.message also has `parent_id` field, it would automatically use the default when an automatic message was being posted. While of course, the parent_id value comes from a different model. This "adoption" by a random "parent message" is unexpected, not desired, and it can even cause a very surprising AccessError if the parent message is not readable by the user. Forcing the `parent_id` value during the creation of an automatic message avoids this confusion. One way to trigger the bug was to use the "subtask" stat button to create a child subtask for a project task (it relies on the parent task ID passed in the context)
-
Martin Trigaux authored
NameError: free variable 'order' referenced before assignment in enclosing scope opw-751576
-