- Oct 12, 2017
-
-
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
-
Deep Patel authored
- Hide navbar divider in mobile view - Change font to default when applying header style - Remove form tag from media dialog search input to avoid redirection
-
Xavier Morel authored
-
Ankit Joshi authored
-
Martin Trigaux authored
Was missing from previous commit Add missing reference to sms modules in the Transifex configuration file
-
Simon Lejeune authored
When a picking is created from a purchase order, a message is logged in the chatter: "This transfer has been created from: POXXX: XX$". Ideally, an inventory user should not have access to the purchase orders. Sadly, removing the access right brings a lot of access right issues, so this commit only remove the amount from the logged message We adapt the name_get that always displayed the total amount of the purchase order since rev[1], as a message was logged in the chatter when a picking is created from a purchase order and the message contained this value. We implement a context key to display the total amount in the name_get, as it is used when linking a vendor bill to a purchase order. [1] 0c618d79
-
Roser Garcia authored
Closes #20009
-
Richard Mathot authored
-
Xavier Morel authored
-
Xavier Morel authored
A bunch of features had been added to the qweb test files and qwebjs did not pass them as features were either implemented differently or not implemented at all: * Fixed wonky and not cross-impl tests - added ``not`` word replacemenet to qwebjs as I wasn't sure how to handle that one cross-impl * fixed t-esc/t-raw to render content *inside* the host node e.g. span@t-esc should render as <span>{contents of esc}</span> * added fallback to body content if t-esc/t-raw yields an empty result * process t-att in order with t-att-* and t-attf-* rather than before them both * suppress attribute generation entirely in case of falsy value
-
Xavier Morel authored
Remove old tests page as it was obviously unmaintained and did not run at all...
-
Xavier Morel authored
-
Christophe Simonis authored
-
Deep Patel authored
-