- Aug 18, 2015
-
-
Denis Ledoux authored
When the Purchase analytic plans module is not installed, the analytic account field in the lines of the purchase order is available only for the group `Analytic Accounting for Purchases` It should be the same for the field of the analytic distribution plan. Otherwise, it will lead to an access error if you don't, as you do not have access to the required model. opw-647606
-
Guewen Baconnier authored
Copy the contract's manager to the invoice's manager field when generating recurring invoice. Closes #6568
-
Goffin Simon authored
When a product is in "dropshipping" with one supplier and with a few SO created for the same customer, the origin of the resulting PO must include all the SO names. opw:647409
-
- Aug 17, 2015
-
-
Joren Van Onder authored
- set keyboard layout to us - install GNU screen - add udev rules to make USB devices accessible to the usbusers group - setup crontab to delete odoo sessions/* - define inputrc and vimrc
-
Olivier Dony authored
When the Bundle mechanism caches bundle files into the ir.attachment table, it can sometimes cache an empty resource file (For example, if a less/saas compiled file results in an empty CSS file) for the bundle URL. The appropriate behavior for _serve_attachment() when the browser loads that bundle URL is to return an empty file (which is the correct content), instead of redirecting again to the same URL, triggering a loop. In addition, this commit removes the special case for returning 204 No Content. This HTTP status code is not really meant for GET requests - returning an empty file with a 304 or 200 code is more appropriate and allows for normal browser caching.
-
Christophe Matthieu authored
-
- Aug 16, 2015
-
-
Odoo Translation Bot authored
-
- Aug 14, 2015
-
-
Denis Baranov authored
When testing the mass mailing, with the 'Test Mailing' button, the attachments were just not attached. Closes #2981
-
Denis Baranov authored
-
Denis Ledoux authored
1. A menu with `/page/website.***` should be flagged as `active` if the current url is `/page/***`. This is a retro-compatibility patch for c9d41679, so the menu is marked as active without having to rename it, by removing this `website.` thing. 2. If you defined two menus with as url `/page/test` and `/page/test2` Both menus were flagged as `active` when you browsed the url `/page/test2`, because it started by both menus urls. Fixes #3059 Closes #3070
-
Mathias Neef authored
In the top menu bar, the `active` class is set when the menu url matches the page url (the url in the browser url bar) A while ago, we made so all urls `/page/website.***' were automatically redirected to `/page/****` Therefore, if the menu url still contains this `website.` prefix, the active class wasn't set on it, while it should. Fixes #3059 Closes #3070
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
When ordering results on a many2one fields, results are ordered by order of the target model. The code was wrongly assuming that this `_order` attribute only contains `_classic_read` fields (that can be directly read from the table in database). Now correctly generate the "ORDER BY" clause using the current table alias. `res.users` can now be sorted by name.
-
Christophe Combelles authored
When Odoo is accessed in https, inserting the gravatar image using the http protocol leads to a security alert in most browsers. Closes #3042
-
Joren Van Onder authored
- don't add comments in posbox ld.so.preload, it causes the second line to be interpreted as a library. - allow image creation in headless environment. This checks whether or not X is running and runs qemu-system-arm with or without graphics.
-
Denis Ledoux authored
When creating a new bank account e.g. Accounting > Configuration > Accounts > Setup your Bank Accounts When the user leaves the journal blank, a journal, and an account associated to this journal, are automatically created. The account type of the account created could be wrong, as it used the account type of the parent of the first account of internal type `Liquidity`, which could not be an account of account type Cash or Bank, but of account type 'View', and such an account type does not have the right delivery forward method, in order to report correctly the amounts when closing a fiscal year. Instead of using the account type of the parent, it should actually uses the account type of the sibbling, which have a correct delivery forward method opw-647311
-
- Aug 13, 2015
-
-
Denis Ledoux authored
`survey_id` is a related field, non-stored. This isn't possible to apply a group-by on a non stored field. opw-647303
-
Christophe Simonis authored
-
Nicolas Lempereur authored
When saving a template in version 8.0, html would be saved as it should be displayed once on the site. In particular, if some text should be escaped once send to the browser, it will be saved as such. But when rendering, a text node content is unescaped two times: * for translation which seems wrong since we already use .text of a node which already escaped it, doing it one more time is bad, * when rendering the template, since the html template is stored in xml, This commit remove superfluous unescaping for translation, and add an escaping when saving the changed template content. closes #7967 opw-646889
-
Christophe Simonis authored
-
Nicolas Martinelli authored
invoice_vals['name'] may not be defined yet.
-
Christophe Simonis authored
-
Thomas Rehn authored
in method `button_confirm_cash` of `account.cash.statement` The check was verifying that the profit/loss account was set on the journal, and if it was, it raised that it wasn't, which is obviously wrong. This was solved in Odoo 8.0 by replacing the code by something more readable in 9dc9169f, and the same logic to check that the profit/loss accounts are set is still there. Closes #2924
-
Tony Gu authored
Permission error on survey update The user who answer the survey may not have delete permission for the user_input_line In a survey, for a survey user (!= manager), When browsing previous pages of anwsers, the user wasn't allowed to change his answers regarding simple choice, multiple choices and matrix questions, as this kind of answers changes leaded to an unlink operation, not allowed for survey users. Closes #2901
-
Goffin Simon authored
Error introduced by 4f91dc37
-
- Aug 12, 2015
-
-
Denis Ledoux authored
On the `categ_ids` fields definition on `crm.lead`, a domain has been added in order to prevent the use of a sales tag belonging to another sales team. As the domain was overidden in the form views, with a different domain, it was allowed to use a sales tag from another sales team. Besides, the domain applied in the form views, `[('object_id.model','=','crm.lead')]` is included in the domain applied in the fiel definition. Closes #2898
-
Goffin Simon authored
Force the 'uom in the context to False on the field 'product_id' in the popup form view "sale.order.form.sale.stock", to force the non-propagation of the context. To avoid using the uos in function "_product_lst_price" when computing the public price of a product. opw:646880
-
Denis Ledoux authored
When placing an order in the ecommerce, it's seems obvious that the partner is a customer. Nevertheless, It wasn't flagged as such in its partner from, preventing to see him in the customers list Fixes #2422 Closes #2881
-
Goffin Simon authored
When creating an analytic distribution, the field "plan_id" must be required. opw:646788
-
Nicolas Martinelli authored
"Fals" instead of "False"
-
Alexandre Fayolle authored
If you set WH B to be resupplied from WH A, then the scheduler will generate a procurement with warehouse_id = B and location_id = B.stock. Running the procurement will find the resupply rule, and this will create another procurement with warehouse_id = A and location_id = transit location. However, without this patch, the resupply route is not part of the route_ids of warehouse A, and so the 2nd procurement goes in exception because if cannot find a rule (the search will force a rule linked to a route which is part of A.route_ids). Closes #7956
-
cysnake4713 authored
* Change account type 'Other Receivable(其他应收款)' close_method to unreconciled * Add new account type 'Other Payable(其他应付款)' to account template '2241 Other Accounts Payable'(其他应付款) . * Change Account template '1221 Other Account Receivable(其他应收款)''s type to receivable. * Rename Account template '1001 Cash (现金)' to '1001 Cash (库存现金)' to fit new accounting standard. * Fix double account template id 'small_business_chart1602' problem. * Several misused account template * add view account to small business account template Closes #7535
-
cysnake4713 authored
-
- Aug 11, 2015
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Joren Van Onder authored
This calls ~/posbox_update.sh, which will simple do a git pull followed by a reboot.
-
Joren Van Onder authored
-
Joren Van Onder authored
When the server is answering HTTP requests, the status led (green one) of the Raspberry Pi will turn on. Contrary to the previous script this will not exit and keep running every 5 seconds. This way we can easily troubleshoot connection issues (if led is on and we can't connect it's a network issue, otherwise it's an issue with Odoo).
-