- May 26, 2016
-
-
Christophe Matthieu authored
-
- May 25, 2016
-
-
Denis Ledoux authored
Since revision 7eab8e26 the `_onchange_partner_id` of `account.invoice` failed if the SUPERUSER created an invoice for another company than his own, and if the partner had not a specific receivable or payable account (meaning the default accounts are used, the accounts coming from the properties of this company without any partner specified) because ``` prop.search([ ('name', '=', 'property_account_receivable_id'), ('company_id', '=', company_id) ])` ``` can return multiple records, if several partners have their own receivable accounts set, and, since the above revision, `get_by_record` specify `ensure_one`, meaning you cannot pass multiple records to this method. This domain was built a the time (2009, rev. 80861660) to handle the multi-company property, which can now be handle with a simple `force_company` passed in the context. It was not the case at the time. This revision could be applied in former releases, but this is not a necessity. This is a necessity in saas-10, because of the above revision. opw-678536
-
Adrien Dieudonne authored
A read more was added to every node having a mail-quote tag. However all quotes and their child nodes are tagged, leading to numerous unnecessary read more / read less. Now, all consecutive mail-quote are joined in one 'read more/read less'.
-
- May 24, 2016
-
-
qsm-odoo authored
When going over the colorpicker when no bg-* class was selected yet, the bg-undefined class was added on the snippet. Also, when clicking on the reset button, the bg-* class was removed but the selected button in the colorpicker was not unselected.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
tdu-odoo authored
To be able to counter part the expense of the employee with the account set on his personal contact form, we need to configure the 421 account as payable. more infos on http://www.compta-facile.com/comptabilisation-des-notes-de-frais/ The fix allows us to get that correct entry: https://drive.google.com/a/openerp.com/file/d/0B5t9_ESHwijQemhyUjFFRzdTeVE/view?usp=sharing
-
Nicolas Martinelli authored
The fiscal year start date should be taken into account when calculating the depreciation amount in case of prorata temporis. opw-678072
-
Martin Trigaux authored
On the font-end view of project.issue, only the messages of type `note` were display. This excluded the messages recieved via email which makes hard to understand a conversation (e.g. a customer does not sees his own answers). Instead, only filter out the notifications (change of states, responsible...) opw-677426
-
Simon Lejeune authored
Using groups when declaring an extension of an asset bundle leads to a different generated asset bundle according to the user's group. This is not something we want because a dynamic asset bundle's content means that it could (and it does) trigger unwanted cache invalidation. website_event, website_blog, website_forum and website_sale add functions to `website.contentMenu`. These functions are bound to server side qweb nodes protected by groups. We can always add the functions; if a user tries to use the routes he should receive a traceback because of lack of access rules website_blog adds a `website_blog.editor` module, but is guarded by the presence of a node in the DOM. We use the same logic to guard the module added by website_sale with the `.js_sale` node. website_gengo is working as expected.
-
Nicolas Lempereur authored
Currently on mobile, the livechat window would take all the viewport of a small screen mobile browser. This combined with the "auto open" feature can be desorienting: users could have only seen the "hello, how may I help you ?" window and not know what to do or what is happening. So this commit remove the "auto open" feature if user is on a too small device (the user would thus have to click on "Have a Question"). closes #12148 opw-678012
-
Cédric Snauwaert authored
[FIX] account: fix error in aged partner balance, variable at_least_one_amount referenced before assignment
-
Christophe Simonis authored
-
Christophe Simonis authored
Revert "[FIX] account: fixed old references to account_extra_report module forgotten during the merge into account" This reverts commit 4f00202f.
-
Goffin Simon authored
When counting the number of issues for a customer, all the the contacts of this customer must be taken into account. opw:676985
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Goffin Simon authored
The bank account linked to a journal cannot be systematicaly deleted with its journal because this bank account can be linked to several journals. opw:676374
-
- May 23, 2016
-
-
Denis Ledoux authored
When creating a new invoice through the web interface, a bunch of "default" values are loaded once the partner chosen, thanks to an onchange on this field, such as the `account_id`, the fiscal position, etc. It was not when importing an invoice, making it more difficult to import an invoice. In addition, the taxes lines were not computed at all when importing an invoice with taxes within its invoice lines, while it should be the case if the tax lines are not forced during the import. opw-678155
-
Thibault Delavallée authored
-
Martin Trigaux authored
Otherwise it is not visible when set on an instance of the new API. self is a recordset instead of the model `res.users` Without this patch a low priviledge user was not able to modify its own value of `notify_email` through the preference window.
-
Christophe Simonis authored
-
Cody Kitterman authored
From #12028
-
Nicolas Martinelli authored
In the case of grouped taxes, the taxes would not be applied anymore after commit 0a5b943d opw-678158 opw-678219
-
Nicolas Martinelli authored
If 'Prorata Temporis' is not set, depreciation_date should be the 1st of January of purchase year. opw-677534
-
Martin Trigaux authored
This reverts commit d780f947. Did not work due to the size=3 on name field that strips the code to the first three letters only (removing the " (copy)" part). Copying a currency has a few business cases as the rates are not copied. As can not increase the size of a field in stable, remove the method that had no effect. Fixes #11036
-
- May 22, 2016
-
-
Odoo Translation Bot authored
-
Odoo Translation Bot authored
-
- May 20, 2016
-
-
Damien Bouvy authored
opw-676542
-
Martin Trigaux authored
And avoid bug with negative ids to happens in the first place
-
Martin Trigaux authored
The mimetime fetching in /web/image/... may fail if: - calendar is installed - `id` is a string (using ?id=42 in the URI) - `id` is a negative number (company partners on odoo.com) The `search` override of `ir.attachment` in calendar detects if a number is a virtual ID when it contains a '-' and is a string. While it is not optimal to allow both int and str format for paramter `id`, make the verification of virtual ID in calendar more strict to only match the format `<real>-<virtual>` and not `-<real>`
-
Nicolas Lempereur authored
642fea43 updated some models to new API but this was not taken into account into the part of the code this commit fix. opw-677497
-
Leandro Ezequiel Baldi authored
Closes #12110
-
Martin Trigaux authored
-
- May 19, 2016
-
-
Martin Geubelle authored
This `,` at the end creates a tuple and `if (False,)` will be evaluated to True. This leads to invalid `Notification Email`. Hum..
-
Nicolas Lempereur authored
When we download a file (as can be done with attachments in Odoo), firefox is opening the link in current window but cancel the action once it is aware the resource is to be downloaded. But this get firefox into a corrupt state for some contenteditable features, for example document.queryCommandState which is needed for the editor will after downloading a file throw an error consistently instead of working as expected. It can be reproduced on firefox (at least from version 32 to 46) with the following snippet: https://jsfiddle.net/s246u3ay/3/ The issue is probably linked to the following reported issue since 2005: https://bugzilla.mozilla.org/show_bug.cgi?id=297494 This commit avoid the bug by opening attachments download links in a new window instead of the current one. closes #12109 opw-676918
-
Jérome Maes authored
- add python idioms - odoo specific guidelines (for ORM, translations, ...) inspired from old guidelines v6.0 - some other best pratices
-
Jérome Maes authored
- correct typos - clarify some points, according to the community comments - precise the xml notation : record tag vs act_window/menuitem/... tags - add organization of report, wizard, data/demo, ... (directories and naming conventions) - new conventions for 'symbols' - ... Thanks to @rim-odoo for its grammar extremist review, and @tde-banana-odoo for our long debates about wizard conventions.
-
Nicolas Martinelli authored
The company logo file extension is always '.png', even if the logo is of another type such as 'jpg' or 'gif'. This is not an issue for decent browsers, but IE might not display the image under specific circumstancies, e.g. in combination with nginx. opw-676836
-
Martin Trigaux authored
Closes #9386, opw-677958
-