Merge lp:~openerp-dev/openobject-addons/6.1-opw-572620-skh into lp:openobject-addons/6.1

Proposed by Somesh Khare
Status: Approved
Approved by: Vinay Rana (OpenERP)
Approved revision: 6986
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-572620-skh
Merge into: lp:openobject-addons/6.1
Diff against target: 19 lines (+10/-0)
1 file modified
analytic/analytic.py (+10/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-572620-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+97150@code.launchpad.net

Description of the change

Hello,

[Fix]: Analytic account should not be deleted when it has some analytic entries in it.

Kindly review the branch and please share your view on it.

Thanks,
Somesh khare

To post a comment you must log in.
6669. By Quentin (OpenERP) <email address hidden>

[FIX] account: qucik and dirty fix on the common wizard of reports to set the company_id by default in order to avoid having the name_search of fiscalyear processed before it is correctly set by the onchange of default value of chart account id. This bug is due to asynchronous calls of web client and will be solved asap, but in the meanwhile this little hack will localy solve the problem.

6670. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6672. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6673. By Olivier Dony (Odoo)

[FIX] email_template: attachments were not being sent due to programming error

6674. By Olivier Dony (Odoo)

[FIX] sale,sale_layout: avoid RML loop when printing SO with very long notes

Forward port of revision 5001 from the
6.0 branch. Apparently very long SO
notes (above 2200 characters) will cause
an endless loop while trying to render
inside a blockTable

6675. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6676. By Christophe Simonis (OpenERP)

[FIX] email_template: report_name must be rendered

6677. By Quentin (OpenERP) <email address hidden>

[MERGE] opw-381937. Stock: don't set an arbitrary value of 1 when valuating a stock move of a product with 0 as unit amount

6678. By Olivier Dony (Odoo)

[FIX] mail.message: when auto-deleting a message, only delete attachments it owns

There's a peculiar way to manage attachments on
mail messages, as there is an explicit many2many
on top of regular attachments like for any
record, so it is possible to link a mail
to attachments that are owned by other records.
Such attachments must not be deleted along with
the message when the auto-delete flag is set.

6679. By Olivier Dony (Odoo)

[MERGE] base.action.rule: better handle non-ASCII data

Also fixes the `regex_history` expression
that should search on the `subject` field
now (it was renamed in 6.1).

6680. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6681. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6682. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6683. By Quentin (OpenERP) <email address hidden>

[FIX] account: build_ctx_period must always return a list of ids

6684. By Olivier Dony (Odoo)

[FIX] mail.message: allow reading msg even if author belongs to another company

6685. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6686. By Raphael Collet (OpenERP)

[FIX] backport of branch trunk-bug-937194-nco (mail: remove character &#13; from message)

6687. By Olivier Dony (Odoo)

[FIX] edi: company logo appears truncated on EDI preview in Firefox

6688. By Olivier Dony (Odoo)

[FIX] edi: avoid disprupting EDI preview layout with wide notes

6689. By Olivier Dony (Odoo)

[FIX] edi: care for missing invoice fields in EDI preview (instead of displaying `false`)

6690. By Olivier Dony (Odoo)

[MERGE] procurement: Fix typo (bug 956234), courtesy of Guewen Baconnier @ Camptocamp

6691. By Olivier Dony (Odoo)

[MERGE] Update l10n_it account types, courtesy of Lorenzo Battistini (Agile BG - Domsense)

6692. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6693. By Xavier ALT

[MERGE] OPW 573035: fetchmail: UnboundLocalError: local variable imap_server referenced before assignment

6694. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6695. By Olivier Dony (Odoo)

[FIX] mail: default permissions should allow write for everyone

Mail messages are created in multiple steps that
usually involve calling write() at some point, so
giving all users write access is necessary.

6696. By Olivier Dony (Odoo)

[MERGE] Properly pass context when incrementing sequences, courtesy of Stefan Rijnhart (Therp)

6697. By Rucha Patel <email address hidden>

[FIX] email_template: don't re-encode attachments copied from template'

6698. By Rucha Patel <email address hidden>

[FIX] email_template: ensure non-empty context when rendering template'

6699. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6700. By Xavier ALT

[MERGE] OPW 573037: audittrail: force admin for subscribe/unsubscribe op - fix 'admin/access rights' members access

6701. By Olivier Dony (Odoo)

[FIX] email.template: properly propagate res_id over context reloads in composition wizard

6702. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6703. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6704. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6705. By Xavier ALT

[MERGE] OPW 381582: stock: on inventory, product qty should be computed up to 'inventory date', not after

6706. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6707. By Xavier ALT

[MERGE] OPW 573041: crm: for crm.lead, force orm 'default_get' to avoid misbehaviour when 'base_contact' is installed

6708. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6709. By Xavier ALT

[MERGE] OPW 381524: stock: on picking invoicing, do not invoice scrapped products

6710. By Xavier ALT

[MERGE] OPW 573244: account: manually unreconcilling move line doesn't switch invoice back to 'open' state

6711. By Xavier ALT

[MERGE] OPW 51189: account: on invoice 'refund', keep original salesman and fiscal position

6712. By Xavier ALT

[MERGE] OPW 16328: account.move.line: do not create writeoff entries when called from fy closing wizard

6713. By Xavier ALT

[MERGE] OPW 50804: stock: fix search_default_available on 'internal move' search view

6714. By Xavier ALT

[MERGE] OPW 381927: project: when copying the project, analytic lines of the related analytic account should not be copied

6715. By Xavier ALT

[MERGE] OPW 381848: purchase_requisition: fix action context as create_uid is not present in the search view

6716. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6717. By Xavier ALT

[MERGE] OWP 572921: account_voucher: fix computation of paid_amount_in_company_currency field

6718. By Olivier Dony (Odoo)

[FIX] Trunk backport: properly record UTC login date, courtesy of Ian Beardslee

6719. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6720. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6721. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6722. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6723. By Xavier ALT

[MERGE] project_issue: by default, convert issue to bug only if there is no provided category

6724. By Christophe Simonis (OpenERP)

[FIX] auth_openid: allow login from direct http request

6725. By Christophe Simonis (OpenERP)

[FIX] auth_openid: use correct api for login users

6726. By Antony Lesuisse (OpenERP)

[MERGE] point_of_sale barcode scanning (manual merge)

6727. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6728. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6729. By Xavier ALT

[MERGE] project_issue: issue analysis have to use 'AVG' group operator for AVG Working Hours fields

6730. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6731. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6732. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6733. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6734. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6735. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6736. By Xavier ALT

[MERGE] report_webkit: remove deprecated 'lib_path' field on company

6737. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6738. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6739. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6740. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6741. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6742. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6743. By Xavier ALT

[MERGE] report_webkit: handle more gracefull remove of 'lib_path' + fix test in l10n_ch

6744. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6745. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6746. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6747. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6748. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6749. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6750. By Quentin (OpenERP) <email address hidden>

[IMP] portal: improved inheritancy when creating a new portal user

6751. By Quentin (OpenERP) <email address hidden>

[REF] l10n_be: added some comments

6752. By Quentin (OpenERP) <email address hidden>

[FIX] portal: moved the prepare_user_data on wizard rather than on the user

6753. By Antony Lesuisse (OpenERP)

[FIX] home action

6754. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6755. By nel

[FIX] stock: check if the move exists to avoid the key error

6756. By nel

[FIX] stock: small important fix

6757. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6758. By nel

[FIX] stock: check if currency on product or picking exists

6759. By Olivier Laurent (Open ERP)

[FIX] l10n_multilang should be certified since it's a dependancy for a certified module (l10n_ch)

6760. By Olivier Laurent (Open ERP)

[FIX] raise clear except_osv instead of traceback

6761. By Olivier Laurent (Open ERP)

[FIX] added missing certificate number

6762. By Olivier Dony (Odoo)

[MERGE] crm: multiple bugfixes for mass-conversion wizards

6763. By Olivier Dony (Odoo)

[MERGE] crm.lead: bugfixes for saleman allocation and convert to opportunity

6764. By Quentin (OpenERP) <email address hidden>

[MERGE] some fixes in constraints in account_coda

6765. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6766. By Xavier ALT

[MERGE] server action: fix missing active_model in context when calling server action run()

6767. By Xavier ALT

[MERGE] project_gtd: fix UnicodeDecodeError on GTD Task search view when user language is different than English

6768. By Xavier ALT

[MERGE] OPW 573248: crm: do not round localized user value as this will display NaN of kanban view (ex: decimal separator <> '.')

6769. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6770. By Xavier ALT

[MERGE] share: fix error on user creation, missing 'company_ids' raising constraint ValidationError

6771. By Xavier ALT

[MERGE] OPW 573134: wiki: fix 'wikijs' support of syntax: h1, h2, h3, img, attach

6772. By Olivier Dony (Odoo)

[FIX] mail.thread: fix SMTP headers when forwarding messages

mail.message.Message has case-insensitive behavior
for headers, but setting the header value *adds* a
new header even if the same header already exists.
This caused multiple issues when forwarding, because
the forwarded mail kept the original To: header.
Also changed the code to use capitalized header
names at all times, just for consistency.
Also removed unused variable ``mail_message``.

6773. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6774. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6775. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6776. By Olivier Dony (Odoo)

[FIX] account,sale,purchase: avoid white text in email notifications due to broken mail clients

Some strange mail client implementations seem to
selectively strip the background-color CSS in emails,
making a white-on-black button become white-on-white
invisible text. Replaced #FFF with #DDD in order
to more gracefully degrade in those cases.
Reproduced with Lotus Notes 8.

6777. By Olivier Dony (Odoo)

[FIX] account,sale,purchase: translations were not enabled for mail notifications

6778. By Xavier ALT

[MERGE] OPW 572907: account: account.financial.report balance should respect report sign

6779. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6780. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6781. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6782. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6783. By Xavier ALT

[FIX] stock: fix partial picking testing on non-existant 'new' stock.move state

6784. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6785. By Antony Lesuisse (OpenERP)

[FIX] point_of_sale typo only load pos enabled products

6786. By Antony Lesuisse (OpenERP)

[MERGE] 6.1-opw-573508-ado point_of_sale multiple rows for categories

6787. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6788. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6789. By nel

[MERGE]

6790. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6791. By Olivier Laurent (Open ERP)

[FIX] reverted __openerp__.py: the commented line was already commented before so it was wrongly uncommented

6792. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6793. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6794. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6795. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6796. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6797. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6798. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6799. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6800. By Olivier Laurent (Open ERP)

[FIX] account: reports: drop view before replacing them

6801. By Olivier Dony (Odoo)

[FIX] document,mail: show only personal attachments by default

6802. By Nehal Panchal (OpenERP)

[FIX] email_template : Send mail wizard not sending the attachment of report defined in Attach Report tab of template form

6803. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6804. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6805. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6806. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6807. By Olivier Dony (Odoo)

[FIX] decimal_precision: properly invalidate cache when changing precisions

This was working previously because the cache was disabled,
due to bug #988743. Now that the cache is working again,
it needs to be properly invalidated whenever a decimal.precision
record is created or deleted, otherwise all computations
will use an incorrect precision.

6808. By Xavier ALT

[MERGE] crm_partner_assign: test: be more lenient about partner localisation

    As of today, google maps tend to localize:
       Avenue de la Liberté 56, 1000 Brussels, , Belgium
    As:
       Place de la Liberté 56, 1000 Bruxelles, Belgique

    making imprecision and failing geolocalizaton test of
    'crm.crm_case_abcfuelcounits0' (current modification is backported from
    trunk unit-test)

6809. By Xavier ALT

[MERGE] OPW 575004: stock: fix font for product name/variant in packaging report

6810. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6811. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6812. By Xavier ALT

[MERGE] OPW 574991: rml reports: move setLang() before <pto_header/> otherwise it won't be correctly translated

6813. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6814. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6815. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6816. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6817. By Xavier ALT

[MERGE] OPW 574652: hr_expense: add correct decimal precision on 'amount' field

6818. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6819. By Olivier Dony (Odoo)

[FIX] stock: Warehouse Manager should have all rights on stock.move

6820. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6821. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6822. By Olivier Dony (Odoo)

[FIX] crm: missing index on user_id, which is used by ir.rules

6823. By Olivier Dony (Odoo)

[MERGE] OPW 575424: mrp: error on analytic entries when workcenter has no product

6824. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6825. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6826. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6827. By Olivier Dony (Odoo)

[MERGE] OPW 575437: account_payment: missing voucher entries when importing payment orders into bank statement

6828. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6829. By Olivier Dony (Odoo)

[FIX] edi: fix Invoice preview template, uos_id field not required so may be missing

6830. By Quentin (OpenERP) <email address hidden>

[REF] account_coda: stripped dummy spaces at end of lines

6831. By Quentin (OpenERP) <email address hidden>

[FIX] account_coda: fixed coda import to work with iban bank accounts

6832. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6833. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6834. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6835. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6836. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6837. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6838. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6839. By Olivier Dony (Odoo)

[MERGE] OPW 575526: fix returning product with upstream stock moves + multiple returns

6840. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6841. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6842. By Fabien Meghazi (OpenERP)

[REM] Removed <image> tags from wizards

6843. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6844. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6845. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6846. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6847. By Olivier Dony (Odoo)

[MERGE] OPW 575624: product,account_payment: respect current symbol position in reports

6848. By Olivier Dony (Odoo)

[FIX] stock: properly pass production lot number as SQL query parameter

6849. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6850. By Olivier Dony (Odoo)

[FIX] stock: correct order of query parameters, broken in commit 6848

6851. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6852. By Olivier Dony (Odoo)

[MERGE] OPW 575500: correct importing invoices in bank statements in multi-currency context

6853. By Olivier Dony (Odoo)

[MERGE] l10n_ch: bugfixes from Camptocamp, courtesy of Yannick Vaucher

6854. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6855. By Christophe Simonis (OpenERP)

[FIX] base_vat: correct Switzerland VAT check

6856. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6857. By Olivier Dony (Odoo)

[MERGE] mail: avoid obscure failure when processing batches of emails with attachments

  This issue was caused by the way browse_records are cached,
  in combination with the deletion of messages just after sending
  them. When processing a second message, the attachment.datas
  function fields gets computed for all messages that are being
  browsed, including the first message that was already deleted,
  causing an exception. The value of the function field had
  already been computed for the first message, but had been
  discarded by the message.refresh() call.
  Hopefully this kind of issue will disappear once we implement
  the new ORM API.

6858. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6859. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6860. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6861. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6862. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6863. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6864. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6865. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6866. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6867. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6868. By Olivier Dony (Odoo)

[FIX] portal: prevent deleting a partner that has shared users

6869. By Olivier Dony (Odoo)

[FIX] mail: preserve timezone offset when extracting the Date of received mails

Previously the date was treated as UTC, ignoring
the specified timezone offset. As a result the
displayed date was off by the actual UTC offset
of the sender's timezone

6870. By Olivier Dony (Odoo)

[FIX] mail: more reliable parsing of Date header to avoid rejecting emails

dateutil.parser.parse() was failing to parse the date on
some seemingly non-standard Date headers including trailing
extra TZ info, such as:
 "Thu, 28 Jun 2012 18:09:47 +0200 (GMT+02:00)"
RFC2822 seems to only mention the +XXXX offset format, but
apparently other formats are employed in the wild, such
as this one coming from the Zimbra webclient.
The fuzzy matching copes with that, and an extra try/except
block was added for good measure, with a fallback on the
current datetime, should the parsing still fail.

6871. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6872. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6873. By Olivier Dony (Odoo)

[MERGE] OPW 576406: bank.statement: allow cancelling statements with manual entries

6874. By Olivier Dony (Odoo)

[MERGE] OPW 576006: account.period.find() should not select opening/special periods in some cases

The cases where we filter out special periods
should in fact be the default, but this is a risky
change, so we turn this filtering on via an extra
context flag instead, which can be added by callers
as needed.

6875. By Olivier Dony (Odoo)

[FIX] account.bank.statement: minor typo in test comments

6876. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6877. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6878. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6879. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6880. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6881. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6882. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6883. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6884. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6885. By Quentin (OpenERP) <email address hidden>

[MERGE] l10n_lu. Courtesy of Xavier ALT

6886. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6887. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6888. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6889. By Xavier ALT

[MERGE] OPW 575178: process: node conditions have priority over model states (v6.0 forward-port)

  - process node conditions defined which nodes can be reached in the current
    context, so nodes which doesn't fullfill the conditions should stay gray
    even if ``model_states`` eval to True.

6890. By Xavier ALT

[MERGE] OPW 574806: process: process node active state should be evaluated on related related model_id, if defined (v6.0 forward-port)

6891. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6892. By nel

[FIX] mrp: compare quantities in production using float_compare

6893. By Quentin (OpenERP) <email address hidden>

[FIX] l10n_lu: removed xml view referencing unexisting fields (removed in a previous commit)

6894. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6895. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6896. By nel

[FIX] duplication of MO

6897. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6898. By Xavier ALT

[MERGE] BUG 986668: project: fix call to do_pending/do_close from delegation which has to provide 'ids' as a list

6899. By Xavier ALT

[MERGE] OPW 573701: pad: use openetherpad.org as default pad provided (ietherpad.com being dead)

6900. By Xavier ALT

[MERGE] OPW 573452: stock: fix 'chained_company_id' field help tooltip message

6901. By Xavier ALT

[MERGE] OPW 575264: account_bank_statement_extensions: remove 'graph' mode from bank statement line action, as there is such view defined

6902. By Xavier ALT

[MERGE] OPW 574788: project_issue: remove 'graph' mode for project.issue window action, as there is no such view defined

6903. By Xavier ALT

[MERGE] OPW 575259: account: fix missing company field in account.move.line tree view breaking search on account field

6904. By Xavier ALT

[MERGE] OPW 575766: project: fix error message not translated when trying to delete an analytic account linked to a project

6905. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6906. By Antony Lesuisse (OpenERP)

[FIX] plugin_outlook CookComputing.XmlRpcV2 copyright terms

6907. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6908. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6909. By Xavier ALT

[MERGE] OPW 573839: account: never allow cancelling entries on closed financial periods

6910. By Xavier ALT

[MERGE] OPW 575236: mrp: action_consume() was not consuming all products if splitted in multiple lots

6911. By Quentin (OpenERP) <email address hidden>

[MERGE] updates of l10n_fr and l10n_ca. Courtesy of Akretion,c2c and Savoirfairelinux

6912. By Xavier ALT

[MERGE] OPW 381582: stock: on 'inventory' validation, force stock move date at inventory date

6913. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6914. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6915. By Olivier Dony (Odoo)

[FIX] contract: fix expired contracts reminder job to actually work

The API for sending emails has changed in 6.1, use the new one.
Also fix the expired contract filter to behave similarly to the
"Contracts To Renew" menu inside OpenERP.

6916. By Olivier Dony (Odoo)

[MERGE] OPW 575293: purchase: Supplier references not displayed on purchase order (courtesy of Alexis Delattre)

6917. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6918. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6919. By Xavier (Open ERP)

[FIX] override read_group of account.move.line to be coherent with overridden search. Solves OPW 575885

6920. By Olivier Dony (Odoo)

[MERGE] OPW 577359: mail,fetchmail: more robust handling of incoming mails

- Support inconsistent encoding specifications in
  mail bodies with crashing
- Mark messages as seen on IMAP servers only when they
  have actually been processed
- Properly commit after each incoming message, avoiding
  global rollback in case of later failure (during
  fetchmail cron task)
- Avoid crashing when importing mail without a proper
  From header

Note: this fix depends on a corresponding server fix
(revno: 4248
rev-id: <email address hidden>)

6921. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6922. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6923. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6924. By Olivier Dony (Odoo)

[MERGE] OPW 577225: avoid errors in Sales Analysis for orders without lines

Note: this fix requires an update of the
sale module, or a manual execution of the
query that defines the reporting view.

6925. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6926. By Olivier Dony (Odoo)

[FIX] portal: avoid making new portal users regular Employees

The menus were properly restricted but the portal users
created through the portal wizard on Partners were
erroneously made members of the Employee and Partner Manager
groups.
+ some cleanup in the context management

6927. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6928. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6929. By Christophe Simonis (OpenERP)

[FIX] auth_openid: Due to multiprocessus we must use a FileStore instead of a MemStore to store openid associations.
[FIX] auth_openid: GoogleApps: avoid crash when handle not found in store.
[IMP] auth_openid: flake8.

6930. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6931. By Olivier Dony (Odoo)

[MERGE] project.issue: actually use the Reply-To address of the project when sending out messages

6932. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6933. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6934. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6935. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6936. By Xavier ALT

[MERGE] OPW 576898: stock: when changing stock.move product lot, do not crash if user didn't fill the product field

6937. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6938. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6939. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6940. By Olivier Dony (Odoo)

[MERGE] mail.thread: fix message_process to avoid duplicate deliveries

Due to a programming error in the code, any message that had
several values in the References header create as many
duplicate copies of the message as they were previous
messages in the discussion.
Also cleaned up and simplified the code.

6941. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6942. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6943. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6944. By Quentin (OpenERP) <email address hidden>

[MERGE] l10n_be fixes

6945. By Olivier Dony (Odoo)

[FIX] OPW 576675: base_crypt: avoid causing TransactionRollbackErrors after each registry reload

See individual commit message for more info

6946. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6947. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6948. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6949. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6950. By Xavier ALT

[MERGE] OPW 576461: account: on invoice move creation, correctly compute quantity and amount currency when journal is configured for grouping

6951. By Xavier ALT

[MERGE] OPW 574507: mrp: 'change qty' wizard on MO have to also update the related picking list stock move quantity

6952. By Olivier Dony (Odoo)

[MERGE] OPW 578181: fix missing column in hr.holiday list, making group by date_from fail miserably

6953. By Quentin (OpenERP) <email address hidden>

[FIX] account_voucher: supplier payment, accounting entry generation

6954. By Xavier ALT

[MERGE] OPW 576484: account: fix invoice residual, avoid adding multiple times residual for same partial reconcile

6955. By Xavier ALT

[MERGE] OPW 577014: email_template: for not force mass_mail in mail.compose.message wizard, if user is working on a single resource

6956. By Xavier ALT

[MERGE] OPW 576491: edi + email_template: correctly generate edi_web_view_url when sending email from mail.compose.message wizard

 * edi: improve generation/usage of edi_web_url_view for template rendering

   - wrap edi_web_url_view generation to _edi_get_object_web_url_view() method.
   - automatically add 'edi_web_url_view' to all email.template rendering context

   - introduce LazyEdiWebUrlViewGetter class, to allow resolving record wihtin
     template rendering context - only when necessary. This to prevent generating
     unrequested edi_web_url_view links

 * mail & email_template: allow to modify render_template context

   - add _prepare_render_template_context() method to allow modifying context
     before rendering template.

6957. By Quentin (OpenERP) <email address hidden>

[MERGE] fixes in account_voucher

6958. By Xavier ALT

[FIX] OPW 577963: ir_attachment: speed up ir.attachment search for large databases

6959. By Olivier Dony (Odoo)

[FIX] document: complete previous fix, restore sort order after filtering

6960. By Xavier ALT

[MERGE] BUG 1039664: edi: fix wrong cursor when generating edi_web_url_view

  regression from revid: <email address hidden>

6961. By Xavier ALT

[MERGE] OPW 577140: stock: use float_compare() to check if initial and provided quantity equals - based on UoM rounding

6962. By Olivier Dony (Odoo)

[MERGE] OPW 576610: always reuse printed invoice instead of regenerating

Backport of trunk fix r.7215
revid:<email address hidden>

6963. By Xavier ALT

[MERGE] OPW 267641: crm/crm_action_rule: mail action are not sent to both action and current watchers

6964. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6965. By Quentin (OpenERP) <email address hidden>

[MERGE] staging branch with fixes

6966. By Xavier ALT

[MERGE] OPW 574251: account_voucher: voucher on bank statement, have to use period and date from bank statement / bank statement line - not today

6967. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6968. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6969. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6970. By Chris Biersbach (OpenERP)

[MERGE] OPW 578367: hr_timesheet_sheet: Fixed onchange_employee to also return a value for user_id

6971. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6972. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6973. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6974. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6975. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6976. By Olivier Dony (Odoo)

[MERGE] OPW 578410: hr_timesheet_invoice: avoid overriding default data with demo data, as it breaks translations for nodemo databases

6977. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6978. By Stephane Wirtel (OpenERP)

[FIX] warning: rename the product_id_change method to onchange_product_id

6979. By Olivier Dony (Odoo)

[MERGE] OPW 573257: account.move.line: proper handling of unicode values in period name resolution

6980. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6981. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6982. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6983. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6984. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6985. By Olivier Laurent (Open ERP)

[FIX] sale_margin: mixed up arguments passed to 'super'

6986. By Somesh Khare

[IMP]Analytic Account: Analytic Account should not be deleted while it has analytic entries in it (Case: Ref 572620)

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

The propose solution will restrict direct unlink of analytic account.As there is a another way for this by ondelete 'restrict' option but this will raises server side integrity error pop up which does not contain any proper user friendly message so this propose solution will raises a appropriate pop up for end user.

Nice Fix ....

Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Confirmed on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-572620-port-mma/+merge/132038 and be informed once it's been merged in trunk
If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Unmerged revisions

6986. By Somesh Khare

[IMP]Analytic Account: Analytic Account should not be deleted while it has analytic entries in it (Case: Ref 572620)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'analytic/analytic.py'
2--- analytic/analytic.py 2012-02-16 18:01:11 +0000
3+++ analytic/analytic.py 2012-09-11 11:12:21 +0000
4@@ -278,6 +278,16 @@
5 else:
6 account = self.search(cr, uid, args, limit=limit, context=context)
7 return self.name_get(cr, uid, account, context=context)
8+
9+ def _check_existing_analytic_line(self, cr, uid, ids, context=None):
10+ line_obj = self.pool.get('account.analytic.line')
11+ if line_obj.search(cr, uid, [('account_id', 'in', ids)]):
12+ raise osv.except_osv(_('Error !'), _('You cannot remove an analytic account which has analytic entries!. Remove the related analytic entries first.'))
13+ return True
14+
15+ def unlink(self, cr, uid, ids, context=None):
16+ self._check_existing_analytic_line(cr, uid, ids, context=context)
17+ return super(account_analytic_account, self).unlink(cr, uid, ids, context=context)
18
19 account_analytic_account()
20