Skip to content
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

8.0 fix qty search perf #1

Open
wants to merge 148 commits into
base: 8.0
Choose a base branch
from
Open

8.0 fix qty search perf #1

wants to merge 148 commits into from

Commits on Aug 29, 2016

  1. Configuration menu
    Copy the full SHA
    671fa0c View commit details
    Browse the repository at this point in the history
  2. [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 4dce861
    JKE-be authored and nle-odoo committed Aug 29, 2016
    Configuration menu
    Copy the full SHA
    f1a3318 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2460019 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2016

  1. Configuration menu
    Copy the full SHA
    aac9adc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78eb9e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf0706b View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2016

  1. [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
    nim-odoo committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    7b93e1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    126094c View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2016

  1. Merge pull request odoo#539 from NL66278/8.0-issue-538-odoo-compatibi…

    …lity
    
    [FIX] Fix issue odoo#538. Compatibility with Odoo _get_invoice_vals.
    StefanRijnhart authored Sep 1, 2016
    Configuration menu
    Copy the full SHA
    11d3257 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2016

  1. [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.
    nim-odoo committed Sep 2, 2016
    Configuration menu
    Copy the full SHA
    2559b2c View commit details
    Browse the repository at this point in the history
  2. [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 odoo#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)
    qdp-odoo committed Sep 2, 2016
    Configuration menu
    Copy the full SHA
    7bdd4de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    378d777 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2016

  1. Configuration menu
    Copy the full SHA
    75a1969 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79535af View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2016

  1. [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.
    rgo-odoo authored and tde-banana-odoo committed Sep 6, 2016
    Configuration menu
    Copy the full SHA
    b226510 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52a5f4a View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2016

  1. [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 odoo#13078
    odony committed Sep 9, 2016
    Configuration menu
    Copy the full SHA
    b17b2a2 View commit details
    Browse the repository at this point in the history
  2. [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 <[email protected]>.
    
    See opw-687914 for original PDF signature.
    odony committed Sep 9, 2016
    Configuration menu
    Copy the full SHA
    0feaeb7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28e1fc6 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2016

  1. Configuration menu
    Copy the full SHA
    40691d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3372a67 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2016

  1. [FIX] payment_paypal: accept GET requests for Paypal DPN

    Although we have been reluctant to perform this change, a specific
    use case can cause customers to be redirect to the Odoo DPN url
    with a GET request.
    
    This happens when a Paypal Merchant account has the feature Guest
    Checkout active; in that case, a customer can pay without having
    a Paypal account (using only his credit card) and will *not* be
    subjected to auto-return; as detailed here:
    https://www.sandbox.paypal.com/be/cgi-bin/webscr?cmd=p/pop/help-account-optional
    Request coming from that payment flow will always trigger a GET
    request, causing the customer to be welcomed by a
    405 - Method Not allowed
    error on the Odoo server. The payment is normally correctly processed
    through IPN, so this does not normally causes loss of data; however
    this is not a nice way to welcome back your customer right after
    they pay you.
    bouvyd committed Sep 12, 2016
    Configuration menu
    Copy the full SHA
    3e4206b View commit details
    Browse the repository at this point in the history
  2. [FIX] Make statusbar_colors tolerant of single quotes.

    Solves issue odoo#12909 reported on Odoo - although problem only occurs in OCA code.
    
    Json properties must be enclosed in double quotes. View xml is more tolerant. With this code
    there will be no unneeded restriction on the xml definition of statusbar_colors, and we prevent
    difficult to debug errors.
    NL66278 committed Sep 12, 2016
    Configuration menu
    Copy the full SHA
    ac85191 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c24b19 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2016

  1. [FIX] web: keep m2m value in list view

    Currently, when rendering a list view cell with a many2many we would
    empty the list of ids, and fill it again once a name_get is resolved.
    
    But in some instance, the code could use the data when it has been
    emptied out.
    
    For example, if we set the tax_id field (inside the order_line list view
    inside the sale.order form view) as requred, if we modify the order line
    and save directly (without clicking outside of the list view) we can get
    an incorrect error saying that the "Order Line" is not valid.
    
    It has been reproduced when saving with CTRL + SHIFT + S on google
    chrome and firefox, and there have been reports that for some
    configuration it also happen when clicking on the "Save" button.
    
    This commit change the behaviour so the value is kept whilst the name_get
    is ongoing, and just use a default "false" value for the name during this
    interval.
    
    closes odoo#13478
    opw-668067
    nle-odoo committed Sep 14, 2016
    Configuration menu
    Copy the full SHA
    1da79b8 View commit details
    Browse the repository at this point in the history
  2. FIX When creating a contact in the "Contact" tab of a company partner…

    …, the lang of the company is now transfered to the contact
    alexis-via committed Sep 14, 2016
    Configuration menu
    Copy the full SHA
    3983d7d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19bc184 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2016

  1. Configuration menu
    Copy the full SHA
    9874892 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c78ba1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0caea70 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2016

  1. Configuration menu
    Copy the full SHA
    6a1ecef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    523c109 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2016

  1. [FIX] web_graph: force row title to be string

    If the title was 'true' or 'false', the export failed, because we are tying to
    concat bool and str. TypeError: cannot concatenate 'str' and 'bool' objects
    
    How to reproduce, install sale, be sure to have one order with delivered = True
    In Reporting / Sale analysis, add a group by 'shipped' filed to have 'true' as
    title.
    
    This commit closes issue odoo#13425
    JKE-be committed Sep 21, 2016
    Configuration menu
    Copy the full SHA
    8b41933 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b590b97 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2016

  1. [FIX] website_blog: blog pager page issue

    When we are on the page:
    
     /blog/myblog-1/page/2
    
    the link to page 3 is:
    
     /blog/myblog-1/page/3
    
    So we need to give /blog/our-blog-1 as source url of pager.
    
    Previously in this instance, since 4faed0b the page 3 url
    in this scenario would erroneously be:
    
     /blog/myblog-1/page/2/page/3
    
    opw-688681
    nle-odoo committed Sep 22, 2016
    Configuration menu
    Copy the full SHA
    e083d72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e7c7a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f53f849 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2016

  1. Configuration menu
    Copy the full SHA
    6baef31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bee6ea4 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2016

  1. [FIX] l10n_de: set reconciled to False for accounts of type liquidity… (

    odoo#13520)
    
    Courtesy of Cesar Lage. Thanks for the contribution
    kaerdsar authored and qdp-odoo committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    4ab34d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35ef1d5 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2016

  1. [FIX] auth_ldap: fix authentication with special chars

    encode the filter in utf-8
    
    This prevents a UnicodeDecode error in python-ldap when the
    filter contains non ascii characters.
    
    opw-682783
    closes odoo#10899
    closes odoo#12710
    gurneyalex authored and beledouxdenis committed Sep 28, 2016
    Configuration menu
    Copy the full SHA
    94f58d6 View commit details
    Browse the repository at this point in the history
  2. [FIX] tools: cherry-pick of 0529a7f

    extract terms in correct folder
    
    If two addons path have a common part in the folder name (e.g. `/home/alice/dev`
    and `/home/alice/devodoo`), the `get_module_from_path` method may match the
    wrong folder.
    A file `/home/alice/devodoo/bob/models.py` would wrongly match `/home/alice/dev`
    path (due to the lack of separator) and the returned module would be `odoo`
    (`"odoo/bob/models.py".split('/')[0]`).
    
    In such scenario, the translations of files (code, static folder, report) would
    not be included in the exported translation file.
    
    Force the module path to ends with a folder separator to avoid wrong matching.
    
    Closes odoo#13363
    yajo authored and mart-e committed Sep 28, 2016
    Configuration menu
    Copy the full SHA
    295f627 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    754e029 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2016

  1. [FIX] mail: Ignore case for mail aliases.

    When receiving new mail (not replies) to an alias we should not take
    case into account.
    
    This also homogenize the treatment of local parts.  For instance, lines
    967 and 980 convert the local part to lower case to avoid
    case-sensitivity issues.
    
    Also `mail_alias` normalizes alias names by lowering case and finding,
    if necessary to make it unique, a suffix to alias name provided.
    
    From RFC 5321, section 2.4:
    
      > Exploiting the case sensitivity of mailbox local-parts impedes
      > interoperability and is discouraged
    
    Closes odoo#334
    Closes odoo#13037
    mvaled authored and JKE-be committed Sep 30, 2016
    Configuration menu
    Copy the full SHA
    5b692df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1bad602 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2016

  1. Configuration menu
    Copy the full SHA
    ca18a16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d561a90 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2016

  1. Merge pull request odoo#544 from akretion/8.0-fix-lang-partner-ocb

    8.0 FIX default lang of contact should the lang of the parent contact
    pedrobaeza authored Oct 3, 2016
    Configuration menu
    Copy the full SHA
    02c0017 View commit details
    Browse the repository at this point in the history
  2. [FIX] base_import_module, tools: raise a clear error for unsupported …

    …file types
    
    Also restrict XML data attribute evaluation context
    even for real module data files. This will prevent
    accidentally depending on context parameters that
    would not be available inside base_import_module.
    odony committed Oct 3, 2016
    Configuration menu
    Copy the full SHA
    12634e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba7880a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3d55aff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae362ec View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2016

  1. [FIX] purchase_double_validation: from waiting approval to cancel

    It wasn't possible to cancel a purchase order
    within the state "Waiting for Approval", despite
    the fact the button cancel is displayed.
    
    Clicking on the cancel button just did nothing.
    
    This is now properly working, thanks to the additional
    path added by this revision, between the workflow states
    `CheckForApproval` and `cancel`.
    
    opw-688685
    beledouxdenis committed Oct 6, 2016
    Configuration menu
    Copy the full SHA
    964f42f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5622b08 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2016

  1. Configuration menu
    Copy the full SHA
    d3c4ab2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d9d12d View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2016

  1. [FIX] account: check exchange rate

    An issue occurs in the following situation:
    - Define a currency exchange rate at day 1 and day 2
    - Create an invoice at day 1, and calculate the taxes. Do not set an
      invoice date!
    - Validate the invoice at day 2
    
    The exchange rate for taxes is the rate at day 1, while the exchange
    rate for other amounts is the rate at day 2.
    
    There is actually no way to know what was the rate applied for the
    taxes at invoice validation. There are two solutions:
    - recompute the taxes at validation
    - force the user to set an invoice date and recompute manually the
      taxes
    
    The first solution might have unexpected effects, therefore the second
    solution is applied.
    
    Fixes odoo#13473
    opw-688517
    nim-odoo committed Oct 10, 2016
    Configuration menu
    Copy the full SHA
    a1d6c2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec32744 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2016

  1. [FIX] fields: add group_operator to be availble in get_description.

    Web client use fields_get (which one call get_description) to know if
    a group operator exists. But until now, group_operator are never returned.
    
    Without it, the web client cannot display the sub-total except for sum
    (the fallback in the web client).
    
    This commit closes odoo#13713
    
    Todo: do the same on Class Monetary in next branch
    JKE-be committed Oct 11, 2016
    Configuration menu
    Copy the full SHA
    4ca06e0 View commit details
    Browse the repository at this point in the history
  2. [FIX] web,crm: view_list respect group operator defined in the view.

    Remove useless avg defined on crm view.
    
    If you define avg='Average Values' in a view, now we see in the footer of list view the average.
    JKE-be committed Oct 11, 2016
    Configuration menu
    Copy the full SHA
    633780a View commit details
    Browse the repository at this point in the history
  3. [FIX] fields: make [(5,)] with computed domain work (odoo#13480)

    * Failing test for one2many [(5,)] action, when domain is callable.
    
    The problem is that `self` inside a callable domain becomes the comodel when at [(5,)].
    
    * [FIX][fields] Make [(5,)] with computed domain work.
    
    To reproduce this failure, declare a field like:
    
    ```
    child_ids = fields.One2many(
        comodel_name="other.model",
        domain=lambda self: [("id", "in", self._ids_to_find())],
    )
    ```
    
    Now set some value to it.
    
    Now unset them. Impossible because ``self`` becomes ``other.model`` in domain evaluation.
    yajo authored and rco-odoo committed Oct 11, 2016
    Configuration menu
    Copy the full SHA
    dd312e0 View commit details
    Browse the repository at this point in the history
  4. [FIX] website_livechat: make it auto-install

    Most people install the im_livechat module and expect it
    to be enabled automatically on their website.
    When it doesn't work they try to use the integration JS
    code and add it to their website layout, which does not
    work as expected.
    
    Setting it as auto-installed solves the issue.
    odony committed Oct 11, 2016
    Configuration menu
    Copy the full SHA
    789566a View commit details
    Browse the repository at this point in the history
  5. [FIX] tools/config: avoid sharing init/demo config

    Theses config options should not share the same dict as `init` dict
    may be modified by migration scripts to handle new module dependencies.
    KangOl committed Oct 11, 2016
    Configuration menu
    Copy the full SHA
    ecb6055 View commit details
    Browse the repository at this point in the history
  6. [FIX] email_template: encode date/datetime format

    See more details here: odoo/odoo@6191e3f
    
    This commit closes odoo#13704
    JKE-be committed Oct 11, 2016
    Configuration menu
    Copy the full SHA
    f4aae1c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f5466e4 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2016

  1. [FIX] context mutations (odoo#10368)

    when extending these methods with the new api, the context is a frozendict
    so we need to copy before mutating.
    
    this patch was made by searching for key addition to context and calls to the
    update() method on the 8.0 addons, and checking if a copy was made before in
    the method.
    gurneyalex authored and rco-odoo committed Oct 12, 2016
    Configuration menu
    Copy the full SHA
    65c685a View commit details
    Browse the repository at this point in the history
  2. [FIX] models: in method read_group(), allow orderby='id desc'

    When orderby argument is 'id desc', an error occurs: "read_group order by 'id'
    ignored, cannot sort on empty..."
    vnsofthe authored and rco-odoo committed Oct 12, 2016
    Configuration menu
    Copy the full SHA
    16430be View commit details
    Browse the repository at this point in the history
  3. Merge pull request odoo#524 from NL66278/8.0-issue-12909-statusbar_co…

    …lors
    
    [FIX] Make statusbar_colors tolerant of single quotes.
    yvaucher authored Oct 12, 2016
    Configuration menu
    Copy the full SHA
    a582ee9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d3609f7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    44c687e View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2016

  1. [FIX] api: in todo list, group records to recompute by environment (o…

    …doo#11267)
    
    The effect of this change is to trigger the recomputation of fields on larger
    recordsets.  This takes advantage of batch computations within compute methods.
    rmoehn authored and rco-odoo committed Oct 13, 2016
    Configuration menu
    Copy the full SHA
    cb581bc View commit details
    Browse the repository at this point in the history
  2. [FIX] Consider currency rate to compute total amount in expense analysis

    Like in Invoices Analysis, the expenses must be expressed in the currency
    of the company. In this way, it makes sens to sum them to compute the total.
    
    opw:689760
    adrienpeiffer authored and simongoffin committed Oct 13, 2016
    Configuration menu
    Copy the full SHA
    d81258a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    21464ee View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2016

  1. [FIX] stock: adjustement inventory, check options activated in res co…

    …nfig
    
    Before this commit, the inventory by lot/pack/serial/... was only visible
    if you switch quickly between res_config and adjustment inventory... once
    the vaccumn clean the osv memory, the options was ignored.
    
    Same issue with the _get_string_qty_information function.
    JKE-be committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    33978d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9865819 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2016

  1. Configuration menu
    Copy the full SHA
    d1c81f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93d5ca3 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2016

  1. [FIX] anglo_saxon_dropshipping: fix accounting entries creating on an…

    …glo_saxon + real_time + dropship.
    
    This revert the fix made on 7bdd4de and replace it with a proper one that do create an account entry from stock_input to stock_output on a dropship move. That way, we avoid the manual change of account on supplier invoice. See the whole discussion on odoo#12687
    qdp-odoo committed Oct 17, 2016
    Configuration menu
    Copy the full SHA
    001610e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85b34f4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51717dd View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2016

  1. [FIX] resource: prevent error when deleting resource.calendar records

    Attendance entries should be cascade-deleted along with the parent
    record.
    
    Closes odoo#10310
    Closes odoo#13044
    bealdav authored and odony committed Oct 21, 2016
    Configuration menu
    Copy the full SHA
    e773c1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5360e9b View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2016

  1. Configuration menu
    Copy the full SHA
    8f484fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b986219 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2016

  1. [FIX] web: repair length field in view list

    Underscore method _.each expects an array like object when a "length"
    property is present.
    
    This was an issue with a record having a numeric "length" field set to a
    non-negative value. When changing a line the change would not appear on
    blur.
    
    This issue was fixed with 0e664c9 but introduced back with f0e331e.
    
    opw-691070
    nle-odoo committed Oct 24, 2016
    Configuration menu
    Copy the full SHA
    5d17749 View commit details
    Browse the repository at this point in the history
  2. [REF] packaging: debian: depend on python-babel

    Before this patch, the debian package depends on `python-pybabel`.
    According to the documentation, this is a dummy package for transition
    from `python-pybabel` to `python-babel`[1].
    
    This dummy package has thus been removed in debian stretch in favor of
    `python-babel`, and the odoo package is thus not installable in debian
    stretch.
    
    To fix this, we depend directly on `python-babel`, which is available in
    all debian releases[2].
    
    Closes odoo#13905
    
    [1] https://packages.debian.org/jessie/python-pybabel
    [2] https://packages.debian.org/jessie/python-babel
    sle-odoo committed Oct 24, 2016
    Configuration menu
    Copy the full SHA
    097f46e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b382ce View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2016

  1. [IMP] Allow configuration of server_wide_modules from file

    Allow reading and saving the value of `server_wide_modules` from the
    configuration file, instead of just the command line.
    leorochael authored and KangOl committed Oct 25, 2016
    Configuration menu
    Copy the full SHA
    5ee4344 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45894e5 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2016

  1. [FIX] calendar: rule._bynweekday can be a set

    Depending on the version of dateutil, rule._bynweekday can either be
    a tuple or a set (see dateutil/dateutil#54), which,
    in the case of a set, breaks the access by index (see related issue:
    dateutil/dateutil#24).
    
    By casting it into a list, we make sure that we can access [0] in both case.
    
    Credits to jke ; closes opw-690761.
    mgeubelle committed Oct 28, 2016
    Configuration menu
    Copy the full SHA
    9f09c62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c39ca45 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d12bfd View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2016

  1. Configuration menu
    Copy the full SHA
    c340284 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0af3bf View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2016

  1. [FIX] account_voucher: Wrong reconciliation of customer payments

    Steps to reproduce :
    
    1. Create a new customer
    2. Create an invoice with an amount of 50.- for this new customer and validate it
    3. Create a refund with an amount of 70.- for the same customer and validate it
    4. Create a Customer Payment for this customer and validate it. The Invoice will be paid with 50.- of the refund. 20.- are still on residual in the refund.
    5. Create a new invoice with an amount of 50.- for the same customer.
    6. Create a new Customer Payment for the same Customer and validate it.
    
    The Full Reconcile Boolean stays checked inspite of "Open Balance" of Refund amount is less than the Invoice amount.
    
    After the fix:
    Full Reconciliation Boolean doesn't get checked and Allocation amount on invoice journal item line should be same
    as Open balance of the Refund Journal Item. So Invoice stays open with Balance amount.
    
    opw:691577
    simongoffin committed Oct 31, 2016
    Configuration menu
    Copy the full SHA
    d406314 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d59fd9 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2016

  1. Configuration menu
    Copy the full SHA
    86a9b78 View commit details
    Browse the repository at this point in the history
  2. [FIX] http: permit debug mode on CORS-enabled routes

    As of f814dd9, debug
    mode causes an extra X-Debug-Mode header to be sent
    by the rpc() JS method.
    
    This custom header was not whitelisted in the accepted
    CORS headers, therefore any cross-origin call to a route with
    `cors=True` would fail in debug mode, with a console error
    along those lines:
       "Request header field X-Debug-Mode is not allowed by
        Access-Control-Allow-Headers in preflight response"
    
    This would prevent loading the POS GUI in debug mode,
    for example.
    
    This commit is necessary in the 8.0 branch because
    the POSBox is currently based on a 8.0 server and may
    be accessed by a 9.0 POS or later, thus with the extra header.
    odony committed Nov 2, 2016
    Configuration menu
    Copy the full SHA
    f2158e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4a7dfff View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2016

  1. [FIX] account_asset: first depreciation amount

    When an asset is set as Prorata Temporis, with a one month period, the
    first depreciation amount is computed on the basis of the remaining days
    in the purchase year. This doesn't make sense for a monthly
    depreciation.
    
    This commit makes the distinction between a monthly and a yearly
    depreciation. In the case of a monthly depreciation, the remaining days
    in the purchase month are taken into account.
    
    opw-690034
    nim-odoo committed Nov 3, 2016
    Configuration menu
    Copy the full SHA
    2508786 View commit details
    Browse the repository at this point in the history
  2. [FIX] report_intrastat: Not allowed to delete record

    It's not allowed to delete record from the tree view of intrastat report.
    
    opw:692016
    simongoffin committed Nov 3, 2016
    Configuration menu
    Copy the full SHA
    e0ffc23 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6564e03 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2016

  1. Configuration menu
    Copy the full SHA
    369e0bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e4e623 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2016

  1. [FIX] account: tax line amount

    The company currency is USD, the invoice currency is EUR.
    - Create an invoice in EUR, set an invoice date
    - Compute the taxes (click on "update" button)
    - Change the exchange rate between EUR and USD
    - Validate the invoice
    
    At validation, the tax amounts are not recomputed. Therefore, they are
    still converted in the company currency using the old rate.
    
    Closes odoo#14024
    opw-692430
    nim-odoo committed Nov 7, 2016
    Configuration menu
    Copy the full SHA
    0a17be7 View commit details
    Browse the repository at this point in the history
  2. [FIX] account: tax line amount

    The company currency is USD, the invoice currency is EUR.
    - Create an invoice in EUR, set an invoice date
    - Compute the taxes (click on "update" button)
    - Change the exchange rate between EUR and USD
    - Validate the invoice
    
    At validation, the tax lines are not recomputed. Therefore, the tax
    amounts, are still converted in the company currency using the old
    rates. On the other hands, the other account move lines will have the
    appropriate new rate.
    
    Closes odoo#14024
    opw-692430
    nim-odoo committed Nov 7, 2016
    Configuration menu
    Copy the full SHA
    4809b57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    84eb383 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2016

  1. Configuration menu
    Copy the full SHA
    eb1804a View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2016

  1. Configuration menu
    Copy the full SHA
    fa544c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1f1597 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2016

  1. [FIX] base: restart server when installing module from apps

    When a new module is installed, its controllers and static files should
    be available. A restart is required to do so.
    KangOl committed Nov 14, 2016
    Configuration menu
    Copy the full SHA
    51561d3 View commit details
    Browse the repository at this point in the history
  2. [FIX] point_of_sale: update POSBox image creation script

    - ngrok download URL has changed
    - default kernel for raspbian image has changed and needs to match
    - remove pre-existing git checkout to avoid conflicting
    - wait a few seconds after setting up loop dev with kpartx to access image
      contents - sometimes required to let the device appear in /dev
    odony committed Nov 14, 2016
    Configuration menu
    Copy the full SHA
    2fd4dfc View commit details
    Browse the repository at this point in the history
  3. [FIX] hw_proxy,hw_blackbox_be: make RS-232 drivers protect their device

    RS-232 drivers now need to register any device
    they are handling in the hw_proxy.rs232_devices map.
    This will prevent other drivers from probing them,
    possibly messing up with the device.
    Any update to rs232_devices must be done while holding
    the hw_proxy.rs232_lock.
    
    The hw_scale driver will be updated to use this mechanism
    in the next commit, that will also handle a new RS-232
    scale protocol.
    odony committed Nov 14, 2016
    Configuration menu
    Copy the full SHA
    eeadeb0 View commit details
    Browse the repository at this point in the history
  4. [FIX] hw_scale: update driver for rs232_devices map and support AdamA…

    …ZExtra scale
    
    This commit fixes the driver to respect the new device
    registration mechanism via hw_proxy.rs232_devices.
    
    It also refactors the code to more easily support multiple
    scale protocols, and introduces support for the ADAM Equipment
    AZExtra scale protocol. (Might be compatible with other ADAM
    Equipment scales)
    
    Support for th AZExtra scale is experimental at the moment,
    especially given two annoying problems with this model:
     -  they do not support proper probing (stays mute until a
        non-zero weight is measured), so they have to be probed
        last and *assumed* to work
     -  the scale beeps when a read attempt is made and the
        weight is not stable yet, or the weight has been already
        read previously. This constant beeping during operation
        is mitigated by extra delays between readings, but might
        still prove to be a major issue for supporting this scale.
    odony committed Nov 14, 2016
    Configuration menu
    Copy the full SHA
    f579acf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d1b0b9e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    265c9f7 View commit details
    Browse the repository at this point in the history
  7. [FIX] hw_posbox_homepage: update links and version

    Also added a direct link to the remote connect page to
    grant remote SSH access via ngrok.
    odony committed Nov 14, 2016
    Configuration menu
    Copy the full SHA
    46ce74c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9428038 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2016

  1. Configuration menu
    Copy the full SHA
    8653c8b View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2016

  1. [FIX] stock: when matching moves with pack operations through quants,…

    … it did not match the packages correctly. Courtesy of Pedro Baeza
    
    Before, it did a search to see if the package existed,
    but the only thing it needs to do is see if the package
    on the pack operation corresponds to that of the quant.  (no need to check children also)
    
    There is a test added:
    A picking with 120 pieces incoming, 120 in pack 1, 80 in pack2
    When we deliver those in a picking out, with product pack operations: (by taking them out of the pack)
    
    120 from pack 1 and 80 from pack2,
    we should only have 2 quants and links between moves in the end
    
    And before, it generated 3 because it matched the wrong quants and made the wrong links.
    
    opw 693760 closes odoo#13836
    jco-odoo committed Nov 16, 2016
    Configuration menu
    Copy the full SHA
    1de3786 View commit details
    Browse the repository at this point in the history
  2. [FIX] hw_escpos: auto-detect endpoint address

    Instead of hardcoding the IN & OUT endpoint
    addresses for the ESC/POS printers, we now
    attempt to auto-detect them.
    
    This should increase compatibility with many
    compatible thermal printers that are simply
    using a different address, such as the
    - STMicroelectronics POS58 Printer USB
    - HU HAI SUNCSW Receipt Printer Co.,Ltd. Gprinter USB Printer
    
    Fixes odoo#12890
    odony committed Nov 16, 2016
    Configuration menu
    Copy the full SHA
    8e8b792 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5dac41 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2016

  1. [FIX] payment_paypal: accept PDT requests on /dpn route

    It seems Paypal does not always send the same responses on auto-return
    even when PDT is off. Although not reproducible on a Paypal sandbox,
    sometimes the system auto-return to /payment/paypal/dpn without any
    meaningful POST data. This seems to only happen with new accounts
    that use the 'Hermes' web application of Paypal.
    
    The correct thing to do would be to add a new field on the paypal
    payment provider for PDT token and make the PDT flow available
    to users; but this is a stable branch and this fix is already
    sufficiently delicate. This shall be done in master though.
    
    From this revision on, users can then activate PDT on their paypal
    account, set the PDT token as an ir.config_parameter value (WITH
    GROUP RESTRICTION SET TO ADMIN/SETTINGS GROUP!!!) and the system
    will process these requests correctly.
    bouvyd committed Nov 18, 2016
    Configuration menu
    Copy the full SHA
    205b554 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe277ae View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2016

  1. Configuration menu
    Copy the full SHA
    f9f5623 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3f6192 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2016

  1. [FIX] website_event_sale: Preserve context when updating cart

    Without this patch, when a product was added to cart, if this addon
    was installed, it always landed in English in the SO.
    
    This happened because the context, containing the current language,
    was being aborted here (`context=None` instead of `context=context`).
    
    This commit closes odoo#14340
    yajo authored and JKE-be committed Nov 21, 2016
    Configuration menu
    Copy the full SHA
    954fb6d View commit details
    Browse the repository at this point in the history
  2. Merge pull request odoo#565 from hbrunn/8.0-web_graph-respect_autosearch

    [ADD] respect the auto search flag
    pedrobaeza authored Nov 21, 2016
    Configuration menu
    Copy the full SHA
    6a5749a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a02f313 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2016

  1. [FIX] website: fix search in existing pages

    Previous implementation did not allow the user to search for pages 'name'
    but only on the slugified name.
    
    Now we slugify the needles before to find a match.
    
    1. Create a new page: 'The new'
    2. add a link on your website and try to find this page...
        - Before this commit, the only ways was to type 'the-new'
        - After this commit 'the new', 'The new', 'The-new', ... will match
    
    This commit closes odoo#10771
    yajo authored and JKE-be committed Nov 22, 2016
    Configuration menu
    Copy the full SHA
    fbdac9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2b6daf View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2016

  1. [FIX] product: store triggers for related stored company_id in pric…

    …elists
    
    When changing the company of a pricelist,
    the change was not propagated to the related, stored, company fields
    of the `product.pricelist.version` and the `product.pricelist.item`
    
    These triggers makes that happen.
    
    opw-694683
    beledouxdenis committed Nov 24, 2016
    Configuration menu
    Copy the full SHA
    295b96c View commit details
    Browse the repository at this point in the history
  2. [FIX] sale: store triggers for related stored company_id sale orders

    When changing the company of a sales order,
    the change was not propagated to the related, stored, company field
    of its sale order lines
    
    These triggers makes that happen.
    
    opw-694683
    beledouxdenis committed Nov 24, 2016
    Configuration menu
    Copy the full SHA
    456d7b3 View commit details
    Browse the repository at this point in the history
  3. [CLA] Corporate signature for Diagram Software

    Closes odoo#14409
    Zambu authored and mart-e committed Nov 24, 2016
    Configuration menu
    Copy the full SHA
    623d618 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c3287aa View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2016

  1. [FIX] account: partial payment reconciliation

    When processing a partial reconciliation in a foreign currency, a
    currency exchange difference might be generated during the
    reconciliation process (see OPW for a detailed use case).
    
    This prevents the user to process the reconciliation since he will get
    the error: 'You have to provide an account for the write off/exchange
    difference entry.'
    
    The fix is to use the company-related foreign echange gain and loss
    accounts automatically to book this difference.
    
    opw-687975
    nim-odoo committed Nov 25, 2016
    Configuration menu
    Copy the full SHA
    cd44031 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a50d74b View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2016

  1. Configuration menu
    Copy the full SHA
    8d72492 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    812189b View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2016

  1. [FIX] website_sale: fix amount format display

    Before this commit, amount updated from ajax request don't respect currency format.
    Eg: 1.200,000 => 1200.00
    
    Now we use the grouping/thousand separator/decimal separator from l10n,
    and if class decimal_precision is defined in dom, we use it. (format=0.001)
    
    This commits closes: odoo#11553
    This commits is related to odoo#1103
    JKE-be committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    1f10ef8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23b4131 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2016

  1. [IMP] sale: remove untranslated terms

    Closes odoo#14497
    mart-e committed Nov 30, 2016
    Configuration menu
    Copy the full SHA
    adb12f9 View commit details
    Browse the repository at this point in the history
  2. [FIX] membership: remove date_cancel for draft invoices

    In `action_cancel` method below, the date_cancel is set when the linked invoice
    is canceled.
    When the canceled invoiced was reset to draft, the date_cancel was not removed.
    This change makes sense as the state of the membership line is changed from
    `cancel` to `waiting` when the invoice is reset to draft.
    
    Closes odoo#14313
    antespi authored and mart-e committed Nov 30, 2016
    Configuration menu
    Copy the full SHA
    aac0faa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e91a6c0 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2016

  1. Configuration menu
    Copy the full SHA
    7a4a896 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d2efbd View commit details
    Browse the repository at this point in the history
  3. [FIX] Clean code

    mourad-ehm committed Dec 2, 2016
    Configuration menu
    Copy the full SHA
    cb29843 View commit details
    Browse the repository at this point in the history