- May 25, 2016
-
-
Denis Ledoux authored
When merging leads with a company set different than the current user company, it failed because the notification email (the message written in the thread summarizing the merge) couldn't read the company name (the `name_get` call on the company) because of the multi-company record rule. `name_get` can be safely called as `sudo`, as it does nothing else than returning the name of the record. This is already done for the many2one links in the web client anyway (You can see leads from a company different than yours, you can see the company name to which the leads belongs to, but you can't click on the company many2one link) opw-677986
-
Joren Van Onder authored
c8732bea did not take into account that we don't have specific callbacks for weight or price type barcodes. Those where handled by the product callback. opw-678556
-
Goffin Simon authored
For a type 'in_refund', the supplier account invoice form must be taken. opw:678498
-
Jeremy Kersten authored
-
Jeremy Kersten authored
-
Goffin Simon authored
When computing the real price of a product, a currency of reference is needed, first the currency of the product's company is privileged and if no company is set on the product then the currency of the user's company is taken. opw:678159
-
Yannick Tivisse authored
-
Yannick Tivisse authored
1/ Display a button for the project_user to come back in backend and edit the issue if they want
-
Nicolas Martinelli authored
When a user has the access rights "Configuration" or "Access Rights" regarding the "Administration" module category, the click on the "Settings" menu leads to an access error. This is because the dashboard fetches data about the number of installed modules ("installed_apps"), which requires access to "ir.module.module". Since it is not easily possible to hide a parts of the dashboard (the static templates do not recognize the "groups" attribute), we simply hide the dashboard for these users. opw-678531
-
Quentin De Paoli authored
[FIX] account: don't write the foreign currency on writeoff when several secondary currencies are involved
-
Richard deMeester authored
Quants are created, and stock moves are updated, with the purchase value converted at current rates. However, the product average was calculated before that value was retrieved. This ensures the correct value is retrieved for the average cost calculation and will match the actual quants. Fixes #12163 Closes #12164 opw-678511
-
Goffin Simon authored
It is not possible to edit the start_date, end_date, start_datetime, end_datetime and duration for a recurrent event due to the raesons explained in https://github.com/odoo/odoo/issues/10278 or see opw:665700 opw:677139
-
- May 24, 2016
-
-
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
-
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
-
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
-
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
-
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
-
- May 19, 2016
-
-
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
-
Martin Trigaux authored
There is several override of create and write that assumes that a bank account is present on only one account (see 4530e5d6). It is very hard to change or remove the account bank once linked to a journal (see 4a65bc38) so it should not be set in the first place when duplicating a journal. opw-676374
-
Goffin Simon authored
Introduced by fac04424
-
Nicolas Martinelli authored
See comment in code. opw-676924
-