- Oct 13, 2017
-
-
Christophe Monniez authored
-
Yenthe V.G authored
Authentification is not English but French Closes #20095
-
- Oct 12, 2017
-
-
Simon Lejeune authored
The tree views were removed in the new webclient but the reference of the bom structure tree view was still there. Closes #20108
-
Christophe Monniez authored
The automated tests of rpm,deb and src packages are using docker images and containers. Those tests were not working as expected due to various small glitches: * some debian python- packages were missing in the Debian image * pip was called instead of pip3 for the src test * a wrong addons path was given for the tests * the containers id's were wrong due to a bytes implicitly converted to str
-
Josse Colpaert authored
When you open a move of a component in a manufacturing order, we cannot see the move lines and so add a new on if there are no move lines in it with finished lot. We now always display the list of move lines if product is tracked by lot/serial or has finished lots.
-
Siddharth Gajjar authored
-
rde authored
-
rde authored
The idea is to warn user if he created a special file (website.page with supported extension) and he wants to change the file's name, which will at the end also change the key). If this special file has been t-called elsewhere, they t-call wont work anymore This is why warning user is needed. Note that this is different than the already existing page_search_dependencies that is just checking if the URL is present in menus, templates, blog or pages. This is about checking if the key is present somewhere. (we assume that if the key is present, it is surely about a t-call. Technically, the flow is: 1. Get supported extension 2. Get key dependencies 3. Check if user modify name 4. If name changed and it is/was a supported extension (special file) and it has dependencies (surely t-call) then warn user these call wont work anymore -- search_page_dependencies is also improved by returning links to be clickable (on delete dialog eg) and splitting template/page results. it also refactor dependencies warning that was creating HTML in javascript into using XML template
-
rde authored
-
rde authored
Before this commit, if you created a page with the same name as another one (which is allowed) it would set the same key for that second page. Indeed, the code was setting correctly the path uniqueness but it was then setting the key based on the name and not on the unique url we found free. Now, the key is correctly uniquely set and even better, it is now completely independant from the url and has its own 'find unique' method to be sure it is correctly working. It was not clever to have key & url being linked. To be more clear: 1. Create page 'aboutus' key is 'website.aboutus' name is 'aboutus' url is '/aboutus' 2. Create page 'aboutus' -> key is 'website.aboutus' name is 'aboutus' url is '/aboutus-1' Problem: key should be unique (for t-call for specific files & website_version) Cause: key is set based on name which is not checking for uniqueness like url. Two possible solutions: 1. Set key based on url (which is being checked for uniqueness) 2. Create & Use a specific method to get unique key Fixed with solution 2 which is more clean. -- It also fix an invisible 'bug': Saving a page being in menu would cause the menu's URL to get it's trailing '/' to be removed. It was only a problem when you were getting the warning about dependencies (the menu wouldn't be recognized as dependencies because of the removed '/')
-
rde authored
Before this commit, if you created 2 pages with the same name/url it could create both the pages with the same url. Now, like before, it is correctly adding a suffix (eg '-1') when you create a page with an URL already taken
-
rde authored
Before this commit: When you were on the page manager and you were editing a website.page's content, it would redirect you to the website.page's ir.ui.view's form view in the backend. From there, you would'nt have an easy way to get back to the page manager: your only option was to go to the website module and click on 'go to website' and then click on menu/manage pages. It was not convenient when you were editing multiple page quickly or just taking a look into some pages. Now, you have a button on the ir.ui.view's form view to get directly on the page manager. Note: this back button is obviously invisible for ir.ui.view not related to a website.page
-
rde authored
Before this commit, we were using data[] array from json call to write on website model accordingly of is_homepage value. Now, we use the newly created inverse function of the computed field to handle that to make it more clear
-
rde authored
Before this commit, clicking on add to cart as a public user* would throw an error because it would access uom.name on which public user has no right. *From the product page (/shop/product/xxx) having an optional product, the access error is really on the optional product. Now, we allow user to read name with sudo().
-
rde authored
Before this commit, multiple tabs/session adding items to cart could lead to negative stock displayed in the quantity field. In some case, it could throw a traceback because the wanted product had became unavailable in the meantime, causing the cart to be updated and the line to be deleted from the cart. But then, this line was being accessed again. Now, negative values are prevented at the screen. And there is a check on the line record to be sure it exists before accessing it.
-
Quentin De Paoli authored
-
Josse Colpaert authored
When a stock move is in reception, we don't want to color in red the move in the picking as the reservation will always succeed.
-
Xavier Morel authored
* fix Sphinx 1.6 compatibility leading to the "tiles" on the home page not working anymore: 1.6 replaces BuildEnvironment.reolve_toctree by TocTree().resolve(), while the method still exists it's not actually called anymore * rejigger some CSS as the second section went from one big tile to 3 smaller tiles, and got laid out as a row rather than a second 2x2 block. Recode the entire mess with flexbox, remove some stuff which conflicted with boostrap (this screen should probably be de-boostrapped and completely converted to flexbox or grid) * add building CSS from LESS to the makefile, all Odoo devs should have less installed locally (for assets)
-
qsm-odoo authored
Broken since https://github.com/odoo/odoo/commit/2972976962617d4b8a0113bae58c640ab41cdff8
-
qsm-odoo authored
The deprecated-but-still-used website.prompt requires some static XML to be loaded to work. In the case of creating a new website page, this XML was implicitely loaded by the "Content" menu... but when the user is on a translated page, this menu is not there. Anyway, this static XML loading should be done by the website.prompt function itself if necessary.
-
Martin Trigaux authored
Very often, people ask "Is there an API to Odoo?" Having a doc section explicitely called API will answer that
-
Christophe Monniez authored
On Ubuntu Xenian, the Odoo package was difficult to install because three Debian packages were required but could not be found in Ubuntu repositories. As those packages are not really crucial, they are now only suggegsted by the Debian package which is therefore installable on Ubuntu Xenial. One can manually install them as explained in the documentation. Closes #20000
-
Christophe Monniez authored
Purpose: openid is not used anymore in Odoo, therefore it can be safely removed.
-
- Oct 11, 2017
-
-
Odoo Translation Bot authored
-
Christophe Monniez authored
python3-psycopg2 package was missing in the RPM.
-
Adrien Dieudonne authored
This reverts commit 58e91442.
-
Adrien Dieudonne authored
-
Dharmang Soni authored
In the iOS app, the content immediately ceases to scroll when you remove your finger from the touchscreen. Now, he content continues to scroll for a while after finishing the scroll gesture and removing your finger from the touchscreen. The speed and duration of the continued scrolling is proportional to how vigorous the scroll gesture was. This Css property is the only way we find to have the same behavior in the android app and in the iOS app.
-
Jeremy Kersten authored
That seems useless and break some code like the 'website menu' feature from website_event This fix closes odoo/odoo#20023
-
Adrien Dieudonne authored
In mobile, the .o_kanban_card_content width wasn't defined. In desktop, we don't have this issue because the .container bootstrap element set the width. Now, the kanban card content is correctly displayed in the workcenter kanban view.
-
zeroheure authored
Fix #19875 (Misaligned contact informations on contactus page ) by adding fa-fw attribute in each call of fa icons in address block. Reference http://fontawesome.io/examples/#fixed-width
-
Adrian Torres authored
Previous to this commit, anyone could import studio customizations into a community db, this was troublesome since some people would just install studio, do their customizations and then move them into a community db, not paying anything at all. This commit fixes this by checking whether the exported views were created with studio or not and if studio is installed
-
Xavier Morel authored
Fixes #19945
-
Martin Trigaux authored
The action "Load a Translation" is wrongfully considered as only for installation of a new language (while it is for update too). The action "Synchronize Terms" is wrongfully considered as to refresh translations of installed language (while it is to generate empty translations). Rename to "Generate Missing Terms" The res.lang tree view encourage this misconception with a "update terms" that actually triggers a synchronize terms action. Change the triggered action to the "Load & Update" Move the list of languages to always visible in settings. This list is not very technical and will avoid to go to debug mode for basic actions like updating the sources of checking what languages are installed. Going less often to dev mode will hide the misleading "Synchronize Terms" action for normal users. Closes #19911
-
Xavier Morel authored
The class PoFile was already using it. TextIOWrapper closes its underlying buffer causing the "Synchronize Terms" action to fail (trying to read on a closed buffer). Fixes #19911
-
Martin Trigaux authored
Use python 3.5 Refer to correct page of the doc Remove old bazar to git (was intended for the 8.0) Remove outdated setup_dev script: it was intended for odoo developers but if you are not able to make a git clone, you are going to have a bad time later.
-
- Oct 10, 2017
-
-
Christophe Simonis authored
Due to Cache reimplementation, this commit can't be applied as-it in version 11.0 and need to be adapted correctly. Undo PR #19963
-
Rémi Rahir authored
InsufficientCreditError was not properly raised, thus not caught by the JS.
-
Xavier Morel authored
original commit forgot an "s" (in %(street2)s), leading to `\n` becoming the format character, except that's not a *valid* format' character, yielding a ValueError "unsupported format character '?' (0xa)" any time an address is displayed if the current country is Japan (and the system thus uses the japanese address pattern rather than a generic one). Closes #20008
-
Christophe Simonis authored
-