-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLA] Update CLA to have consistent email in author and signer key. #12202
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also update list of contributors as Stefan is no longer working for Therp BV.
@mart-e quick and easy merge! |
merged at c038535, thanks |
mart-e
pushed a commit
that referenced
this pull request
May 30, 2016
To have consistent email in author and signer key. Also update list of contributors as Stefan is no longer working for Therp BV. Closes #12202
cnacorrea
added a commit
to VitalPet/odoo
that referenced
this pull request
Jul 22, 2016
* [IMP] web: multi-click on save on view form (no fp) When clicking on save several time when editing a view form it can be saved several times which can be an issue for one to many. The normal happenstance when saving should be as follow: -> save (click) -> wait write result -> received write result -> reload the form with updated data and updates buttons But when clicking several time, it could become: -> save (click) -> wait write result -> received write result -> save (click) -> wait write result -> received write result -> reload the form with updated data and updates buttons This commit only reinstate the saving feature once the form is reloaded. related to opw-671793 backport of 8.0's dd714ac note: no need to forward-port * [FIX] point_of_sale: respect user timezone for all data in Sale Details 9f0120d solved this issue already, but it was only applied to POS orderlines. There is other data on the report (eg. payments, taxes, ...) that should also correctly respect the user time zone as well. opw-678748 * [FIX] website_sale: allow to override product order on shop Close odoo#11202 * [FIX] payment_ogone: missing key The key 'PAYIDSUB' should be added in the list of SHA-OUT keys., otherwise the signature is wrong. opw-678718 * [FIX] account: substitution in aged partner report 'foo %s bar' % 'alice' if False else 'bob' returns 'bob', not 'foo bob bar' The previous strings returns '>=' when the direction is future while it should be 'COALESCE(l.date_maturity,l.date) >= %s' Fixes odoo#10654 Closes odoo#10695 * [FIX] sale: avoid division by zero in _get_price_reduce close odoo#11999 * [I18N] Update translation terms from Transifex * [CLA] Update Therp BV's signature To have consistent email in author and signer key. Also update list of contributors as Stefan is no longer working for Therp BV. Closes odoo#12202 * [CLA] corporate signature for DevCo Colombia Closes odoo#11755 * [FIX] account,*: preserve deactivated taxes By default, when reading a m2m field, entries that are deactivated in the destination table are not included. This behavior is desirable in some cases (e.g. for "tags" or "categories", but not for entries that significantly impact other field values in the parent record, such as taxes. The problem is rather obvious: when displaying a paid invoice that used taxes that are now deactivated, the taxes are hidden while they still affect the computed amount. And after cancelling + resetting to draft, the tax is not taken into account anymore, while still being linked. Forcing the field-level (python) domain to include both active and inactive entries solves the problem: - when reading, displaying and recomputing values, deactivated taxes will be included. - when trying to pick a tax, deactivated entries will still be ignored, as expected. This commit applies the technique to all m2m fields that refer to taxes. Fixes odoo#12066 opw-677751 * [CLA] Corporate signature for Aetna Softwares Closes odoo#12214 * [FIX] purchase: wrong call to super opw-675480 * [FIX] crm,gamification: flexible reference to field The field generation is most of the time following the pattern `field_<table name>_<field name>` but in case of name clash (e.g. res.partner.category - id and res.partner - category_id), the id of ir.model.field is added at the end of the external id during the field creation. The more flexible way to link to an ir.model.field is to use the syntax `search=[('model', '=', <model>), ('name', '=', <field name>)]` to avoid errors as in odoo#12192 when the "first" external id no longer exists. Fixes odoo#12192 Closes odoo#12198 * [I18N] Update translation terms from Transifex * [FIX] website_sale: add color value on attributes xml template was using color name, because color index was empty. It works in English, but once translated (in french e.g.) we have background-color:noir Fix odoo#12251 * [FIX] mass_mailing: filter emails to avoid duplicates When subscribing a user to a mailing list, the `mail.mass_mailing.contact` created is processed to identify it's name and email from the address (method `get_name_email` called in `add_to_list` and `name_create`). For a better consistency, the search of existing contacts should also be done using the method `get_name_email`. This avoids that subscribing twice `Example <example@example.com>` fails to detect duplicates and creates two subscriptions. Closes odoo#12265 * [FIX] website_sale: `State` select readonly in shipping info If we take the below facts: - The country select is set as disabled when Shipping is set to "Ship to the same address" - The disable property of select inputs is removed when shipping is set to `create a new address`: In `website_sale.js`: ``` $selects.attr("disabled", value <= 0 ? null : "disabled" ).prop("disabled", value <= 0 ? null : "disabled" ); ``` We can safely assume that the select input "State / Province" was supposed to be set as `disabled` in the first place, not as `readonly` Before this revision, State / Provice was greyed when choosing "Create a new address" for shipping, and selecting the United States (but the select input was still usable, though, it was just greyed) opw-675739 * [FIX] website_forum: convert content of posted comment to plaintext HTML content should be escaped before being sanitized. Any content (link, image, code,...) that is acceptable in usual mail.message but should not be interprated when posted on a comment of the forum. Fixes odoo#3737 * [FIX] l10n_lu: Change the sign for VP-IC-EX. Was PR odoo#12041 * [I18N] Update translation terms from Transifex * [FIX] fields: translations of the help of inherited fields This is similar to revision 5414033 opw-673716 * [FIX] account: Exchange test failing on Jun 6 The test `test_balanced_exchanges_gain_loss` failed on Jun 6, because it created a specific rate for today's date at midnight (e.g. on Jun 6, 201x-06-06 00:00:00) for the test purpose, but a rate is created in the demo data for Jun 6 midnight exactly: `base.rateUSDbis`, making the test confused about which rate to use. We solve this by making the test use the rate `base.rateUSDbis`, modifying the rate for its own need, instead of creating a new rate. * [FIX] hr_evaluation: badly rendered form The date was positioned inside the h1 and was badly rendered (field too small) Fixes odoo#2476 * [FIX] account_analytic_analysis: fpos of invoices When an invoice is created automatically thanks to the cron task, the superuser is used. However, this implies that the company of the superuser will be used for the account invoice creation, leading to potentially incorrect taxes and fiscal positions. opw-669714 * [IMP] hw_scanner: support multiple simultaneously attached devices The hw_scanner module not only supports barcode readers (although that was it's original intention). It also happens to support certain card readers (like the MagTek Dynamag we use for Mercury) because they act the same way as barcode scanners (like a keyboard and end sequence with ENTER). Before we supported Mercury there was no real reason to support multiple devices on the POSBox, because it didn't make much sense to attach >1 barcode reader to the same POSBox. With Mercury however, this is a real use case, as users want both a barcode reader and a card reader. This commit implements support for this, while keeping the functionality as close as possible to how it was before (eg. care was taken to not break plug and play support). * [FIX] base_import: disable tracking during validation Force the value tracking_disable to be make sure that the validation (which is supposed to have no impact), will not send any email. Fixes odoo#3173 * [FIX] website_quote: delay in SO line When creating an SO line with a quotation template, the customer lead time must be set. opw:678039 * [IMP] l10n_es: New taxes, taxes codes and fiscal positions according law changes * v5.2: Añadida retención 19,5% arrendamientos. * v5.1: Renombrado todo lo relacionado con arrendamientos para no incluir la palabra "IRPF", ya que no es como tal IRPF. * v5.0: Se ha rehecho toda la parte de impuestos para dar mayor facilidad de consulta de los datos para las declaraciones de la AEAT y para cubrir todas las casuísticas fiscales españolas actuales. Éstas son las características más destacadas: * Desdoblamiento de los impuestos principales para bienes y para servicios. * Nuevo árbol de códigos de impuestos orientado a cada modelo de la AEAT. * Nuevos códigos para los códigos de impuestos para facilitar su actualización. * La casilla del modelo viene ahora en la descripción, no en el código. * Posiciones fiscales ajustadas para el desdoblamiento. * Nuevo impuesto y posición fiscal para retención IRPF 19%. * Nuevo impuesto para revendedores con recargo de equivalencia. * Nuevas posiciones fiscales para retenciones de arrendamientos. * Pequeños ajustes en cuentas contables. Closes odoo#8453 * [IMP] l10n_es: Added a new tax "IVA soportado no sujeto" * [CLA] individual signautre for Patrik Lermon (kler) Closes odoo#12347 * [FIX] sale,procurement: use super instead of direct call Otherwise inheritance is not properly propagated Closes odoo#12337 * [CLA] signature for sheltonfreddy141 Closes odoo#12326 * [FIX] purchase: do not allow creation on purchase.order.line To match the behaviour on sale.order.line. Purchase line form is expected to be open in popup (where parent is defined), not individually when creating a line alone is not useful. Fixes odoo#6644 Closes odoo#12325 * [FIX] l10n_fr_hr_payroll: children categories When a rule category has children, the total of the category should include the total of the children categories. opw-673222 * [FIX] l10n_fr_hr_payroll: use `child_of` Previous commit 8f71292 searches recursively for children of a rule category. Use `child_of` instead which is way more efficient. opw-673222 * [FIX] http: keep debug mode in rediction The parameter forward_debug is used to keep the debug mode during redirection. Previous code was setting the debug to None which is ignored by werkzeug, making the option useless. Closes odoo#12107 * [I18N] Update translation terms from Transifex * [CLA] add jordanvrtanoski.md * [FIX] hr_payroll: do not unlink records in onchange method Fixing the error ValueError: "name 'date_from' is not defined" while evaluating '[date_from, date_to, employee_id, contract_id]' This commit close odoo#12383, close odoo#8883, close odoo#3116 * [FIX] website_sale: check email address Partial backport of ef19830. The error message cannot be included for compatibility reason, but the browser will highlight the field in red, which should be enough to locate the error. opw-677121 * [FIX] http: force removing the debug in redirection In case of local_redirect with * forward_debug=False * qwery={'debug': True} the debug mode should be removed. cf discusion on odoo#12107 and dd4980b * Backport of 42aa79d to 8.0 [CLA] Sign CLA of leblanc-simon Done at odoo#11806 * Backport of 45483b9 to 8.0 [FIX] anonymization: allow anonymization on HTML fields Was missing in the (old) list of fields * Backport of ec005af to 8.0 [FIX] anonymization: default anonymization fields res_partner.name was twice : remove one res_users.name doesn't exist (now, it use the partner name) : remove remove training.* fields that do not exists Closes odoo#11806 * [FIX] product: make copy friendlier to overrides Do not force to use "<name> (copy)" when duplicating Closes odoo#12397 * [FIX] purchase: `related_usage` must be readonly The `related_usage` field of `purchase.order` is a related field to the location `usage` field, which is defined in order to display/hide some other field in the PO according to the location usage This is purely a technical field, which is set only to change the form view according to the location usage. This is not expected to change the location usage through this field, this field must therefore be set to readonly. A change on the location usage could happen because of the `onchange_picking_type_id`: If the user changed the picking type, and then the location, the usage returned by the `onchange_picking_type_id` was applied on the location, and this must not have happened. In addition, since `related_usage` is a related to the location usage, it should be changed as well when the location is changed. (in the new api, this is no longer required, the related field is updated automatically). This revision therefore adds an onchange on the location as well, to handle this. opw-676428 * [CLA] signature for williamjmorenor Closes odoo#12467 * [CLA] Corporate signature for Seekda GmbH Closes odoo#12463 * [FIX] doc: 'Searching' instead of 'Research' The word 'Research' isn't usually used in this context. 'Searching' is better. Closes odoo#11517 * [FIX] doc: Research -> Search If I need to do researchs to find a quotation, the goal of having a userfriendly software may be missed. * [FIX] account: fixed group_lines method of invoices. The group_lines method didn't make the sum of the quantity field, hence resulting in incorrect results when making product based statistics from the account.move.line records. Courtesy of Luc De Meyer. Was PR odoo#10551 * [FIX] account: on ir_sequence, number_next_actual must always be read instead of number_next which might contain wrong value in case of 'standard' sequence. This was causing a crash on creating a new invoice, if demo data were installed and the user went to settings\accounting to do some modification. Issue odoo#12471 * [FIX] crm_profiling: backport of cf9230d Do not redefine the view arch but do a proper inherit. It was a problem as the redefinition removed some fields (headers,..). It was also a problem if crm_profiling was uninstalled as the redefinition was not removed. Closes odoo#12454 * [FIX] fields: during an onchange(), do not invalidate *2many fields because of their domain Our usage of domain on fields One2many seems to trigger an obscure behaviour on onchange. With the following (simplified) config: Message(models.Model): _name = 'test_new_api.message' important = fields.Boolean('Important') Discussion(models.Model): _name = 'test_new_api.discussion' name = fields.Char('Name') important_emails = fields.One2Many('test_new_api.emailmessage', 'discussion', domain=[('important', '=', True)]) Email(models.Model): _name = 'test_new_api.emailmessage' _inherits = {'test_new_api.message': 'message'} discussion = fields.Many2one('test_new_api.discussion', 'Discussion') message = fields.Many2one('test_new_api.message', 'Message') Steps: - We change 'name' on discussion, triggers an `onchange()` call - we ends up filling cache on virtual record (on secondary fields, we calling record.mapped('important_emails.important')) - we get a cache miss ('important' field not provided, only 'important_emails' ids, i.e with no change on existing records) - we fill the cache, this mark 'important' field as modified - because of commit 5676d81 and because 'important' is that case is a related (i.e computed) field we triggers cache recomputation - as there is no way to recompute 'important_emails' for virtual record (no real ID) we ends up with empty 'important_emails' generating removal of existing records. => Finally changing any value for 'test_new_api.discussion' that trigger an onchange will always reset 'important_emails' to empty Fixed by Raphael Collet <rco@odoo.com>, and test by Xavier Alt <xal@odoo.com>. * [I18N] Update translation terms from Transifex * [FIX] sale_stock: do not count discount twice When a product is a kit and a discount is applied thanks to a pricelist, the discount is counted twice if the invoice is created from the stock picking. This is because the pricelist will modify the price unit, but moreover the discount will be applied a second time by the method `_compute_price` of the account move line. opw-676838 * [FIX] models: commit *before* trying to set NOT NULL constraint Setting NOT NULL constraints on required fields may fail if there are any row with unset value for this column. The ORM handle this case by catching the exception raised and warning user. However, not commiting the current transaction before, will rollback changes made before like setting default values or renaming a column. * [FIX] sale, slae_stock, website_quote: get sale_delay in onchange_template_id Inspired from a706ada opw:681245, 681289, 681285 * [IMP] stock: when applying a push rule the new move should not be linked to the same procurement anymore * [I18N] Update translation terms from Transifex * [FIX] web: required attribute on one2many field Require One2many field without any line must show an error like many2many fields. issue 11782 * [FIX] models: inverse several computed fields based on a common computed field Consider fields G1 and G2 being computed fields with inverse methods that require the value of a common dependency F, which is also a computed field. For inversing G1 and G2, their values are put in cache, then their inverse method is called. If the inverse method of G1 requires the computation of F, setting F's value will invalidate both G1 and G2 in cache. Hence the value of G2 is lost when invoking its inverse method! The fix consists in marking G1 and G2 as being computed before invoking their inverse method, which prevents them from being invalidated by field F. * [FIX] stock: use float_compare to avoid an error in the transfer (The roundings of your Unit of Measures kg on the move vs. kg on the product don't allow to do these operations or you are not transferring the picking at once.) * [CLA] signature for engelant Closes odoo#12551 * [CLA] add Denis Roussel in Acsone CCLA Closes odoo#12570 * [I18N] Update translation terms from Transifex * [FIX] purchase: traceback when copy If a PO has no product, a traceback is raised because `onchange_product_id` returns no planned date. * [I18N] Update translation terms from Transifex * [FIX] mrp: missing context context was not passed to move objects in action_cancel Closes odoo#12598 * [FIX] hr_recruitment: wrong id on composer When an applicant is moved from a stage to another, an email is sent to the applicant(s) if an email template is specified on the stage. The active_ids is correctly set in the compose context to be used by the send_mail method to send a message to all the applicants in the new stage. However, a potential active_id may be propagated from a previous action. This is the case when a user goes from a Job Position record to the list of applications and change the stage using the kanban view (active_id & active_ids is the id of the hr.job). The default_get method of mail.compose.message will use the active_id as the default value for the field res_id which is wrong as it is the id of another record). Forcing the value at False instead of ids[0] as it would not work in batch mode. The list of records is correctly used in send_mail anyway. Closes odoo#12494 * [FIX] point_of_sale: mount /boot when building the POSBox image We don't mount /boot in fstab to prevent systemd-udev looking for corresponding kernel modules in /lib/modules. We need to do this because the modified kernel-qemu image we use for emulation is usually not 100% the same version as in the Raspbian image. Therefore systemd-udev won't be able to find the 'correct' kernel modules in /lib/modules. This causes issues when the raspberrypi-kernel package is updated however. apt will update /lib/modules and will write the new kernel{7,}.img files to /boot. Before this patch /boot was just a directory on /dev/sda2, not the 'real' /boot which is on /dev/sda1. So you'd end up with old, not updated kernel images but new, updated kernel modules in /lib/modules. This mounts /boot after the system booted. /boot gets mapped to /dev/sda1 by /etc/udev/rules.d/90-qemu.rules. Fixes odoo#12650 opw-682320 * [FIX] stock: fix AccessError on stock.quant while trying to resolve an inventory line linked to a package closes odoo#12511 * [IMP] stock: stock_change_product_qty : add hook to complete inventory line data Improved by Denis Roussel (Acsone). Closes odoo#10598 * [FIX] stock_account: do not sum price unit The view yields one line per stock move, with a price/unit on each line. It doesn't make sense to sum price/units, the avg will be only meaningful when grouping per product but it's correct in the default state. Closes odoo#11309 * [FIX] stock_account: prevent division by zero In case of a move where source location = destination location, the result of SUM(quantity) would be 0 and ending up with a division by zero. Closes odoo#12247 Closes odoo#12423 * [FIX] base: decode params_store content The parameter bin_size=True will display the size of the binary field. Fixes odoo#12681 * [FIX] setup: backport of 6ceb0a2 [FIX] setup.py: pyparsing version inconsistent with requirements Fixes odoo#12693 * [FIX] website_hr_recruitement: website desc translation Backport of the revision 26c44a5 opw-682716 * [I18N] Update translation terms from Transifex * [FIX] delivery: Invoice line for delivery method Steps to reproduce: 1. Activate the following options ** Settings > Warehouse > Products > Manage different units of measure for products ** Settings > Accounting > Accounting & Finance > Analytic accouting 2. Desactivate the following option ** Settings > Accounting > Analytic accouting > Sale > Use multiple analytic accounts on sales 3. Create a Sale order ** Add 2 qty of the product iMac ** Add in quote the delivery method "Normal Delivery Charges" and set 2 qty ** Set an analytic account under Contract/Analytic ** Set the field Create Invoice to "On delivery Order" 4. Deliver only 1 quantity of the iMac and then create the invoice 5. Deliver the last quantity of the iMac and then create the invoice Behavior before the fix: The first invoice contains 2 qty of the Transport The second invoice contains 1 qty of the Transport, has no analytic account set, has no UOM set Behavior after the fix: The first invoice contains 2 qty of the Transport The second invoice contains 0 qty of the Transport because it has already been invoiced Closed odoo#12644 opw:682284 * [FIX] hr_timehseet_sheet: drop view before creation When the schema of a view change (e.g. drop of column), the "CREATE OR REPLACE" will not be enough and dropping the view is required. Fixes odoo#12754 Closes odoo#12756 * [FIX] web: prevent kwargs position confusion The fith arguemnt of the search method in count in new API. Passing all arguments as positional arguments will make the context passed for the value of the `count` argument. bbc67ec is a similar fix in 9.0 Closes odoo#12830 * [I18N] Update translation terms from Transifex * [FIX] base: cherry-pick 55fa091 to 8.0 Backported to 8.0 following report at odoo#12648 [FIX] base: use datetime instead of date The variable `date` is compared to the field `name` in the selection query. `name` is filled in with datetime data. In particular, in the module currency_rate_live, datetime.now() is used in the name. It is necessary to make an appropriate comparison to make sure we select the updated rate right away. Fixes odoo#12648 * [FIX] product: default name in copy on product.product When duplicating a variant, it's not necessary to append (copy) to the name of the variant as it changes the name of the template too. opw:683522 * [FIX] project: add misssing decorator on onchange method The onchange should have the signature with `ids` instead of `id` for a proper guess. Without this, the method can not be overriden with an api.multi (the return result is a list of dictionnary which is not understood by the ORM as a proper return format). Fixes odoo#12856
cnacorrea
added a commit
to VitalPet/odoo
that referenced
this pull request
Jul 22, 2016
* [IMP] web: multi-click on save on view form (no fp) When clicking on save several time when editing a view form it can be saved several times which can be an issue for one to many. The normal happenstance when saving should be as follow: -> save (click) -> wait write result -> received write result -> reload the form with updated data and updates buttons But when clicking several time, it could become: -> save (click) -> wait write result -> received write result -> save (click) -> wait write result -> received write result -> reload the form with updated data and updates buttons This commit only reinstate the saving feature once the form is reloaded. related to opw-671793 backport of 8.0's dd714ac note: no need to forward-port * [FIX] point_of_sale: respect user timezone for all data in Sale Details 9f0120d solved this issue already, but it was only applied to POS orderlines. There is other data on the report (eg. payments, taxes, ...) that should also correctly respect the user time zone as well. opw-678748 * [FIX] website_sale: allow to override product order on shop Close odoo#11202 * [FIX] payment_ogone: missing key The key 'PAYIDSUB' should be added in the list of SHA-OUT keys., otherwise the signature is wrong. opw-678718 * [FIX] account: substitution in aged partner report 'foo %s bar' % 'alice' if False else 'bob' returns 'bob', not 'foo bob bar' The previous strings returns '>=' when the direction is future while it should be 'COALESCE(l.date_maturity,l.date) >= %s' Fixes odoo#10654 Closes odoo#10695 * [FIX] sale: avoid division by zero in _get_price_reduce close odoo#11999 * [I18N] Update translation terms from Transifex * [CLA] Update Therp BV's signature To have consistent email in author and signer key. Also update list of contributors as Stefan is no longer working for Therp BV. Closes odoo#12202 * [CLA] corporate signature for DevCo Colombia Closes odoo#11755 * [FIX] account,*: preserve deactivated taxes By default, when reading a m2m field, entries that are deactivated in the destination table are not included. This behavior is desirable in some cases (e.g. for "tags" or "categories", but not for entries that significantly impact other field values in the parent record, such as taxes. The problem is rather obvious: when displaying a paid invoice that used taxes that are now deactivated, the taxes are hidden while they still affect the computed amount. And after cancelling + resetting to draft, the tax is not taken into account anymore, while still being linked. Forcing the field-level (python) domain to include both active and inactive entries solves the problem: - when reading, displaying and recomputing values, deactivated taxes will be included. - when trying to pick a tax, deactivated entries will still be ignored, as expected. This commit applies the technique to all m2m fields that refer to taxes. Fixes odoo#12066 opw-677751 * [CLA] Corporate signature for Aetna Softwares Closes odoo#12214 * [FIX] purchase: wrong call to super opw-675480 * [FIX] crm,gamification: flexible reference to field The field generation is most of the time following the pattern `field_<table name>_<field name>` but in case of name clash (e.g. res.partner.category - id and res.partner - category_id), the id of ir.model.field is added at the end of the external id during the field creation. The more flexible way to link to an ir.model.field is to use the syntax `search=[('model', '=', <model>), ('name', '=', <field name>)]` to avoid errors as in odoo#12192 when the "first" external id no longer exists. Fixes odoo#12192 Closes odoo#12198 * [I18N] Update translation terms from Transifex * [FIX] website_sale: add color value on attributes xml template was using color name, because color index was empty. It works in English, but once translated (in french e.g.) we have background-color:noir Fix odoo#12251 * [FIX] mass_mailing: filter emails to avoid duplicates When subscribing a user to a mailing list, the `mail.mass_mailing.contact` created is processed to identify it's name and email from the address (method `get_name_email` called in `add_to_list` and `name_create`). For a better consistency, the search of existing contacts should also be done using the method `get_name_email`. This avoids that subscribing twice `Example <example@example.com>` fails to detect duplicates and creates two subscriptions. Closes odoo#12265 * [FIX] website_sale: `State` select readonly in shipping info If we take the below facts: - The country select is set as disabled when Shipping is set to "Ship to the same address" - The disable property of select inputs is removed when shipping is set to `create a new address`: In `website_sale.js`: ``` $selects.attr("disabled", value <= 0 ? null : "disabled" ).prop("disabled", value <= 0 ? null : "disabled" ); ``` We can safely assume that the select input "State / Province" was supposed to be set as `disabled` in the first place, not as `readonly` Before this revision, State / Provice was greyed when choosing "Create a new address" for shipping, and selecting the United States (but the select input was still usable, though, it was just greyed) opw-675739 * [FIX] website_forum: convert content of posted comment to plaintext HTML content should be escaped before being sanitized. Any content (link, image, code,...) that is acceptable in usual mail.message but should not be interprated when posted on a comment of the forum. Fixes odoo#3737 * [FIX] l10n_lu: Change the sign for VP-IC-EX. Was PR odoo#12041 * [I18N] Update translation terms from Transifex * [FIX] fields: translations of the help of inherited fields This is similar to revision 5414033 opw-673716 * [FIX] account: Exchange test failing on Jun 6 The test `test_balanced_exchanges_gain_loss` failed on Jun 6, because it created a specific rate for today's date at midnight (e.g. on Jun 6, 201x-06-06 00:00:00) for the test purpose, but a rate is created in the demo data for Jun 6 midnight exactly: `base.rateUSDbis`, making the test confused about which rate to use. We solve this by making the test use the rate `base.rateUSDbis`, modifying the rate for its own need, instead of creating a new rate. * [FIX] hr_evaluation: badly rendered form The date was positioned inside the h1 and was badly rendered (field too small) Fixes odoo#2476 * [FIX] account_analytic_analysis: fpos of invoices When an invoice is created automatically thanks to the cron task, the superuser is used. However, this implies that the company of the superuser will be used for the account invoice creation, leading to potentially incorrect taxes and fiscal positions. opw-669714 * [IMP] hw_scanner: support multiple simultaneously attached devices The hw_scanner module not only supports barcode readers (although that was it's original intention). It also happens to support certain card readers (like the MagTek Dynamag we use for Mercury) because they act the same way as barcode scanners (like a keyboard and end sequence with ENTER). Before we supported Mercury there was no real reason to support multiple devices on the POSBox, because it didn't make much sense to attach >1 barcode reader to the same POSBox. With Mercury however, this is a real use case, as users want both a barcode reader and a card reader. This commit implements support for this, while keeping the functionality as close as possible to how it was before (eg. care was taken to not break plug and play support). * [FIX] base_import: disable tracking during validation Force the value tracking_disable to be make sure that the validation (which is supposed to have no impact), will not send any email. Fixes odoo#3173 * [FIX] website_quote: delay in SO line When creating an SO line with a quotation template, the customer lead time must be set. opw:678039 * [IMP] l10n_es: New taxes, taxes codes and fiscal positions according law changes * v5.2: Añadida retención 19,5% arrendamientos. * v5.1: Renombrado todo lo relacionado con arrendamientos para no incluir la palabra "IRPF", ya que no es como tal IRPF. * v5.0: Se ha rehecho toda la parte de impuestos para dar mayor facilidad de consulta de los datos para las declaraciones de la AEAT y para cubrir todas las casuísticas fiscales españolas actuales. Éstas son las características más destacadas: * Desdoblamiento de los impuestos principales para bienes y para servicios. * Nuevo árbol de códigos de impuestos orientado a cada modelo de la AEAT. * Nuevos códigos para los códigos de impuestos para facilitar su actualización. * La casilla del modelo viene ahora en la descripción, no en el código. * Posiciones fiscales ajustadas para el desdoblamiento. * Nuevo impuesto y posición fiscal para retención IRPF 19%. * Nuevo impuesto para revendedores con recargo de equivalencia. * Nuevas posiciones fiscales para retenciones de arrendamientos. * Pequeños ajustes en cuentas contables. Closes odoo#8453 * [IMP] l10n_es: Added a new tax "IVA soportado no sujeto" * [CLA] individual signautre for Patrik Lermon (kler) Closes odoo#12347 * [FIX] sale,procurement: use super instead of direct call Otherwise inheritance is not properly propagated Closes odoo#12337 * [CLA] signature for sheltonfreddy141 Closes odoo#12326 * [FIX] purchase: do not allow creation on purchase.order.line To match the behaviour on sale.order.line. Purchase line form is expected to be open in popup (where parent is defined), not individually when creating a line alone is not useful. Fixes odoo#6644 Closes odoo#12325 * [FIX] l10n_fr_hr_payroll: children categories When a rule category has children, the total of the category should include the total of the children categories. opw-673222 * [FIX] l10n_fr_hr_payroll: use `child_of` Previous commit 8f71292 searches recursively for children of a rule category. Use `child_of` instead which is way more efficient. opw-673222 * [FIX] http: keep debug mode in rediction The parameter forward_debug is used to keep the debug mode during redirection. Previous code was setting the debug to None which is ignored by werkzeug, making the option useless. Closes odoo#12107 * [I18N] Update translation terms from Transifex * [CLA] add jordanvrtanoski.md * [FIX] hr_payroll: do not unlink records in onchange method Fixing the error ValueError: "name 'date_from' is not defined" while evaluating '[date_from, date_to, employee_id, contract_id]' This commit close odoo#12383, close odoo#8883, close odoo#3116 * [FIX] website_sale: check email address Partial backport of ef19830. The error message cannot be included for compatibility reason, but the browser will highlight the field in red, which should be enough to locate the error. opw-677121 * [FIX] http: force removing the debug in redirection In case of local_redirect with * forward_debug=False * qwery={'debug': True} the debug mode should be removed. cf discusion on odoo#12107 and dd4980b * Backport of 42aa79d to 8.0 [CLA] Sign CLA of leblanc-simon Done at odoo#11806 * Backport of 45483b9 to 8.0 [FIX] anonymization: allow anonymization on HTML fields Was missing in the (old) list of fields * Backport of ec005af to 8.0 [FIX] anonymization: default anonymization fields res_partner.name was twice : remove one res_users.name doesn't exist (now, it use the partner name) : remove remove training.* fields that do not exists Closes odoo#11806 * [FIX] product: make copy friendlier to overrides Do not force to use "<name> (copy)" when duplicating Closes odoo#12397 * [FIX] purchase: `related_usage` must be readonly The `related_usage` field of `purchase.order` is a related field to the location `usage` field, which is defined in order to display/hide some other field in the PO according to the location usage This is purely a technical field, which is set only to change the form view according to the location usage. This is not expected to change the location usage through this field, this field must therefore be set to readonly. A change on the location usage could happen because of the `onchange_picking_type_id`: If the user changed the picking type, and then the location, the usage returned by the `onchange_picking_type_id` was applied on the location, and this must not have happened. In addition, since `related_usage` is a related to the location usage, it should be changed as well when the location is changed. (in the new api, this is no longer required, the related field is updated automatically). This revision therefore adds an onchange on the location as well, to handle this. opw-676428 * [CLA] signature for williamjmorenor Closes odoo#12467 * [CLA] Corporate signature for Seekda GmbH Closes odoo#12463 * [FIX] doc: 'Searching' instead of 'Research' The word 'Research' isn't usually used in this context. 'Searching' is better. Closes odoo#11517 * [FIX] doc: Research -> Search If I need to do researchs to find a quotation, the goal of having a userfriendly software may be missed. * [FIX] account: fixed group_lines method of invoices. The group_lines method didn't make the sum of the quantity field, hence resulting in incorrect results when making product based statistics from the account.move.line records. Courtesy of Luc De Meyer. Was PR odoo#10551 * [FIX] account: on ir_sequence, number_next_actual must always be read instead of number_next which might contain wrong value in case of 'standard' sequence. This was causing a crash on creating a new invoice, if demo data were installed and the user went to settings\accounting to do some modification. Issue odoo#12471 * [FIX] crm_profiling: backport of cf9230d Do not redefine the view arch but do a proper inherit. It was a problem as the redefinition removed some fields (headers,..). It was also a problem if crm_profiling was uninstalled as the redefinition was not removed. Closes odoo#12454 * [FIX] fields: during an onchange(), do not invalidate *2many fields because of their domain Our usage of domain on fields One2many seems to trigger an obscure behaviour on onchange. With the following (simplified) config: Message(models.Model): _name = 'test_new_api.message' important = fields.Boolean('Important') Discussion(models.Model): _name = 'test_new_api.discussion' name = fields.Char('Name') important_emails = fields.One2Many('test_new_api.emailmessage', 'discussion', domain=[('important', '=', True)]) Email(models.Model): _name = 'test_new_api.emailmessage' _inherits = {'test_new_api.message': 'message'} discussion = fields.Many2one('test_new_api.discussion', 'Discussion') message = fields.Many2one('test_new_api.message', 'Message') Steps: - We change 'name' on discussion, triggers an `onchange()` call - we ends up filling cache on virtual record (on secondary fields, we calling record.mapped('important_emails.important')) - we get a cache miss ('important' field not provided, only 'important_emails' ids, i.e with no change on existing records) - we fill the cache, this mark 'important' field as modified - because of commit 5676d81 and because 'important' is that case is a related (i.e computed) field we triggers cache recomputation - as there is no way to recompute 'important_emails' for virtual record (no real ID) we ends up with empty 'important_emails' generating removal of existing records. => Finally changing any value for 'test_new_api.discussion' that trigger an onchange will always reset 'important_emails' to empty Fixed by Raphael Collet <rco@odoo.com>, and test by Xavier Alt <xal@odoo.com>. * [I18N] Update translation terms from Transifex * [FIX] sale_stock: do not count discount twice When a product is a kit and a discount is applied thanks to a pricelist, the discount is counted twice if the invoice is created from the stock picking. This is because the pricelist will modify the price unit, but moreover the discount will be applied a second time by the method `_compute_price` of the account move line. opw-676838 * [FIX] models: commit *before* trying to set NOT NULL constraint Setting NOT NULL constraints on required fields may fail if there are any row with unset value for this column. The ORM handle this case by catching the exception raised and warning user. However, not commiting the current transaction before, will rollback changes made before like setting default values or renaming a column. * [FIX] sale, slae_stock, website_quote: get sale_delay in onchange_template_id Inspired from a706ada opw:681245, 681289, 681285 * [IMP] stock: when applying a push rule the new move should not be linked to the same procurement anymore * [I18N] Update translation terms from Transifex * [FIX] web: required attribute on one2many field Require One2many field without any line must show an error like many2many fields. issue 11782 * [FIX] models: inverse several computed fields based on a common computed field Consider fields G1 and G2 being computed fields with inverse methods that require the value of a common dependency F, which is also a computed field. For inversing G1 and G2, their values are put in cache, then their inverse method is called. If the inverse method of G1 requires the computation of F, setting F's value will invalidate both G1 and G2 in cache. Hence the value of G2 is lost when invoking its inverse method! The fix consists in marking G1 and G2 as being computed before invoking their inverse method, which prevents them from being invalidated by field F. * [FIX] stock: use float_compare to avoid an error in the transfer (The roundings of your Unit of Measures kg on the move vs. kg on the product don't allow to do these operations or you are not transferring the picking at once.) * [CLA] signature for engelant Closes odoo#12551 * [CLA] add Denis Roussel in Acsone CCLA Closes odoo#12570 * [I18N] Update translation terms from Transifex * [FIX] purchase: traceback when copy If a PO has no product, a traceback is raised because `onchange_product_id` returns no planned date. * [I18N] Update translation terms from Transifex * [FIX] mrp: missing context context was not passed to move objects in action_cancel Closes odoo#12598 * [FIX] hr_recruitment: wrong id on composer When an applicant is moved from a stage to another, an email is sent to the applicant(s) if an email template is specified on the stage. The active_ids is correctly set in the compose context to be used by the send_mail method to send a message to all the applicants in the new stage. However, a potential active_id may be propagated from a previous action. This is the case when a user goes from a Job Position record to the list of applications and change the stage using the kanban view (active_id & active_ids is the id of the hr.job). The default_get method of mail.compose.message will use the active_id as the default value for the field res_id which is wrong as it is the id of another record). Forcing the value at False instead of ids[0] as it would not work in batch mode. The list of records is correctly used in send_mail anyway. Closes odoo#12494 * [FIX] point_of_sale: mount /boot when building the POSBox image We don't mount /boot in fstab to prevent systemd-udev looking for corresponding kernel modules in /lib/modules. We need to do this because the modified kernel-qemu image we use for emulation is usually not 100% the same version as in the Raspbian image. Therefore systemd-udev won't be able to find the 'correct' kernel modules in /lib/modules. This causes issues when the raspberrypi-kernel package is updated however. apt will update /lib/modules and will write the new kernel{7,}.img files to /boot. Before this patch /boot was just a directory on /dev/sda2, not the 'real' /boot which is on /dev/sda1. So you'd end up with old, not updated kernel images but new, updated kernel modules in /lib/modules. This mounts /boot after the system booted. /boot gets mapped to /dev/sda1 by /etc/udev/rules.d/90-qemu.rules. Fixes odoo#12650 opw-682320 * [FIX] stock: fix AccessError on stock.quant while trying to resolve an inventory line linked to a package closes odoo#12511 * [IMP] stock: stock_change_product_qty : add hook to complete inventory line data Improved by Denis Roussel (Acsone). Closes odoo#10598 * [FIX] stock_account: do not sum price unit The view yields one line per stock move, with a price/unit on each line. It doesn't make sense to sum price/units, the avg will be only meaningful when grouping per product but it's correct in the default state. Closes odoo#11309 * [FIX] stock_account: prevent division by zero In case of a move where source location = destination location, the result of SUM(quantity) would be 0 and ending up with a division by zero. Closes odoo#12247 Closes odoo#12423 * [FIX] base: decode params_store content The parameter bin_size=True will display the size of the binary field. Fixes odoo#12681 * [FIX] setup: backport of 6ceb0a2 [FIX] setup.py: pyparsing version inconsistent with requirements Fixes odoo#12693 * [FIX] website_hr_recruitement: website desc translation Backport of the revision 26c44a5 opw-682716 * [I18N] Update translation terms from Transifex * [FIX] delivery: Invoice line for delivery method Steps to reproduce: 1. Activate the following options ** Settings > Warehouse > Products > Manage different units of measure for products ** Settings > Accounting > Accounting & Finance > Analytic accouting 2. Desactivate the following option ** Settings > Accounting > Analytic accouting > Sale > Use multiple analytic accounts on sales 3. Create a Sale order ** Add 2 qty of the product iMac ** Add in quote the delivery method "Normal Delivery Charges" and set 2 qty ** Set an analytic account under Contract/Analytic ** Set the field Create Invoice to "On delivery Order" 4. Deliver only 1 quantity of the iMac and then create the invoice 5. Deliver the last quantity of the iMac and then create the invoice Behavior before the fix: The first invoice contains 2 qty of the Transport The second invoice contains 1 qty of the Transport, has no analytic account set, has no UOM set Behavior after the fix: The first invoice contains 2 qty of the Transport The second invoice contains 0 qty of the Transport because it has already been invoiced Closed odoo#12644 opw:682284 * [FIX] hr_timehseet_sheet: drop view before creation When the schema of a view change (e.g. drop of column), the "CREATE OR REPLACE" will not be enough and dropping the view is required. Fixes odoo#12754 Closes odoo#12756 * [FIX] web: prevent kwargs position confusion The fith arguemnt of the search method in count in new API. Passing all arguments as positional arguments will make the context passed for the value of the `count` argument. bbc67ec is a similar fix in 9.0 Closes odoo#12830 * [I18N] Update translation terms from Transifex * [FIX] base: cherry-pick 55fa091 to 8.0 Backported to 8.0 following report at odoo#12648 [FIX] base: use datetime instead of date The variable `date` is compared to the field `name` in the selection query. `name` is filled in with datetime data. In particular, in the module currency_rate_live, datetime.now() is used in the name. It is necessary to make an appropriate comparison to make sure we select the updated rate right away. Fixes odoo#12648 * [FIX] product: default name in copy on product.product When duplicating a variant, it's not necessary to append (copy) to the name of the variant as it changes the name of the template too. opw:683522 * [FIX] project: add misssing decorator on onchange method The onchange should have the signature with `ids` instead of `id` for a proper guess. Without this, the method can not be overriden with an api.multi (the return result is a list of dictionnary which is not understood by the ORM as a proper return format). Fixes odoo#12856
shingonoide
added a commit
to shingonoide/odoo
that referenced
this pull request
Sep 11, 2016
Squashed commit of the following: commit 40691d31f3f57330e31d7e913c8982b7b8d07d64 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Sep 11 03:04:01 2016 +0200 [I18N] Update translation terms from Transifex commit 0feaeb7641eec62d9ffb028f08e940bf8fbe5bc8 Author: Olivier Dony <odo@openerp.com> Date: Fri Sep 9 10:17:47 2016 +0200 [CLA] CCLA signature for GoOpen, računalniške storitve, Aleš Ferlan s.p. Received PDF signature by email on 2016-09-06, from Aleš Ferlan <alefer89@protonmail.com>. See opw-687914 for original PDF signature. commit b17b2a2eb7c43017970a70bb4d7c8c6c239d6804 Author: Olivier Dony <odo@openerp.com> Date: Fri Aug 19 02:47:19 2016 +0200 [FIX] http: do not allow passing spaces around db in URL param Until 9.0 our psycopg2 DSN connection strings do not allow having spaces within the db name, and passing some can cause duplicate registries to be loaded. Stripping spaces is a simple workaround until we actually support spaces within db names. Fixes #13078 commit b2265108406e0dc1d1e1250fdbad5bc2cee2006d Author: Ravi Gohil <rgo@odoo.com> Date: Thu Jul 21 15:14:02 2016 +0530 [IMP] payment_*: avoid access error on provider model As provider model is intended to be used internally restricting the read of some private fields to the employee group avoid creating access issues. commit 75a196972e9e1056c8ab9c299ddfc8e2eaafd812 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Sep 4 03:06:55 2016 +0200 [I18N] Update translation terms from Transifex commit 7bdd4de8051afa11e3941f7ab930c96b2e82bbc7 Author: qdp-odoo <qdp@odoo.com> Date: Fri Sep 2 14:10:44 2016 +0200 [FIX] anglo_saxon_dropshipping: fix dropship use case in anglo saxon with perpetual valuation. OPW: 684742 When using dropship+anglo-saxon+perpetual valuation, there is no journal move for the delivery to debit outgoing inventory (since the goods don't transit by an internal stock) but the sale does credit it so there was a build up in the holding account that has to be moved out manually. This was also reported in #12687. The solution implemented is to check if the invoice line is related to sale order lines having one of its procurement_ids with a purchase_line_id set. If yes, it means that it is a confirmed dropship and in that case we don't call to super (we don't create the cost of sale line). That means that: * If the procurement is in exception at the customer invoice time, the behavior will be as it is currently, but it's fine as you don't know how the procurement will be solved, and it'll be only at the beginning (once the config is done it shouldn't go in exception anymore). People will have to manually fix those amounts with a miscellaneous operation. * users in anglo saxon mode should not use the 'stock interim account (received)' on supplier invoices for dropshipped goods, but rather use the COGS directly (sounds to me logical, and that's actually why I wouldn't go for the solution to create the stock move entries every time even for the dropshipped goods. That, and the fact that it would pollute the accounting with useless moves) commit 2559b2cf4fc8312bda4f2ca68951ae3103b1d049 Author: Nicolas Martinelli <nim@odoo.com> Date: Fri Sep 2 10:02:19 2016 +0200 [FIX] web: statusbar click When the statusbar is clicked, a `debounce` function prevents a doucle-click, and therefore making several `write` calls. On some status bars, clicking doesn't work anymore. The reason is because, in some mysterious cases, the event is propagated to the parent. The `currentTarget` is not the `li` element, but the parent `ul`. By setting the `immediate` argument to `true` (execute the first function instead of the last), this solves the issue. commit 7b93e1dc7b4a370c312b64afda7a6045bdb81f38 Author: Nicolas Martinelli <nim@odoo.com> Date: Wed Aug 31 11:02:48 2016 +0200 [FIX] l10n_be_intrastat: skip EXTXVAL=0 An entry with EXTXVAL=0 should not be included in the Intrastat declaration, otherwise it is rejected. opw-686201 commit f1a331850d5f3383cd1ad2c765dd9e8ce3565b61 Author: Jeremy Kersten <jke@odoo.com> Date: Fri Jul 1 10:22:52 2016 +0200 [FIX] website_sale: fix order for the pager in front end. In psql, use LIMIT and OFFSET together without a fully specified and uniq sort order will generate unexpected behaviour. Eg: > id id_dept name > ------------------- > 1 1 Tom > 2 1 Mike > 3 2 Meggie > 4 2 Marge > 5 3 Bart > 6 3 Lisa > using LIMITed selects like: > SELECT * FROM employee ORDER BY id_dept LIMIT 3 > SELECT * FROM employee ORDER BY id_dept LIMIT 3 OFFSET 3 > SELECT * FROM employee ORDER BY id_dept LIMIT 3 OFFSET 6 > You can have some result missings from the 3 requests, and others duplicated. > Because id_dept is not a uniq order. opw-686639 note: backport of saas-12 4dce8616 commit 671fa0c7d44dc34b270a995cafe56515a66b6758 Author: Odoo Translation Bot <c3p@odoo.com> Date: Mon Aug 29 11:48:02 2016 +0200 [I18N] Update translation terms from Transifex commit c55c15aef39e9780cf48d2bc967b4e8357f31402 Author: Simon Lejeune <sle@openerp.com> Date: Fri Jun 10 15:26:58 2016 +0200 [FIX] packaging: Backport of efe37469 to 8.0 [FIX] packaging: debian: update-python-module is no more The command is not installed by default. It was available in the python-support library which we didn't depend on and now this library is no more in debian jessie/ubuntu xenial. Backported for #13302 commit c7d9695f5272072474a952161ce27bd94fddbb7d Merge: 4cb2dc6 b431e6c Author: Christophe Simonis <chs@odoo.com> Date: Thu Aug 25 11:02:01 2016 +0200 [MERGE] forward port branch 7.0 up to b431e6c commit 4cb2dc6d71c940dbc4c23e68f8692abd4596dd1d Author: Martin Trigaux <mat@odoo.com> Date: Thu Aug 25 10:38:12 2016 +0200 [FIX] web_graph: no label for ungrouped pie chart When a pie chart has no grouping selected, the label was "undefined" (the javascript variable). Replace by the already translated string "Undefined". Fixes #13288 commit abf17354f8b5139343eb6fba49ff7f4eacc66d68 Author: Jeremy Kersten <jke@odoo.com> Date: Wed Aug 24 10:59:58 2016 +0200 [FIX] account: remove domain that depend of purchase when not installed This commit avoid a traceback when you open the form account_invoice_line for a supllier invoice without having installed purchase. The fields_view_get method add domain with purchase_ok field, but this field can be missing on the model product.template because purchase is not a dependence of account. Invalid field 'purchase_ok' in leaf "<osv.ExtendedLeaf: ('purchase_ok', '=', True) on product_product In stable version, the best fix found, is to remove the domain. But we need to fix it in master, moving this field from purchase module to product module. (odoo/odoo##13271) This commit closes #13268 and closes #315 for stable version. Todo: merge odoo/odoo#13271 in master (@qdp-odoo agreement) commit 4faed0b792466e7e5cbd1bf4eb85e881fc801970 Author: Jairo Llopis <yajo.sk8@gmail.com> Date: Thu Aug 18 16:50:41 2016 +0200 [FIX] website_blog: fix pager when existing filters in url Go to a URL such as `/blog/our-news-1?date_begin=2015-01-01` Now click on page 2. Without this patch you will go to `/blog/our-news-1?date_begin=2015-01-01/page/2`. With this patch, you will go to `/blog/our-news-1/page/2?date_begin=2015-01-01`. This commit closes #13206 commit 29f57192546dc4f6e9625bc8e8007147c818666b Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Aug 21 03:05:30 2016 +0200 [I18N] Update translation terms from Transifex commit ee846fbff830f2c0ca125e04457033b69258c092 Author: Christophe Simonis <chs@odoo.com> Date: Fri Aug 19 15:59:10 2016 +0200 [FIX] core: exception are made to be raised commit 08ed48e24c69d9873137143cf2484cb706d17199 Author: Damien Bouvy <dbo@odoo.com> Date: Thu Aug 18 12:25:31 2016 +0200 [FIX] stock,purchase: stop shortening picking type names In purchase, a special key is set in the context to simplify the name of the picking type: instead of the normal name, only the name of the warehouse is used. This is problematic if more than one incoming picking type exists for a given warehouse, as it prevents you from being able to differentiate them. Asking users to modify the view to remove the context key seem a bit too much to ask for something that should be simple. It is my understanding that this was implemented only for cosmetic reasons, but I am willing to assume that having to select "YourCompany: Delivery Orders" instead of simply "YourCompany" for people who only have one picking type should not be too disruptive or obscure. opw-685751 commit c844534f8ac9d7aa0b93bf797bb84f3b80b797c3 Author: Goffin Simon <sig@odoo.com> Date: Wed Aug 10 17:05:35 2016 +0200 [FIX] account_asset: asset depreciation with refund When an asset is created from a refund invoice, the negative amount must be taken into account to create the depreciation moves. opw:685630 commit d32871570ac5c2c1f8cdcba734f6e68bbfe58be2 Author: Raphael Collet <rco@openerp.com> Date: Wed Aug 17 15:17:15 2016 +0200 [FIX] base: extrapolate table name on uninstall for ir_model_constraints When uninstalling a module, the model *may* be removed from the registry before the removal of the model constraints; to prevent crashing in those cases, a simple replace('.','_') on the model name should allow to obtain the table name in these cases. commit 3846d35d02304da15225fcbce1fec07ee580713a Author: Goffin Simon <sig@odoo.com> Date: Tue Aug 16 11:45:44 2016 +0200 [FIX] account_voucher: unreconcile with deleted journal items Inspired from e2d16ea When cancelling a voucher from a customer payment receipt, the voucher lines linked to the deleted account move lines have to be updated by clicking on button "unreconcile". opw:683258 commit 6cb84a1048453cd54706b060023507a3d91fbe67 Author: Damien Bouvy <dbo@odoo.com> Date: Tue Aug 16 15:11:31 2016 +0200 [FIX] analytic: add missing context propagation Courtesy of @adrienpeiffer commit c2fe9fe0e6b7e8d84eabfbdd6f6b69ecd14c4a79 Author: Nicolas Martinelli <nim@odoo.com> Date: Tue Aug 16 11:53:49 2016 +0200 [FIX] web: prevent double-click on statusbar When double-clicking on the statusbar widget, two calls to write are performed. This can cause unwanted behavior, and when the `write` method takes a lot of time to process, it's not possible to prevent it server-side. Courtesy of @gurneyalex and @aab-odoo Closes #13134 opw-686025 FORWARD-PORT UP TO SAAS-6! commit 71594f59581450f1e334669311e826f7364d1e86 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Aug 14 03:04:34 2016 +0200 [I18N] Update translation terms from Transifex commit 43e25b336db0d9440e04c393c8f017edf53d8764 Author: Goffin Simon <sig@odoo.com> Date: Tue Jul 19 10:37:36 2016 +0200 [FIX] account_voucher: unreconcile with deleted journal items Inspired from e2d16ea04a2ae98800086619ff5dc94dfa6eb5d3 When cancelling a voucher from a customer payment receipt, the voucher lines linked to the deleted account move lines have to be updated by clicking on button "unreconcile". opw:683258 commit 0606247a8bd8b1b9ab4f6c3aab7eb271ffb1d2cc Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Aug 7 03:07:40 2016 +0200 [I18N] Update translation terms from Transifex commit d56b03465ff1aa0304a27c51cf9034cebe7ea7c3 Author: Martin Trigaux <mat@odoo.com> Date: Fri Aug 5 15:57:03 2016 +0200 [I18N] Update translation terms from Transifex Last one before dropping a few non-active languages commit 7f6c669530ed7f9935de6516fadb7283ac00a9e4 Author: Jeremy Kersten <jke@odoo.com> Date: Fri Aug 5 11:59:31 2016 +0200 [FIX] website: /website/info use website.info xmlid When a user try to create a new page info, he is redirected to the /page/info because the xmlid already exists... The problem is that this view need to be rendered via the controller /website/info which gives some extra values (version, ...) The fix for v8 is to redirect /page/info to /website/info. In V9, the behavior is changed and one page info-1 will be created. But this fix is also required for direct access to /page/info. To do in master: maybe use another xml_id that this basic name 'info'? This commit fix issue #8022 commit b431e6c324e647c6b8349e843c2aca27de4c3621 Author: Martin Trigaux <mat@odoo.com> Date: Thu Aug 4 15:55:59 2016 +0200 [I18N] Last 7.0 update translation terms from Transifex commit ebb52cbbdf4a63cd11b4ecfa64ad63cbbbbee0b4 Author: Nicolas Martinelli <nim@odoo.com> Date: Wed Aug 3 13:49:39 2016 +0200 [FIX] stock: backorder sequence When an internal move is partially delivered, name of the backorder is 'False'. This also occurs if an internal move is copied. This is because there is not sequence for code 'stock.picking.internal', but there is one for 'stock.picking'. opw-683725 commit 1213de3ff5828ff4e6967d3d63c5309f1adbf922 Author: Goffin Simon <sig@odoo.com> Date: Tue Aug 2 14:29:57 2016 +0200 [FIX] account: get_reconciliation_proposition The bank statement reconciliation widget should look for the name of the account.move if the ref is not found. Backport of 11f8e8d opw:683741 commit f0d61387123472f025d4a3bea087c859c2c196d1 Author: Nicolas Martinelli <nim@odoo.com> Date: Tue Aug 2 17:45:20 2016 +0200 [FIX] im_odoo_support: link "Odoo Support" The free livechat support doesn't exist anymore, therefore the link "Odoo Support" does nothing. opw-683486 commit e106691ecb27db9aaec071073a5761bfafab0b68 Author: Christophe <2cadz@adiczion.net> Date: Mon Apr 11 18:39:23 2016 +0200 [CLA] Corporate signature for adiczion Done at #11662 commit 980ff5ef102c625cb3b9c2b0a715efd5d9db1b12 Author: Christophe <2cadz@adiczion.net> Date: Mon Apr 11 18:24:22 2016 +0200 [FIX] account: correct typo in css Closes #11662 commit fafeb9fb83461e909d9d3c54548f67bf18c49861 Author: Ondřej Kuzník <ondrej.kuznik@credativ.co.uk> Date: Mon Aug 1 12:44:07 2016 +0100 [FIX] stock: avoid traceback when owner on picking and transfer more. If you create a picking, with an owner, for qty x, and confirm it. Next transfer x+1, it will raise a traceback 'cannot adapt res.partner' Now, we pass the id, and not the browse record. This commit closes #12978 commit 7f86272b94b26b68aa1be3933d042efd9fd53008 Author: Jeremy Kersten <jke@odoo.com> Date: Tue Jul 26 16:15:47 2016 +0200 [FIX] hr_timesheet_sheet: set timesheet widget dirty when editing Without this commit, there was no warning displayed when clicking on a button that would make the user lose all he entered in the widget, which is insonsistent with other odoo widgets. opw-684276 commit d99745302c75828c6338d512118890f3ecca5db2 Author: Odoo Translation Bot <c3p@odoo.com> Date: Mon Aug 1 00:33:47 2016 +0200 [I18N] Update translation terms from Transifex commit 337049baa8e8e97c84f902faf1451774c5d4f195 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Jul 31 03:07:08 2016 +0200 [I18N] Update translation terms from Transifex commit f7b8028f676a1ec96a665ed220c01f56a752c679 Author: Gourav Chawla <gouravchawla@live.com> Date: Thu Jul 28 09:15:09 2016 +0530 [FIX] hr_payroll: display employee's identification number The report "Payslip" was displaying both the employee's job, the second time being in the "Identification No" box. Remove the second job and replace by the field 'Identification No' which makes more sense. Closes #12937 commit 9fe930e6ba95a223fc56163d675e8d5a6485a6fc Author: aetna-softwares <aetna.softwares@gmail.com> Date: Mon May 30 09:27:46 2016 +0200 [FIX] survey: prevent saving issues of answers to multiple_choice questions, when id starts with id of other questions Fixes #11873 #12215 commit c372708b01b9c1a19137b25eeddf6ec7ab2c2480 Author: Olivier Dony <odo@openerp.com> Date: Thu Jul 28 17:27:46 2016 +0200 [FIX] website_google_map: do not allow invalid partner prefix The only supported prefixes are the following: - /partners/ when website_partner and/or website_crm_partner_assign are installed - /customers/ when website_customer is installed commit de2d7d9acd71e86a40aa8a0e3489d94270dac255 Author: Nicolas Martinelli <nim@odoo.com> Date: Thu Jul 28 15:06:16 2016 +0200 [FIX] sale_stock: incorrect value in error message The error message has an hardcoded precision of 2 digits, which is not enough of the product precision is higher than 2. Since this error message is often used, we should avoid its modification to prevent breaking the translations. opw-683639 Fixes #12629 commit f57f55966df338c78e19403f0ace932c64585852 Author: Nicolas Martinelli <nim@odoo.com> Date: Thu Jul 28 13:13:00 2016 +0200 [FIX] sale_stock: UoM in warning The warning message of the product packaging change does not take into account the appropriate UoM. opw-12827 Fixes #12827 commit 8ceb9438d13cc4b947d70b629552d0d9c5f57fa4 Author: Gourav Chawla <gouravchawla@live.com> Date: Sun Jul 10 15:57:41 2016 +0530 [CLA] signature for user gouravchawla Closes #12738 commit 6742d1fafe3ced17435c377037035d7b14162ff1 Author: Nicolas Martinelli <nim@odoo.com> Date: Tue Jul 26 18:12:14 2016 +0200 [FIX] account: wrong initial balance in GL When the General Ledger is printed, the initial balance is zero if the filtering is done by period. It appears that in this case, the method `_query_get` selects all the periods before the selected period range thanks to: `build_ctx_periods(cr, uid, first_period, context['period_from'])` On the other hand, `_query_get` builds the query as: `date_start <= %(date_start)s AND id NOT IN %(period_ids)s` That doesn't make sense since we first choose the periods before the selected period range, then we exclude them. What the method `_query_get` is doing seems wrong, but since this method is used in many reports, it is safer to only fix the GL report directly. Another solution could be https://gist.github.com/nim-odoo/453176d9ae820615e69f9a809a3780cc opw-681601 commit dbf44a968016c5cd9836686e75224c805f9d104f Author: Goffin Simon <sig@odoo.com> Date: Tue Jul 12 15:47:45 2016 +0200 [FIX] payment_paypal: country and state code required for paypal As explained in: -https://developer.paypal.com/docs/classic/api/country_codes/ -https://developer.paypal.com/docs/classic/api/state_codes/ The country and state code is required to create a paypal transaction. But in some cases, the complete name of the state/province is required. For example, for India, sometimes the complete name of the state is required. Check the list of those state/province in the documentation. Hint: form_preprocess_values opw:682872 commit 245e38d242f90f6eebaa4bebd745140de7dd48a1 Author: Martin Trigaux <mat@odoo.com> Date: Tue Jul 26 14:53:18 2016 +0200 [FIX] doc: remove statusbar_color reference This attribute has been removed from the web framework since b4c28050 and should not keep example of code with it. Related to #5987 commit 077dde3a693d86fc23293ada862e2a7b7d60e083 Author: Jeremy Kersten <jke@odoo.com> Date: Tue Jul 26 13:35:07 2016 +0200 [FIX] calendar: don't duplicate all the calendar_contact Before this patch, add_filter was called 2 times. Once when we select a partner in the drop down, we trigger a onchange value to change from false to the partner id. Once to reset to false the value after the first add_filter() This commit closes #9758 commit e1c55b2d2d3fc2ea61160b5305c7219e810553be Author: Jeremy Kersten <jke@odoo.com> Date: Tue Jul 26 10:15:26 2016 +0200 [FIX] calendar: avoid local variable referenced before assignment When the get_one_event_synchro crash, the status variable is not initialize. So the return status, content, ... raise an error: "local variable 'status' referenced before assignment" This commit closes the issue #11513 commit 78f00700e37ae06e02e948d747b4a2cb5868df45 Author: Jeremy Kersten <jke@odoo.com> Date: Mon Jul 25 17:31:30 2016 +0200 [FIX] product: keep precision in historized cost field. Now we use the same decimal precision for cost in table 'Historization cost' and 'product'. It is one fix, but that will not fix the case where decimal precision has been updated between 2 historizations. This commit closes #12861 commit 64c80ddb4ac338b47d40c95f699cb61649966c92 Author: Martin Trigaux <mat@odoo.com> Date: Mon Jul 25 16:31:14 2016 +0200 [FIX] product: add missing argument in read The list of fields was not present, making the call to fail. Closes #11716 commit 4712fddd88ca72b812bf966fdd9bde36feb36c7e Author: Stefan Rijnhart <stefan@opener.am> Date: Wed May 11 17:03:53 2016 +0200 [FIX] account: never allow modification of posted entries Posted moves are not protected from modification if the journal is set to 'autopost'. If an account move is posted in a journal with 'Autopost' set, it is possible to modify the associated move lines without any restriction. This can for example lead to the creation of unbalanced moves. The original issue fixed by this extra condition (https://bugs.launchpad.net/openobject-addons/+bug/615268) does not occur if the commit is reverted. This reverts 4e95e4223 Closes #12014 opw-683165 commit 3418b9f8aa052ae0aabf940d6332cc0aa77d409d Author: Jeremy Kersten <jke@odoo.com> Date: Mon Jul 25 14:39:16 2016 +0200 [FIX] calendar: avoid infinite recurrent event Old check was always ignored since 0 is False. This commit closes #12715 Other fix; when we detach an event, we reset the rrule_type to avoid to have a warning popup (about empty final_date) if the old one value was end_date. commit acc531a9d750874a3bdc8663054b21ef9252fc04 Author: Olivier Dony <odo@openerp.com> Date: Wed Jul 20 22:14:23 2016 +0200 [FIX] portal: avoid users sharing non-portal groups commit 8245c1d1d87b443701b161d8d4a42df2b4d13aec Author: Olivier Dony <odo@openerp.com> Date: Wed Jun 1 18:39:18 2016 +0200 [FIX] service.server: drop idle connection attempts Avoid wasting HTTP workers (in prefork server mode) for pending/idle connections. HTTP connections that have not sent anything for 500ms will be dropped. In particular, wkhtmltopdf uses a connection pool to load remote resources. It opens more HTTP connections than necessary and uses a random subset of them, leaving the other idle. On a server that has little available workers this may significantly delay report rendering, and could even lead to a deadlock. OPW-667870 commit 43cff22950a638a69d4f0ad0036ed034815c8f6c Author: Olivier Dony <odo@openerp.com> Date: Mon Jul 25 11:42:45 2016 +0200 [FIX] base: fix broken URLs when redirecting Similarly to werkzeug.urls.url_fix(), attempt to correct some leftover special characters that should have been URL-encoded. We cannot actually use `werkzeug.urls.url_fix` or `werkzeug.urls.url_quote`, as they expect more/most characters to be un-encoded. We have many existing cases where the redirect URL is already fully encoded or mostly encoded, and those functions would cause double-encoding, breaking the final URL. commit 8596a4ccaa71d693ef4d2075ee793f3665ed605b Author: Olivier Dony <odo@openerp.com> Date: Wed Jul 20 21:35:40 2016 +0200 [FIX] portal: avoid users sharing non-portal groups commit 7e162e899318410e836a08907a51070ba21014f4 Author: Pedro M. Baeza <pedro.baeza@gmail.com> Date: Sat May 14 18:15:40 2016 +0200 [FIX] account: total_invoiced field should be only for customer "total_invoiced" must only take customer invoices into account because when you click on the button "invoiced" in the partner view form you just see the customer invoices. Adaptation for 8.0 of 9.0 fix made at 37569695 Closes #12044 commit aa1c3946daa08bc948c0e423554c603aa8cc67a2 Author: Nicolas Martinelli <nim@odoo.com> Date: Mon Jul 25 10:56:06 2016 +0200 [FIX] product: rounding in pricelist report The pricelist report might show price incorrectly rounded. For example, a calculated price of 20.625 will be displayed as 20.62 in the report since `formatLang` does not apply a rounding but simply truncate the value. Fixes #12875 commit 84f9cdd1d9fb7c4e82469639a80e09437dfefec4 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Jul 24 02:59:48 2016 +0200 [I18N] Update translation terms from Transifex commit 862e4c42bacfa1e5c01955782d286e7c7bc62963 Author: Stéphane Bidoul (ACSONE) <stephane.bidoul@acsone.eu> Date: Fri Jul 15 14:17:02 2016 +0200 [CLA] Add Thomas Binsfeld in ACSONE CCLA Closes #12810 commit c3b1a0eca7794c96da3f163ab4c9eba1f6c7738a Author: Pedro M. Baeza <pedro.baeza@gmail.com> Date: Fri Mar 11 22:54:22 2016 +0100 [FIX] purchase: retrieve product full name in dropshipping The name field is the name of the product.template while the display_name will contains the variant description and product code to allow to identitfy which product.product is moved. Closes #11311 commit 8b83119fad7ccae9f091f12b6ac89c2c31e4bac3 Author: Martin Trigaux <mat@odoo.com> Date: Wed Jul 20 17:19:58 2016 +0200 [FIX] project: add misssing decorator on onchange method The onchange should have the signature with `ids` instead of `id` for a proper guess. Without this, the method can not be overriden with an api.multi (the return result is a list of dictionnary which is not understood by the ORM as a proper return format). Fixes #12856 commit d7f12700509fff40a586bc1f4044d6968a80fdee Author: Goffin Simon <sig@odoo.com> Date: Tue Jul 19 15:48:49 2016 +0200 [FIX] product: default name in copy on product.product When duplicating a variant, it's not necessary to append (copy) to the name of the variant as it changes the name of the template too. opw:683522 commit 2c19e9be9691ff02e80ddca8cda05ba87fd16550 Author: Nicolas Martinelli <nim@odoo.com> Date: Wed Oct 7 15:00:01 2015 +0200 [FIX] base: cherry-pick 55fa0912 to 8.0 Backported to 8.0 following report at #12648 [FIX] base: use datetime instead of date The variable `date` is compared to the field `name` in the selection query. `name` is filled in with datetime data. In particular, in the module currency_rate_live, datetime.now() is used in the name. It is necessary to make an appropriate comparison to make sure we select the updated rate right away. Fixes #12648 commit c3dd3089134e7580ec96d106b3b70d6b40037d22 Author: Odoo Translation Bot <c3p@odoo.com> Date: Tue Jul 19 12:10:41 2016 +0200 [I18N] Update translation terms from Transifex commit 2757ec3d0cfbbe4cd951f5e4c5d369293fe87192 Author: Stefan Rijnhart <stefan@opener.am> Date: Mon Jul 18 16:51:57 2016 +0200 [FIX] web: prevent kwargs position confusion The fith arguemnt of the search method in count in new API. Passing all arguments as positional arguments will make the context passed for the value of the `count` argument. bbc67ec is a similar fix in 9.0 Closes #12830 commit 17a130428516d9dd8105f90e8c9a65a0b4e8901b Author: Ronald Portier <ronald@therp.nl> Date: Mon Jul 11 15:30:46 2016 +0200 [FIX] hr_timehseet_sheet: drop view before creation When the schema of a view change (e.g. drop of column), the "CREATE OR REPLACE" will not be enough and dropping the view is required. Fixes #12754 Closes #12756 commit 965024902db880af005a9688a277b28e076a4a7e Author: Goffin Simon <sig@odoo.com> Date: Wed Jul 6 10:32:06 2016 +0200 [FIX] delivery: Invoice line for delivery method Steps to reproduce: 1. Activate the following options ** Settings > Warehouse > Products > Manage different units of measure for products ** Settings > Accounting > Accounting & Finance > Analytic accouting 2. Desactivate the following option ** Settings > Accounting > Analytic accouting > Sale > Use multiple analytic accounts on sales 3. Create a Sale order ** Add 2 qty of the product iMac ** Add in quote the delivery method "Normal Delivery Charges" and set 2 qty ** Set an analytic account under Contract/Analytic ** Set the field Create Invoice to "On delivery Order" 4. Deliver only 1 quantity of the iMac and then create the invoice 5. Deliver the last quantity of the iMac and then create the invoice Behavior before the fix: The first invoice contains 2 qty of the Transport The second invoice contains 1 qty of the Transport, has no analytic account set, has no UOM set Behavior after the fix: The first invoice contains 2 qty of the Transport The second invoice contains 0 qty of the Transport because it has already been invoiced Closed #12644 opw:682284 commit ef83f798d5ca15c470976571184c809fe99f4724 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Jul 10 03:01:32 2016 +0200 [I18N] Update translation terms from Transifex commit 0c3cd7cbb48c2291c2e79ce6907547b79342ad91 Author: Denis Ledoux <dle@odoo.com> Date: Fri Jul 8 10:13:19 2016 +0200 [FIX] website_hr_recruitement: website desc translation Backport of the revision 26c44a58df2cab1790f78ed127390075f84c1de7 opw-682716 commit e38947989ab19df3b7d9f726b3ccbf1b04ab3c72 Author: Christophe Combelles <ccomb@free.fr> Date: Wed Oct 7 20:54:14 2015 +0200 [FIX] setup: backport of 6ceb0a2b1b92 [FIX] setup.py: pyparsing version inconsistent with requirements Fixes #12693 commit 0df7a1ca2f86b63911a5822ccccf4ab00bcd341c Author: Martin Trigaux <mat@odoo.com> Date: Wed Jul 6 16:22:40 2016 +0200 [FIX] base: decode params_store content The parameter bin_size=True will display the size of the binary field. Fixes #12681 commit 5e466d3507d81db5fd698d18fe623e5b802bd011 Author: Daniel-CA <danielcampos@avanzosc.es> Date: Tue May 31 17:55:27 2016 +0200 [FIX] stock_account: prevent division by zero In case of a move where source location = destination location, the result of SUM(quantity) would be 0 and ending up with a division by zero. Closes #12247 Closes #12423 commit 5537c5a13c31979e0eaa0132f03056632d072d60 Author: Lionel Sausin <ls@numerigraphe.com> Date: Fri Mar 11 17:58:36 2016 +0100 [FIX] stock_account: do not sum price unit The view yields one line per stock move, with a price/unit on each line. It doesn't make sense to sum price/units, the avg will be only meaningful when grouping per product but it's correct in the default state. Closes #11309 commit 77de330c0382812219e01ead061818ce65cac665 Author: Laetitia Gangloff <laetitia.gangloff@acsone.eu> Date: Mon Jan 25 14:56:20 2016 +0100 [IMP] stock: stock_change_product_qty : add hook to complete inventory line data Improved by Denis Roussel (Acsone). Closes #10598 commit e3954a3457bffd7c8e5ea09ac9c4802e3cd307dc Author: Alex Comba <alex.comba@agilebg.com> Date: Tue Jun 21 11:24:20 2016 +0200 [FIX] stock: fix AccessError on stock.quant while trying to resolve an inventory line linked to a package closes #12511 commit 75dbd545c85182feeaf138f0155a82aa203fcf7c Author: Joren Van Onder <jov@odoo.com> Date: Tue Jul 5 16:18:25 2016 +0200 [FIX] point_of_sale: mount /boot when building the POSBox image We don't mount /boot in fstab to prevent systemd-udev looking for corresponding kernel modules in /lib/modules. We need to do this because the modified kernel-qemu image we use for emulation is usually not 100% the same version as in the Raspbian image. Therefore systemd-udev won't be able to find the 'correct' kernel modules in /lib/modules. This causes issues when the raspberrypi-kernel package is updated however. apt will update /lib/modules and will write the new kernel{7,}.img files to /boot. Before this patch /boot was just a directory on /dev/sda2, not the 'real' /boot which is on /dev/sda1. So you'd end up with old, not updated kernel images but new, updated kernel modules in /lib/modules. This mounts /boot after the system booted. /boot gets mapped to /dev/sda1 by /etc/udev/rules.d/90-qemu.rules. Fixes #12650 opw-682320 commit 64b0e67a3869df3ffd112c2bcbc40d69b3f03c35 Author: Martin Trigaux <mat@odoo.com> Date: Tue Jul 5 09:55:27 2016 +0200 [FIX] hr_recruitment: wrong id on composer When an applicant is moved from a stage to another, an email is sent to the applicant(s) if an email template is specified on the stage. The active_ids is correctly set in the compose context to be used by the send_mail method to send a message to all the applicants in the new stage. However, a potential active_id may be propagated from a previous action. This is the case when a user goes from a Job Position record to the list of applications and change the stage using the kanban view (active_id & active_ids is the id of the hr.job). The default_get method of mail.compose.message will use the active_id as the default value for the field res_id which is wrong as it is the id of another record). Forcing the value at False instead of ids[0] as it would not work in batch mode. The list of records is correctly used in send_mail anyway. Closes #12494 commit 8914de8c5388a59a777766702be694fb50254469 Author: Anton Engelhardt <anton@neednow.de> Date: Mon Jun 27 19:29:16 2016 +0200 [FIX] mrp: missing context context was not passed to move objects in action_cancel Closes #12598 commit 1986980a513a4260c5ecebed7e1b947c3b23f54b Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Jul 3 02:59:06 2016 +0200 [I18N] Update translation terms from Transifex commit ff31e0381aa862ce614cc4c70ca74e89789f4f29 Author: Odoo Translation Bot <c3p@odoo.com> Date: Fri Jul 1 00:28:27 2016 +0200 [I18N] Update translation terms from Transifex commit 830fc8922d32d751c2090940b8217e6628682007 Author: Nicolas Martinelli <nim@odoo.com> Date: Thu Jun 30 08:27:49 2016 +0200 [FIX] purchase: traceback when copy If a PO has no product, a traceback is raised because `onchange_product_id` returns no planned date. commit 3e965ecf58c3bcb3ae09f49d3164c2633b098de8 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Jun 26 02:57:50 2016 +0200 [I18N] Update translation terms from Transifex commit ee3666237af305de7960103b66ab68afa9c894a9 Author: Stéphane Bidoul (ACSONE) <stephane.bidoul@acsone.eu> Date: Fri Jun 24 14:24:48 2016 +0200 [CLA] add Denis Roussel in Acsone CCLA Closes #12570 commit b00ba0b6db7ba81bdb6ddde4b7ef2035c70bb6b1 Author: engelant <mumie_die@yahoo.de> Date: Thu Jun 23 10:18:04 2016 +0200 [CLA] signature for engelant Closes #12551 commit 297bbff6f54915a1a04050cbd14ec27393285513 Author: Alexis de Lattre <alexis.delattre@akretion.com> Date: Mon Jun 13 22:23:26 2016 +0200 [FIX] stock: use float_compare to avoid an error in the transfer (The roundings of your Unit of Measures kg on the move vs. kg on the product don't allow to do these operations or you are not transferring the picking at once.) commit ff937770995a5a2e487b5150372eaf1219cb2d47 Author: Raphael Collet <rco@openerp.com> Date: Mon Jun 20 17:04:17 2016 +0200 [FIX] models: inverse several computed fields based on a common computed field Consider fields G1 and G2 being computed fields with inverse methods that require the value of a common dependency F, which is also a computed field. For inversing G1 and G2, their values are put in cache, then their inverse method is called. If the inverse method of G1 requires the computation of F, setting F's value will invalidate both G1 and G2 in cache. Hence the value of G2 is lost when invoking its inverse method! The fix consists in marking G1 and G2 as being computed before invoking their inverse method, which prevents them from being invalidated by field F. commit a9fac2ea2d593df7163c72d58647f71b8c54911f Author: Christophe Matthieu <chm@odoo.com> Date: Thu Jun 16 15:21:30 2016 +0200 [FIX] web: required attribute on one2many field Require One2many field without any line must show an error like many2many fields. issue 11782 commit 41ec7eec56b91537868e16f06b40cb3ef10f1c69 Author: Odoo Translation Bot <c3p@odoo.com> Date: Wed Jun 22 07:12:57 2016 +0200 [I18N] Update translation terms from Transifex commit fe15829c1664c00bc64874af4f504eaffbe1c12f Author: Josse Colpaert <jco@odoo.com> Date: Mon Jun 13 23:38:12 2016 +0200 [IMP] stock: when applying a push rule the new move should not be linked to the same procurement anymore commit c77745b9c5ccb641805c74dadc51d838b94ec077 Author: Goffin Simon <sig@odoo.com> Date: Mon Jun 20 13:50:58 2016 +0200 [FIX] sale, slae_stock, website_quote: get sale_delay in onchange_template_id Inspired from a706ada opw:681245, 681289, 681285 commit 5b1beec1f2840f3558b279b5726b0afa722128db Author: Christophe Simonis <chs@odoo.com> Date: Mon Jun 20 11:53:59 2016 +0200 [FIX] models: commit *before* trying to set NOT NULL constraint Setting NOT NULL constraints on required fields may fail if there are any row with unset value for this column. The ORM handle this case by catching the exception raised and warning user. However, not commiting the current transaction before, will rollback changes made before like setting default values or renaming a column. commit 8a1d7dfe7bd82473f33400c0e933142261bc30b6 Author: Nicolas Martinelli <nim@odoo.com> Date: Fri Jun 17 17:41:03 2016 +0200 [FIX] sale_stock: do not count discount twice When a product is a kit and a discount is applied thanks to a pricelist, the discount is counted twice if the invoice is created from the stock picking. This is because the pricelist will modify the price unit, but moreover the discount will be applied a second time by the method `_compute_price` of the account move line. opw-676838 commit cd369396d9efc5c43867880cc04413f780f2eb74 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Jun 19 02:59:13 2016 +0200 [I18N] Update translation terms from Transifex commit f02b23006b63c375258cf5a33c903318e59e7bbb Author: Xavier ALT <xal@odoo.com> Date: Mon May 30 12:15:06 2016 +0200 [FIX] fields: during an onchange(), do not invalidate *2many fields because of their domain Our usage of domain on fields One2many seems to trigger an obscure behaviour on onchange. With the following (simplified) config: Message(models.Model): _name = 'test_new_api.message' important = fields.Boolean('Important') Discussion(models.Model): _name = 'test_new_api.discussion' name = fields.Char('Name') important_emails = fields.One2Many('test_new_api.emailmessage', 'discussion', domain=[('important', '=', True)]) Email(models.Model): _name = 'test_new_api.emailmessage' _inherits = {'test_new_api.message': 'message'} discussion = fields.Many2one('test_new_api.discussion', 'Discussion') message = fields.Many2one('test_new_api.message', 'Message') Steps: - We change 'name' on discussion, triggers an `onchange()` call - we ends up filling cache on virtual record (on secondary fields, we calling record.mapped('important_emails.important')) - we get a cache miss ('important' field not provided, only 'important_emails' ids, i.e with no change on existing records) - we fill the cache, this mark 'important' field as modified - because of commit 5676d81 and because 'important' is that case is a related (i.e computed) field we triggers cache recomputation - as there is no way to recompute 'important_emails' for virtual record (no real ID) we ends up with empty 'important_emails' generating removal of existing records. => Finally changing any value for 'test_new_api.discussion' that trigger an onchange will always reset 'important_emails' to empty Fixed by Raphael Collet <rco@odoo.com>, and test by Xavier Alt <xal@odoo.com>. commit bcb191f273bae8ed99c17843658789a44f6e5bfc Author: jeffery chen fan <jeffery9@gmail.com> Date: Thu Jun 16 20:14:30 2016 +0800 [FIX] crm_profiling: backport of cf9230d1ff Do not redefine the view arch but do a proper inherit. It was a problem as the redefinition removed some fields (headers,..). It was also a problem if crm_profiling was uninstalled as the redefinition was not removed. Closes #12454 commit ba49172929559aeff0be5e59fd95b5562fab3224 Author: qdp-odoo <qdp@odoo.com> Date: Fri Jun 17 14:41:12 2016 +0200 [FIX] account: on ir_sequence, number_next_actual must always be read instead of number_next which might contain wrong value in case of 'standard' sequence. This was causing a crash on creating a new invoice, if demo data were installed and the user went to settings\accounting to do some modification. Issue #12471 commit 1750b90252e040cb6f84e7aadc4292ff7eee5182 Author: luc-demeyer <luc.demeyer@noviat.com> Date: Fri Jun 17 10:27:53 2016 +0200 [FIX] account: fixed group_lines method of invoices. The group_lines method didn't make the sum of the quantity field, hence resulting in incorrect results when making product based statistics from the account.move.line records. Courtesy of Luc De Meyer. Was PR #10551 commit 9007ed4c0b5eff88800ef36b555d121db278ac99 Author: Martin Trigaux <mat@odoo.com> Date: Fri Jun 17 09:48:47 2016 +0200 [FIX] doc: Research -> Search If I need to do researchs to find a quotation, the goal of having a userfriendly software may be missed. commit bdf93910c324b17033f6215e217a0d13a64d2456 Author: Nick-OpusVL <Nick-OpusVL@users.noreply.github.com> Date: Tue Mar 29 11:17:53 2016 +0100 [FIX] doc: 'Searching' instead of 'Research' The word 'Research' isn't usually used in this context. 'Searching' is better. Closes #11517 commit 80db184616580201b1ad6110afc33014aaa14b78 Author: Florian Kisser <florian.kisser@seekda.com> Date: Thu Jun 16 18:01:35 2016 +0200 [CLA] Corporate signature for Seekda GmbH Closes #12463 commit eeb53881dc9b7c5aaf81687437c59c8f11174715 Author: William Moreno <williamjmorenor@gmail.com> Date: Thu Jun 16 15:23:49 2016 -0600 [CLA] signature for williamjmorenor Closes #12467 commit ae74ebb5ce74b9f62fe1f5222b82983780db2d47 Author: Denis Ledoux <dle@odoo.com> Date: Thu Jun 16 11:24:13 2016 +0200 [FIX] purchase: `related_usage` must be readonly The `related_usage` field of `purchase.order` is a related field to the location `usage` field, which is defined in order to display/hide some other field in the PO according to the location usage This is purely a technical field, which is set only to change the form view according to the location usage. This is not expected to change the location usage through this field, this field must therefore be set to readonly. A change on the location usage could happen because of the `onchange_picking_type_id`: If the user changed the picking type, and then the location, the usage returned by the `onchange_picking_type_id` was applied on the location, and this must not have happened. In addition, since `related_usage` is a related to the location usage, it should be changed as well when the location is changed. (in the new api, this is no longer required, the related field is updated automatically). This revision therefore adds an onchange on the location as well, to handle this. opw-676428 commit 606eab8ef8d904aed9c83f9cb5b61e237b13b586 Author: Stefan Rijnhart <stefan@opener.am> Date: Mon Jun 13 19:37:36 2016 +0200 [FIX] product: make copy friendlier to overrides Do not force to use "<name> (copy)" when duplicating Closes #12397 commit baa4cc0e971919cf950ba696683910cc337749b4 Author: Simon Leblanc <contact@leblanc-simon.eu> Date: Sun Apr 24 20:13:53 2016 +0200 Backport of ec005af5 to 8.0 [FIX] anonymization: default anonymization fields res_partner.name was twice : remove one res_users.name doesn't exist (now, it use the partner name) : remove remove training.* fields that do not exists Closes #11806 commit 7db7b2dd6a4717115bd5d28fad063fd80e306a09 Author: Simon Leblanc <contact@leblanc-simon.eu> Date: Sun Apr 24 19:54:09 2016 +0200 Backport of 45483b96 to 8.0 [FIX] anonymization: allow anonymization on HTML fields Was missing in the (old) list of fields commit dedbcce762515a421dc752f9f88ec3440d464e19 Author: Simon Leblanc <contact@leblanc-simon.eu> Date: Sun Apr 24 19:44:47 2016 +0200 Backport of 42aa79d6 to 8.0 [CLA] Sign CLA of leblanc-simon Done at #11806 commit de78b1b3da84614cea6ebbad678519a425ee933b Author: Martin Trigaux <mat@odoo.com> Date: Mon Jun 13 14:30:29 2016 +0200 [FIX] http: force removing the debug in redirection In case of local_redirect with * forward_debug=False * qwery={'debug': True} the debug mode should be removed. cf discusion on #12107 and dd4980b0 commit 6817c48a8b34b309c09c16784fbba6bd0d9e23d5 Author: Nicolas Martinelli <nim@odoo.com> Date: Mon Jun 13 14:08:26 2016 +0200 [FIX] website_sale: check email address Partial backport of ef19830. The error message cannot be included for compatibility reason, but the browser will highlight the field in red, which should be enough to locate the error. opw-677121 commit d43d1ddf4b038ca0500770793b9153f82d1aa257 Author: Jordan Vrtanoski <jordan.vrtanoski@gmail.com> Date: Sun Jun 12 16:42:05 2016 +0400 [FIX] hr_payroll: do not unlink records in onchange method Fixing the error ValueError: "name 'date_from' is not defined" while evaluating '[date_from, date_to, employee_id, contract_id]' This commit close #12383, close #8883, close #3116 commit 2219c83aac95e1527edf3809f683570c2ab72e66 Author: Jordan Vrtanoski <jordan.vrtanoski@gmail.com> Date: Sat May 7 15:38:07 2016 +0400 [CLA] add jordanvrtanoski.md commit 3215a81bab2dbb66e823c9ce3435d9a86377ba66 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Jun 12 03:06:37 2016 +0200 [I18N] Update translation terms from Transifex commit dd4980b0a85873962a57836a431af1718676ffc9 Author: Martin Trigaux <mat@odoo.com> Date: Fri Jun 10 16:36:35 2016 +0200 [FIX] http: keep debug mode in rediction The parameter forward_debug is used to keep the debug mode during redirection. Previous code was setting the debug to None which is ignored by werkzeug, making the option useless. Closes #12107 commit 26b3501ca99fbf6670fc040b10951a89ae2bd7d2 Author: Nicolas Martinelli <nim@odoo.com> Date: Fri Jun 10 11:19:47 2016 +0200 [FIX] l10n_fr_hr_payroll: use `child_of` Previous commit 8f7129216 searches recursively for children of a rule category. Use `child_of` instead which is way more efficient. opw-673222 commit 8f712921628f0d310c165010b9933800f0a68fa3 Author: Nicolas Martinelli <nim@odoo.com> Date: Thu Jun 9 12:52:22 2016 +0200 [FIX] l10n_fr_hr_payroll: children categories When a rule category has children, the total of the category should include the total of the children categories. opw-673222 commit 35536b72068b46b772ec79481fb33b55db86e8fc Author: Shelton Freddy <sheltonfreddy141@gmail.com> Date: Wed Jun 8 12:23:23 2016 +0530 [FIX] purchase: do not allow creation on purchase.order.line To match the behaviour on sale.order.line. Purchase line form is expected to be open in popup (where parent is defined), not individually when creating a line alone is not useful. Fixes #6644 Closes #12325 commit 34eecbf4beab6f3e0e3c7d25f227b42bdfcaf63d Author: Shelton Freddy <sheltonfreddy141@gmail.com> Date: Thu Jun 9 13:21:28 2016 +0200 [CLA] signature for sheltonfreddy141 Closes #12326 commit 6d7cb5408e556cb568074e7cc418688cdc68a680 Author: Peter Hahn <peter.hahn@initos.com> Date: Wed Jun 8 14:53:14 2016 +0200 [FIX] sale,procurement: use super instead of direct call Otherwise inheritance is not properly propagated Closes #12337 commit 529c2447b8731013f5501d5363e2fbad4f470dc3 Author: Patrik Lermon <patrik.lermon@gmail.com> Date: Thu Jun 9 10:22:58 2016 +0200 [CLA] individual signautre for Patrik Lermon (kler) Closes #12347 commit e3e5cfe82c43d9701858bd643e02df390f5f6f66 Author: Pedro M. Baeza <pedro.baeza@gmail.com> Date: Tue Feb 23 10:01:51 2016 +0100 [IMP] l10n_es: Added a new tax "IVA soportado no sujeto" commit 730890f3696e8117eec429bc302e5b67bee69fa0 Author: Pedro M. Baeza <pedro.baeza@gmail.com> Date: Tue Sep 8 15:52:51 2015 +0200 [IMP] l10n_es: New taxes, taxes codes and fiscal positions according law changes * v5.2: Añadida retención 19,5% arrendamientos. * v5.1: Renombrado todo lo relacionado con arrendamientos para no incluir la palabra "IRPF", ya que no es como tal IRPF. * v5.0: Se ha rehecho toda la parte de impuestos para dar mayor facilidad de consulta de los datos para las declaraciones de la AEAT y para cubrir todas las casuísticas fiscales españolas actuales. Éstas son las características más destacadas: * Desdoblamiento de los impuestos principales para bienes y para servicios. * Nuevo árbol de códigos de impuestos orientado a cada modelo de la AEAT. * Nuevos códigos para los códigos de impuestos para facilitar su actualización. * La casilla del modelo viene ahora en la descripción, no en el código. * Posiciones fiscales ajustadas para el desdoblamiento. * Nuevo impuesto y posición fiscal para retención IRPF 19%. * Nuevo impuesto para revendedores con recargo de equivalencia. * Nuevas posiciones fiscales para retenciones de arrendamientos. * Pequeños ajustes en cuentas contables. Closes #8453 commit d0d3ba921d0d20fb9ea3e7053eb70d94b61f1892 Author: Goffin Simon <sig@odoo.com> Date: Wed Jun 8 10:08:27 2016 +0200 [FIX] website_quote: delay in SO line When creating an SO line with a quotation template, the customer lead time must be set. opw:678039 commit f307e36e66c53f89eee1ac0dfdd691518abacc91 Author: Martin Trigaux <mat@odoo.com> Date: Wed Jun 8 10:57:21 2016 +0200 [FIX] base_import: disable tracking during validation Force the value tracking_disable to be make sure that the validation (which is supposed to have no impact), will not send any email. Fixes #3173 commit fe99c51703c3a1aaa4cb5cfd88c45525b6330c3f Author: Joren Van Onder <jov@odoo.com> Date: Tue Jun 7 14:22:05 2016 +0200 [IMP] hw_scanner: support multiple simultaneously attached devices The hw_scanner module not only supports barcode readers (although that was it's original intention). It also happens to support certain card readers (like the MagTek Dynamag we use for Mercury) because they act the same way as barcode scanners (like a keyboard and end sequence with ENTER). Before we supported Mercury there was no real reason to support multiple devices on the POSBox, because it didn't make much sense to attach >1 barcode reader to the same POSBox. With Mercury however, this is a real use case, as users want both a barcode reader and a card reader. This commit implements support for this, while keeping the functionality as close as possible to how it was before (eg. care was taken to not break plug and play support). commit 6140300da011d9eb4196b780b011bbc87fe8cae0 Author: Nicolas Martinelli <nim@odoo.com> Date: Tue Jun 7 10:48:33 2016 +0200 [FIX] account_analytic_analysis: fpos of invoices When an invoice is created automatically thanks to the cron task, the superuser is used. However, this implies that the company of the superuser will be used for the account invoice creation, leading to potentially incorrect taxes and fiscal positions. opw-669714 commit ff3a0b12c615934b8eea56522e886d1e4e478be3 Author: Martin Trigaux <mat@odoo.com> Date: Tue Jun 7 12:12:41 2016 +0200 [FIX] hr_evaluation: badly rendered form The date was positioned inside the h1 and was badly rendered (field too small) Fixes #2476 commit b9a006c1c02a06cf3cd34828860125e6d6aa3fb4 Author: Denis Ledoux <dle@odoo.com> Date: Mon Jun 6 13:05:19 2016 +0200 [FIX] account: Exchange test failing on Jun 6 The test `test_balanced_exchanges_gain_loss` failed on Jun 6, because it created a specific rate for today's date at midnight (e.g. on Jun 6, 201x-06-06 00:00:00) for the test purpose, but a rate is created in the demo data for Jun 6 midnight exactly: `base.rateUSDbis`, making the test confused about which rate to use. We solve this by making the test use the rate `base.rateUSDbis`, modifying the rate for its own need, instead of creating a new rate. commit 950fd97d06a84c3deea33ffdaf58ca9dd5cc00f6 Author: Denis Ledoux <dle@odoo.com> Date: Mon Jun 6 11:42:30 2016 +0200 [FIX] fields: translations of the help of inherited fields This is similar to revision 54140331f3c38acaad15c401f118c8fabbdb7bc7 opw-673716 commit eb48b94ceae0b3fccb35ab68b9f4164b06090a65 Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun Jun 5 03:01:35 2016 +0200 [I18N] Update translation terms from Transifex commit 2779d463e80eaf903e789c29991a1faef8d07445 Author: Adrien Peiffer (ACSONE) <adrien.peiffer@acsone.eu> Date: Thu Jun 2 17:33:21 2016 +0200 [FIX] l10n_lu: Change the sign for VP-IC-EX. Was PR #12041 commit 30f06fd39e856a97c5aed7cff461e1bb207232bc Author: Martin Trigaux <mat@odoo.com> Date: Thu Jun 2 16:02:48 2016 +0200 [FIX] website_forum: convert content of posted comment to plaintext HTML content should be escaped before being sanitized. Any content (link, image, code,...) that is acceptable in usual mail.message but should not be interprated when posted on a comment of the forum. Fixes #3737 commit c751c129da8762c8f7b4ed599db9479d40a77f6e Author: Denis Ledoux <dle@odoo.com> Date: Thu Jun 2 16:52:27 2016 +0200 [FIX] website_sale: `State` select readonly in shipping info If we take the below facts: - The country select is set as disabled when Shipping is set to "Ship to the same address" - The disable property of select inputs is removed when shipping is set to `create a new address`: In `website_sale.js`: ``` $selects.attr("disabled", value <= 0 ? null : "disabled" ).prop("disabled", value <= 0 ? null : "disabled" ); ``` We can safely assume that the select input "State / Province" was supposed to be set as `disabled` in the first place, not as `readonly` Before this revision, State / Provice was greyed when choosing "Create a new address" for shipping, and selecting the United States (but the select input was still usable, though, it was just greyed) opw-675739 commit bde083a5f91a659430b1227f240872f912f23c12 Merge: 57e5d70 0ae392c Author: Christophe Simonis <chs@odoo.com> Date: Thu Jun 2 12:42:34 2016 +0200 [MERGE] forward port of branch 7.0 up to 0ae392c commit 57e5d703c2992c746e2a33e9a3e9e803e6789f32 Author: Jairo Llopis <yajo.sk8@gmail.com> Date: Thu Jun 2 10:14:54 2016 +0200 [FIX] mass_mailing: filter emails to avoid duplicates When subscribing a user to a mailing list, the `mail.mass_mailing.contact` created is processed to identify it's name and email from the address (method `get_name_email` called in `add_to_list` and `name_create`). For a better consistency, the search of existing contacts should also be done using the method `get_name_email`. This avoids that subscribing twice `Example <example@example.com>` fails to detect duplicates and creates two subscriptions. Closes #12265 commit b49818e1ee03205cbef1cc70c21c424ca1a9b436 Author: Jeremy Kersten <jke@odoo.com> Date: Wed Jun 1 09:49:18 2016 +0200 [FIX] website_sale: add color value on attributes xml template was using color name, because color index was empty. It works in English, but once translated (in french e.g.) we have background-color:noir Fix #12251 commit 0ae392c9e383bab5c0a8503d69b76a6ac71856c5 Author: Odoo Translation Bot <c3p@odoo.com> Date: Wed Jun 1 00:27:50 2016 +0200 [I18N] Update translation terms from Transifex commit d73648fe0dc1f571d08b76d8d6f7780dd20ed811 Author: Ronald Portier (Therp BV) <ronald@therp.nl> Date: Fri May 27 15:04:20 2016 +0200 [FIX] crm,gamification: flexible reference to field The field generation is most of the time following the pattern `field_<table name>_<field name>` but in case of name clash (e.g. res.partner.category - id and res.partner - category_id), the id of ir.model.field is added at the end of the external id during the field creation. The more flexible way to link to an ir.model.field is to use the syntax `search=[('model', '=', <model>), ('name', '=', <field name>)]` to avoid errors as in #12192 when the "first" external id no longer exists. Fixes #12192 Closes #12198 commit 63ca2d1b9ffa1cacf4e8e4fefc24b404ac49fb57 Author: Nicolas Martinelli <nim@odoo.com> Date: Mon May 30 11:24:10 2016 +0200 [FIX] purchase: wrong call to super opw-675480 commit 89d44e9c8a9a78df3b0274bed45c455bf37c0266 Author: aetna-softwares <aetna.softwares@gmail.com> Date: Mon May 30 09:40:37 2016 +0200 [CLA] Corporate signature for Aetna Softwares Closes #12214 commit cd3f52ba1064000483f1a4cd781cf576767b4e01 Author: Olivier Dony <odo@openerp.com> Date: Fri May 27 11:38:20 2016 +0200 [FIX] account,*: preserve deactivated taxes By default, when reading a m2m field, entries that are deactivated in the destination table are not included. This behavior is desirable in some cases (e.g. for "tags" or "categories", but not for entries that significantly impact other field values in the parent record, such as taxes. The problem is rather obvious: when displaying a paid invoice that used taxes that are now deactivated, the taxes are hidden while they still affect the computed amount. And after cancelling + resetting to draft, the tax is not taken into account anymore, while still being linked. Forcing the field-level (python) domain to include both active and inactive entries solves the problem: - when reading, displaying and recomputing values, deactivated taxes will be included. - when trying to pick a tax, deactivated entries will still be ignored, as expected. This commit applies the technique to all m2m fields that refer to taxes. Fixes #12066 opw-677751 commit 270b2d0a784cccacfd72ceaea9f9aefadd995bc5 Author: David Arnold <dar@devco.co> Date: Wed Apr 20 05:28:27 2016 -0500 [CLA] corporate signature for DevCo Colombia Closes #11755 commit c0385354460cb655c0ef9e00506027e16c0aea48 Author: Ronald Portier (Therp BV) <ronald@therp.nl> Date: Fri May 27 17:45:52 2016 +0200 [CLA] Update Therp BV's signature To have consistent email in author and signer key. Also update list of contributors as Stefan is no longer working for Therp BV. Closes #12202 commit cb70a8ff98c4afed6b10b6f880fabf16da45c91f Author: Odoo Translation Bot <c3p@odoo.com> Date: Sun May 29 02:58:42 2016 +0200 [I18N] Update translation terms from Transifex commit 0413a4ab083e8e1e1b7d4e616c2de89edcfd12e4 Author: Jeremy Kersten <jke@odoo.com> Date: Fri May 27 17:05:38 2016 +0200 [FIX] sale: avoid division by zero in _get_price_reduce close #11999 commit deef119d725de620a0bcaf3d5b0e028ab2a577b9 Author: Kinner Vachhani <kinner.vachhani@credativ.co.uk> Date: Fri Jan 29 15:36:51 2016 +0000 [FIX] account: substitution in aged partner report 'foo %s bar' % 'alice' if False else 'bob' returns 'bob', not 'foo bob bar' The previous strings returns '>=' when the direction is future while it should be 'COALESCE(l.date_maturity,l.date) >= %s' Fixes #10654 Closes #10695 commit ff38b370a1e95defc67952d44b0ed09da8e56fba Author: Nicolas Martinelli <nim@odoo.com> Date: Fri May 27 12:11:41 2016 +0200 [FIX] payment_ogone: missing key The key 'PAYIDSUB' should be added in the list of SHA-OUT keys., otherwise the signature is wrong. opw-678718 commit 2164383fe49a5bc7e9b9469eb8bc79afdde3681a Author: Jeremy Kersten <jke@odoo.com> Date: Fri May 27 11:07:39 2016 +0200 [FIX] website_sale: allow to override product order on shop Close #11202 commit 49b1742477f6e5578d80fb2b49649ae1b3108750 Author: Joren Van Onder <jov@odoo.com> Date: Fri May 27 09:39:02 2016 +0200 [FIX] point_of_sale: respect user timezone for all data in Sale Details 9f0120d73bbbc364d8ec04b0e3ad63c75086ba52 solved this issue already, but it was only applied to POS orderlines. There is other data on the report (eg. payments, taxes, ...) that should also correctly respect the user time zone as well. opw-678748 commit 66221968b8024f589d361ead74312a24ae02cd99 Author: Martin Trigaux <mat@odoo.com> Date: Thu May 26 11:44:00 2016 +0200 [FIX] crm_partner_assign: minimum access rights to employee Give the same as access rights to the employee as for the public user. This patch is needed to allow a user to access the partner form. Same for portal. The list of grades in not a confidential information. Fixes #7719 commit dbdc8e1ceffc11d80dc336ef471eecffdadd5b02 Author: Ondřej Kuzník <ondrej.kuznik@credativ.co.uk> Date: Mon Aug 18 13:35:58 2014 +0100 [FIX] server: Do not listen when --no-xmlrpc is set This is a fix for f04f409943b8bd8f4bd2653e368523d1cc0d8246, which only prevented the workers from being spawned in Prefork mode, while the socket was still being bound to - this is a problem when starting a worker-only server as it cannot coexist with the XMLRPC server on the same machine. Closes #1828 commit 9c28b6fbfa9344f6cd4a1765ef5d2979cc967957 Author: 65HQqp5QTq8QwA3f <65HQqp5QTq8QwA3f@users.noreply.github.com> Date: Tue Nov 10 10:55:42 2015 -0800 [FIX] sale: propagate context Closes #9521 commit 6c129e99546497b33a3150d6e01647c1dccb4585 Author: rocksolidsolutions <rocksolidsolutions@users.noreply.github.com> Date: Wed May 25 08:57:33 2016 -0700 [CLA] Rock Solid Solutions signs corporate CLA. Closes #12182 commit 37bbe87d5792c879130e5f1e491f743cbc50dc1e Author: Martin Trigaux <mat@odoo.com> Date: Thu May 26 08:33:20 2016 +0200 [INP] gamification: skip check for not required fields Could get a definition with a model only commit a4687c6e42a7b0ec6b8d98dc2af7fe2d1c3272d0 Author: Martin Trigaux <mat@odoo.com> Date: Thu May 26 08:29:39 2016 +0200 [FIX] gamification: bad backport to 8.0 UserError was defined in version 9, not 8 commit 9772bbef07e2f13a85faf7f6dc737d7c8be8119c Author: Jeremy Kersten <jke@odoo.com> Date: Wed May 25 23:38:28 2016 +0200 [FIX] web: fix backport #4c7a9bd commit 4176030cd3f0ab8895beb7a6634d57a145e44167 Author: Denis Ledoux <dle@odoo.com> Date: Wed May 25 18:07:05 2016 +0200 [FIX] calandar: all day events email notification When sending a notification email to an event attendee for an all day event, the timezone must be ignored as the `start` and `stop` datetime are stored as the day date + '00:00:00'. If the timezone is applied, for users being in a negative timezone (such as an American timezone), the day displayed would be the day just before. opw-677019 commit 4c7a9bdac4850674c47253bde432d020953e66de Author: Goffin Simon <sig@odoo.com> Date: Wed May 25 14:54:00 2016 +0200 [FIX] web: raise a warning for bad domain When a user wrote a wrong value in char_domain field it should raise a warning message instead of a traceback. Backport of b3a88b6ed846a13c0cd07cc25ea49bccbdf84aa8 opw:676783 commit 97492a12a9f0975b80ebd43422aeebfb315dacb2 Author: Martin Trigaux <mat@odoo.com> Date: Wed May 25 12:34:20 2016 +0200 [IMP] gamification: prevent misconfiguration Prevent selecting wrong field o…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the issue/feature this PR addresses: CLA needs to be updated as my primary email address / author email address changed to be the same as in my commit signer key.
Current behavior before PR: Odoo will maybe not accept my PR' s.
Desired behavior after PR is merged: Odoo will accept my PR's, although probably not all of them.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Also update list of contributors as Stefan is no longer working for Therp BV.