- Jul 06, 2020
-
-
Victor Feyens authored
* Less translations * Translations more precise and adapted to the context
-
Victor Feyens authored
Do not translate all route types when only one route type translation is needed.
-
jvm-odoo authored
Issue - Go to Accounting / Customers / Invoices - Pick any invoice not paid - Action: Generate a Payment Link - Open the link - Refresh the page having Javascript disabled - Click the Pay Now button Traceback Cause If JS is not loaded, the values in the form fields are not bound as expected. It can also happen with slow connections and fast click on the button at the loading. Before the JS is entirely loaded (as it is lazy-loaded). Solution Button disabled by default, wait the page to be loaded and then activate the button OPW-2255760 closes odoo/odoo#54128 X-original-commit: 0e7071f2 Signed-off-by:
Jason Van Malder (jvm) <jvm@odoo.com>
-
Christophe Simonis authored
These field combinations [1] are actually secondary keys. They are unique and represent the record identity. Marking them as modified had a nasty side-effect: on some models, there is a m2o to an ir.model and a stored related to ir.model/model that will be recomputed at each model reflection. This can take some time on big tables. Moreover, some other stored fields may depend on those ir.model/model related store, which adds useless time lost at recomputing unchanged values. [1] ir.model/model, ir.model.fields/{model,name} and ir.model.selection/{field_id,name} closes odoo/odoo#54126 X-original-commit: db013a01ca4e10640ac33a59466c9cb5746e3698 Signed-off-by:
Raphael Collet (rco) <rco@openerp.com> Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
Daniel Dico authored
HST 14% tax was replaced with 15% tax in October 2016 as per GST/HST provincial rates table [1]. [1] https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/calculator.html#rt ) opw-2290216 closes odoo/odoo#54110 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Jul 03, 2020
-
-
Laurent Smet authored
closes odoo/odoo#54067 X-original-commit: 07b07c7c359a31203fc2e4e4e09b909ad315453a Related: odoo/enterprise#11653 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com> Signed-off-by:
bfr-o <bfr-o@users.noreply.github.com>
-
bfr-o authored
' X-original-commit: 10c14c63094870346143a42f5df39e1db3f0dc5c
-
bfr-o authored
When the model is loaded, the value of 'check_amount_in_words' is computed for each existing payment. It could lead to a traceback if the second condition is reached referencing an xml_id that is not yet loaded. Indeed, data are loaded after the models. X-original-commit: a9234e7581f267c64c4bf19d93e7b6844fe4d0b4
-
Laurent Smet authored
X-original-commit: 7d6e4917b7871628c7a385be61b73a01c5e79f3a
-
Laurent Smet authored
X-original-commit: bbf8f9c6b30cb5c0978057efe5f78b5c1492435e
-
Aaron Bohy authored
Some widgets allow the edition in readonly (e.g. boolean_toggle, priority...). In this case, the changed value is saved directly. Before this commit, this didn't work in (main) list views: the widget was updated with the new value, but it wasn't saved in db, so the change was lost at reload. This was due to the list controller not being correctly aware of its mode ('edit' or 'readonly'), on which the basic controller relies to determine whether a change must be saved directly or not. With this commit, a list is always in 'readonly', except when a row is being edited, in which case it is in 'edit'. Issue reported on task 2288963 closes odoo/odoo#54075 X-original-commit: 64e55cb42163643386740fbd23d710f64033b2ae Signed-off-by:
Julien Mougenot (jum) <jum@odoo.com> Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Jul 04, 2020
-
-
oco-odoo authored
[FIX] account: fix bad forward port of https://github.com/odoo/odoo/commit/bbbb11f3fd10bbb0f1086920f291aa9c7c2052be closes odoo/odoo#54083 X-original-commit: 253dd0eef7f4ae64b6311d72fe41a08897370d89 Related: odoo/enterprise#11659 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com> Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
- Jul 03, 2020
-
-
oco-odoo authored
Before that, since https://github.com/odoo/odoo/commit/71ee252dc43fd0e2b86ba8079c31915544e528eb , negative invoice lines were not supported by thoses taxes. Nor were miscellaneous entries. To make them work, we change the way tags are assigned to cash basis taxes : instead of copying them from the invoice, sign included, we now change their sign when appropriate, so that the resulting cash basis move can be treated like any regular miscellaneous operation by the tax report (so, always applying a factor of 1 to its lines' balance). Doing that also allows us to re-simplify the code used in the tax report and tax audit computation to manage cash basis entries, and makes the cash basis entry more standard. This is also a usability improvement: now the user does not have to search for the original invoice to understand how the CABA entries are going to impact the report: it's always managed like a misc. operation, so he can just trust the signs of the tags. v13 version of https://github.com/odoo/odoo/pull/53085 closes odoo/odoo#54058 X-original-commit: 20850301f5025ffd1a05e0594f6d26d2a61759ef Related: odoo/enterprise#11652 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com> Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
Laurent Smet authored
- Fix discount indicator with 100.0% discount. - Fix reported tax amount with group of taxes. - Fix reported tax_base_amount with foreign currency. - Fix invoice summary according the facturx xsd. closes odoo/odoo#54080 X-original-commit: e97333f6d80eaa5807467a863a9c8f5850e1d644 Related: odoo/enterprise#11657 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com> Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Laurent Smet authored
X-original-commit: a9a1d8e5348010eca7de15199faae1f2469d96ff
-
Laurent Smet authored
X-original-commit: 955db1203599516bdbefeedee37de6b8ad69bf12
-
Odoo's Mergebot authored
During TempusDominus autobinding to fields matching its default classes (like `.datetimepicker-input` used by our DatePicker widget) and no config was previously provided to the library (like when we disable it on mobile), an unsafe access to the config's `_options` property results into an error as the config is `undefined`. This PR fixes it by first checking for config existence before attempting to access its property. It also extracts the DatePicker widget's input setter to allow overriding it and preventing from calling the `datetimepicker` lib when not initialized (like on mobile). opw-2242880 closes odoo/odoo#54068 Forward-port-of: odoo/odoo#54039 Forward-port-of: odoo/odoo#54005 Related: odoo/enterprise#11654 Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com> Signed-off-by:
Pierre Paridans <pparidans@users.noreply.github.com>
-
Martin Trigaux authored
The time to display the check in/check out time was hardcoded to HH:mm:ss while other locales may use different formats. Use the appropriate time utils to retrieve the right format that uses the time format from the res.lang record. Fixes odoo/odoo#50527 closes odoo/odoo#54079 X-original-commit: 47707e1b Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Pierre Paridans authored
During TempusDominus autobinding to fields matching its default classes (like `.datetimepicker-input` used by our DatePicker widget) and no config was previously provided to the library (like when we disable it on mobile), an unsafe access to the config's `_options` property results into an error as the config is `undefined`. This commit fixes it by first checking for config existence before attempting to access its property. Note: as this is a fix inside a library, a comment is added to make clear. Also similar fixes where already done in the same file. opw-2242880 X-original-commit: fe1f7c3e361bbd249b4025a464c546f478b6e989
-
Pierre Paridans authored
This commit extracts the DatePicker widget's input setter to allow overriding it and preventing from calling the `datetimepicker` lib when not initialized (like on mobile). Note: this change will be used on enterprise. opw-2242880 X-original-commit: c0413868a8728500c52b7e1dd9a0035f90b654fd
-
Julien Mougenot authored
Since the refactor of the control panel, support of "widgets" attributes in the search view archs has been inadvertently dropped. Now, they are once again supported. Task 2061795 closes odoo/odoo#54066 X-original-commit: f33b0bc7a93e60bd0ed00b40d7459225ec0b749a Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
Julien Mougenot (jum) <jum@odoo.com>
-
Antoine Prieels authored
We move the IoT Box version file from /home/pi to /var/odoo so its not overriden after an auto-flash of the IoT Box. closes odoo/odoo#54063 X-original-commit: ce0700ce401523267b5a8bd5665a368cfea24912 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
Nasreddin (bon) authored
Issue - Install English and French languages - Create a customer contact and assign french as his language - Create a product with correct names in both languages. For example 'French product name' and 'English product name' for easy reference. - Create an inventory transfer with the french customer as contact - Add the product that you created - Print > Delivery Slip The report will show in the lines: """ French product name English product name """ Cause Getting product description without checking partner language. Solution If partner is set, get product description with partner language in context. opw-2280490 closes odoo/odoo#54061 X-original-commit: cebe2cf57e68e2d1d54cd442aff6ba7d9554d043 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-
Odoo's Mergebot authored
Improve delivery slip with following features: 1. Group Kit components on the delivery slip - Split kit components by kit "sections" 2. Print one line per product whatever the tracking - Combine duplicate product move lines when "Display Lots & Serial Numbers on Delivery Slips" is not activated or no lots/serial numbers are assigned in the picking 3. Group packages on the delivery slip - Split products up by package "sections" - Print package info such as "weight" 4. Expiration Dates - Give option to print lot/serial number expiration dates on delivery slip Task: 2008609 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr closes odoo/odoo#49832 Signed-off-by:
Arnold Moyaux <amoyaux@users.noreply.github.com>
-
Jorge Pinna Puissant authored
fine-tuning of bf8a9af1 - Employees > Configuration > Activity Planning > Plans and ensure the activities have different responsible; - Create a new Employee, assign a Manager (a different user then the one connected, you can assign Marc Demo for example); - Click launch plan. Before this commit, the activity type responsible is ignored and the responsible for all activities is the connected user. Now, the responsible for the activities are assigned taking into account the activity type configuration. opw-2265631 closes odoo/odoo#54054 X-original-commit: 0f4ec369 Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com>
-
Yannick Vaucher authored
This intend to enforce specifications and improve readability Layout changes: * [FIX] Amount section must be placed under the QR code * [FIX] Don't display empty additional information * [FIX] Rename slip sections and labels * [IMP] Rework of the layout Group content like adresse by removing line spacing Reduce character size to follow Swiss Implementation Guidelines QR-bill v2.1 Reduce left margin to avoid overlap of spaced ISR reference on the Receipt * [FIX] Missing street on Receipt * [FIX] Add thousand separators Official specs asks for: - thousand separators as blank. (using a non breaking to avoid spliting the amount) - decimal separators as a full stop > If the amount isincluded in the Swiss QR Code, then it must be printed after the currency code. A blank (space) should be used as the thousands separator and a full stop «.»as the decimal separator. The amount must always include two decimal places (e.g. CHF 1 590.00). QR-Code: * [IMP] Align QR code upper and improve accuracy of size Add an option on reportlab to print QR Code without surounding blank space this is required to compute with accuracy the width of 46mm x 46mm defined in the specs. * [FIX] Street and street2 issues Removes an extra space between street values when only one is given. Test the right partner street, only the company street was checked. QRR generation * [FIX] make it possible to generate QRR It must be possible to generate QRR without ISR subscription number. Content removed as not present in the specs version 2.1: * [RM] procedure section * [RM] due date Translations: * [IMP] Add translations of the QR-bill in DE, FR and IT * [FIX] QR-bill lang is now based on customer lang Tests: * [IMP] Add unit tests for Swiss reality check for the QR-bill closes odoo/odoo#54053 X-original-commit: 4f4edd0594b29252a5d44281cc773230c09521e9 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
Tiffany Chang (tic) authored
This commit makes it so the 'expiry_and_lots' settings in the product form appear underneath the corresponding checkbox that makes them visible. Previously it was appearing in the column before the checkbox and moving other form fields in a non-intuitive way.
-
Tiffany Chang (tic) authored
Minor update to task 2041853 specification 10: hide "Expected date" if delivery took place. Replace the position="replace" with the more long term maintainable position="attributes". Updates Task: 2041853
-
Tiffany Chang (tic) authored
This commit extends the delivery slip so that products added as a kit component to a stock.picking are grouped together by kit (or non-kit) when at least 1 kit exists. Kit grouping occurs for products from a kit without a package assigned. Non-kit section appears only when no packages are assigned. Implementation notes: - Sub-kits (i.e. kits within kits) of kits are purposely not included - Duplicate product names with different BOMs will be merged into one since there is no straightforward way to distinguish them within current db structure - There are some cases where this doesn't work as expected and may lead to components being grouped together under the same kit even if they are from different kits (e.g. kit1 has bolts and so does kit2 => on slip bolts will only show under kit1 section). Two cases where this happens is when kits are added before 'Operation Type' is specified and 'Operation Type = Manufacturing' This completes subsection 1 of overall Improve delivery slip task. Task: 2039720
-
Tiffany Chang (tic) authored
This commit adds the option to have lot/serial number expiration dates be included in a delivery report (via settings). This is only applicable for stock.picking where 'State=Done', when 1 or more lot/serial numbers are used, and 1 or more lot/serial number expiration dates exist. This completes subsection 4 of overall Improve delivery slip task. Task: 2039720
-
Tiffany Chang (tic) authored
This commit makes it so if a delivery slip contains 1 or more packages then move lines will be split by package (and non-package) groups with a "section line" between them. This only applies to when a stock.picking is 'State=Done'. In order to accomodate complexity of splitting by package + grouping by product unless printing serial numbers/lots + template inheritance, reoccurring parts of the template are split into their own templates and called. Relevant inheritance has been updated to match. Additionally, picking.shipping_weight calculation has been updated so if a pack.weight = 0 then calculation will default to the calculated product weight. This prevents inconsistency between the "Total Weight" at the top of the Delivery Slip and the package sections' displayed weights. To distinguish which value is being used, package sections that use the total product weight rather than the pack.weight have "(estimated)" after it. This completes subsection 3 of overall Improve delivery slip task. Task: 2039720
-
Tiffany Chang (tic) authored
This commit makes it so move_lines with the same product+description+uom are grouped together ONLY WHEN serial numbers/lots are not to be printed. This is the case when the setting "Display Lots & Serial Numbers on Delivery Slips" is not active or when there are no lots/serial numbers assigned in the picking. This is only applicable for stock.pickings that are 'state=Done'. In order to implement this, some clean up of lots/serial numbers printing was also done. This completes subsection 2 of overall Improve Delivery Slip task. Task: 2008609
-
Ravi Singh authored
this fixes is related to this PR https://github.com/odoo/odoo/pull/41561 where are broken the behaviour of options for media dialog. In this commit, we have changed classes names to fix the broken behavior of options in the video tab of media dialog. task-2154812 Closes https://github.com/odoo/odoo/pull/52135 closes odoo/odoo#54041 X-original-commit: fafbd7525c481dfed6a3df2a5cd15fbd01ab4d31 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Jigar Vaghela authored
Below is the case of product with automated valuation: - You bought 8 units @ 10$. - Then you deliver 10 units of the product. - You assumed the missing 2 should go out at a value of 10$ but you are not sure yet as it hasn't been bought in Odoo yet. - Afterwards, you buy missing 2 units of the same product at 12$. In this case the product has been undervalued when delivered without stock, the vacuum entry is the following one (this entry already takes place): Account | Debit | Credit =================================================== Stock Valuation | 0.00 | 4.00 Stock Interim (Delivered) | 4.00 | 0.00 So, on delivering product with different price, We should create additional journal items like: Account | Debit | Credit =================================================== Stock Interim (Delivered) | 0.00 | 4.00 Expenses Revaluation | 4.00 | 0.00 closes odoo/odoo#52396 Task: 2224025 Closes: #52396 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
Mathieu Duckerts-Antoine authored
In the search panel, the categories, i.e. fields select="one", with attributes expand="0", and enable_counters="0" (defaults) were not correctly updated when the domain outside of the search panel was updated. This is no longer the case. closes odoo/odoo#54040 X-original-commit: 99e9cac63f5034c1ba2154779fe82170dd656236 Related: odoo/enterprise#11642 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Mathieu Duckerts-Antoine authored
Problem: Go to the application apps, select accounting in the search panel, then filter on lunch in the search bar: the category all is displayed as selected in the search panel (accounting is no more a valid value since expand="0") but the application lunch does not appear in the kanban view. Root cause: The kanban model is reloaded with the old domain using accounting without waiting the search panel to be reloaded but it is only known after the search panel has been reloaded that the accounting value is no more valid and that all should be selected instead of accounting, thus that the domain used by the kanban model should be updated. Solution: The solution to the problem is simple: first reload the search panel, then reload the view model with the updated domain. X-original-commit: 8589babcd0f2c15433fe1eb06d0d745e80d01c22
-
- Jul 02, 2020
-
-
jerome hanke (jhk) authored
On the html widget, the lang overlapped the fullscreen button which make it seems not translatable. note: fw-port contains only the visual part of the fix (remaining part is not necessary thanks to 1915fe35). opw-2280188 closes odoo/odoo#54014 X-original-commit: 4ba258c1971703642911ebaf55afcc4f87e76101 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by:
mightyjol <jhk-odoo@users.noreply.github.com>
-
- Jul 03, 2020
-
-
Florent de Labarre authored
If no country is specified on a partner, self.country_id is res.country() and partner_country_code contains res.country(). In the next line the code was comparing `res.country()` with `'BE'`, raising a warning. closes odoo/odoo#54026 X-original-commit: ef9fc11d Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Nicolas Martinelli authored
- Activate more than one language - Install sale_quotation_builder - Create a new quotation model without website description - Create a SO using this model, Save The 'Please update translations of' is displayed for the website desctiption, although it is empty: when clicking on the link, no record is shown. This happens because an empty HTML field always contains at least `<p><br></p>`. We do not consider the latter string for translation. opw-2274203 closes odoo/odoo#54025 X-original-commit: aad4d516b6fb4b286f24bc536e5ecb67558a0c4d Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Jul 02, 2020
-
-
Aaron Bohy authored
Some fields are duplicated in the crm.lead for views. Those having their label manually generated must define a unique id, to be used by the associated label. That way, all labels are associated with the correct occurrence of their field. Part of task 2261697 closes odoo/odoo#53950 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-