- Apr 06, 2018
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Denis Roussel authored
Closes #24079
-
tfo authored
Done at #24083
-
Christophe Simonis authored
-
Nicolas Martinelli authored
-
Alexis de Lattre authored
self is a rml_parse instance, not a BaseModel create new environment to call ORM methods prevent crash when calling formatLang on a RML report Closes #24068
-
Olivier Dony authored
When not draft, the partner_id field is readonly and cannot be modified anyway, but it makes the form invalid, so form buttons cannot be used, e.g. to access the journal items, etc.
-
Olivier Dony authored
When the `partner_id` is not set (it is not required at the model level), we can still compute the default destination account based on the company chart of account configuration. This is necessary to allow creating "customer" or "supplier" payments without selecting a specific partner.
-
- Apr 05, 2018
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
Oversight of previous oversight of previous forward-port.
-
Romain Derie authored
Commit d39856db prevents crawler to crawl and index blog tag URL which could lead to possibly millions of URLs combinaison. Still, it would crawl (but not index) second level of tags combinaison. This commit ensure that crawling is prevented when already one tag on the URL.
-
Christophe Simonis authored
Module `account_tax_cash_basis` has been merged into `account` in saas~14. Oversight of previous forward-port.
-
Alexandre Kühn authored
Before this commit, when some records were created from an `onchange`, we have the following weird behaviour: Suppose that this record has some required fields that are empty. When we click on this record, then somewhere else, the record disappears from the list. This is because the records contains invalid fields, and it is wrongfully assuming that the record to be discarded comes from "Add an item". A previous commit [1] fixed a bit this issue with `default_get`, but since it relied on a fragile heuristic, we decide to apply the correct fix with this commit. [1] https://github.com/odoo/odoo/commit/b09f0c99be2b13d33986414485556d87da186d65
-
Romain Derie authored
Before this commit: If a blog had multiple tags on the page, the crawler would click on every one of them one after another until every tags combination got crawled. With a lot of tags, this could result in million of URLs. Now, we prevent URLs with more than one tag to be crawled. Eg: With tags 'A', 'B', C': /A /A/B /A/C /A/B/C /A/C/B /B /B/A /B/C /B/A/C /B/C/A /C /C/A /C/B /C/A/B /C/B/A
-
Christophe Simonis authored
-
Martin Trigaux authored
Space as word separator does not work in some non-latin languages like Japanese. Cut arbitrarily after 150 chars Closes #23219
-
Florent de Labarre authored
Execute on a single record is used when calling the function _update_line_quantity and avoid singleton error Closes #23860
-
Andreas Perhab authored
color is not accepted by rng on gantt views copy-paste the code would not work Closes #24055
-
Christophe Simonis authored
-
Lucas Perais (lpe) authored
Create a hr.attendant in a stage where a mail template is present. Fill the email field as: Name Surname <name@surname.com> Before this commit: - the created partner's email has been rendered as name@surname.com> - the email failed to be sended because of this This was because Jinja rendered that snippet escaping the special characters Putting a 'pipe' safe in the snippet does the trick After this commit: both the partner and the email are created successfuly OPW 1830739 closes #24059
-
Xavier Morel authored
Also when there is both a docstring and directive-level content put the docstring first. That seems to match what Sphinx's autodoc does and looks less odd. Possible future improvement: a parameter to suppress the docstring? Possibly a way to reorder the non-docstring content (e.g. members documentation)?
-
Nicolas Martinelli authored
- Install Website - Load the 'Norwegian Bokmål' translation, and choose to translate the website - Logout When accessing the website, the language displayed is not consistent to the browser language. 1. `no` shows homepage in `nb_NO` (Firefox only) => expected since Bokmål is the main language in Norway 2. `nb` shows homepage in `en_US` => unexpected 3. `nn` shows homepage in `en_US` => expected since 'Norwegian Nynorsk' is not a language available (this will be the topic of another PR) The issues comes from Babel's side, since `nb` is not in the `LOCALE_ALIASES` while `no` is. We monkey-patch the value to avoid this while Babel is corrected. opw-1827258
-
Yenthe V.G authored
Was another one remaining Closes #24047
-
xmo-odoo authored
* add UUIDs to XID sections (4 bytes / 8 hex digits) so it's not necessary to handle collisions & add a fallback generator * use COPY for performances over executemany: executemany just performs an implicit loop on all statements (in psycopg2) * ~pure SQL was possible: INSERT INTO ir_model_data (module, model, name, res_id) SELECT '__export__', '{model}', '{table}_' || A.id || '_' || uuid_generate_v4(), A.id FROM {table} A LEFT JOIN ir_model_data B ON A.id = B.res_id AND B.model = %s WHERE B.res_id IS NULL; but would have required installing pg extensions (problematic especially in stable) and performances are about the same as the COPY version task 36343 Fixes #22493
-
Martin Trigaux authored
The filters have no effect and it may be confusing to remove it and see the same result. The filters themself will be removed in master. opw-1832502
-
Simon Lejeune authored
Using `break` when looping over a recordset in a compute method could have side effects. Computed field are computed in batch, according to the order of the recordset, the value may only be computed correctly for some records related to rev c4935698 opw-1833347
-
Nicolas Martinelli authored
- Create a vendor bill, save and validate - Duplicate the bill, save - Click on "Create" A customer invoice is created, while the user expects a vendor bill. After duplication, the new record is loaded but the context is lost. Since the default value for the invoice type is based on the context key `type`, a loss of context leads to an incorrect invoice type. opw-1826453 Co-authored-by:
Géry Debongnie <ged@odoo.com>
-
- Apr 04, 2018
-
-
Romain Derie authored
Before this commit: In the web_editor in backend, entering edit mode would display differently text in `div` and text in `p` but not when viewing the content outside edit mode. Now, `div` and `p` won't have different style when entering edit mode.
-
Romain Derie authored
Backport of 2b575e97 that landed in master
-
thomas-tankengine authored
As unlink from models is still written in old API, needs to set the decorator to avoid an error when trying to delete a bank statement Closes #23999
-
tlemaire authored
Done at #23999
-
Denis Vermylen (dve) authored
category was changed to "Website" so it'd appear under the website category in the store, but it needs to be "Theme" otherwise it doesn't appear in the "Choose your theme" menu after installing website. This is a backport of 10.0 https://github.com/odoo/odoo/commit/3d53a740 Without extra themes, the "Choose your theme" would be empty. fixes #21898 opw-1802936 closes #24042
-
Goffin Simon authored
In average price or in FIFO, the stock move cost related to the picking of the POS Order must be used to compute the price. opw:1829842
-
mreficent authored
We want to force the tax template to be blank always, because multiple companies can potentially use this template to create taxes. We want consistency company-wise.
-
Bogdan Lisnenko authored
Canadian chart of account template contained incorrect account types for Tax receivable and Tax to pay. This was fixed. Related issue #8934
-
mreficent authored
Related to commit https://github.com/odoo/odoo/commit/0e881fcd3a5671c4fe84b2a47c9d3611e4b823a1
-
Jeremy Kersten authored
Before this commit, if you or a lib uses Glyphicons, the font was loaded from /web/content/fonts/ (or /web/static/src/less/fonts/ in debug=assets) It is because bootstrap is imported from /web/static/src/less/import_boostrap.less not directly from /web/static/lib/bootstrap/less/bootstrap.less Now, we use absolute path to load font, overriding the variable define in variables.less from bootstrap.
-