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

Proposed by Somesh Khare
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-575216-skh
Merge into: lp:openobject-addons/6.1
Diff against target: 39 lines (+12/-6)
1 file modified
purchase/purchase.py (+12/-6)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-575216-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+107919@code.launchpad.net

Description of the change

Hello Sir,

[FIX] purchase :Use of multi-currency in purchase order workflow is inconsistent as compared to a sale order

Steps to reproduce:

1. Install Puchase module and create new pricelist which has different currency than company currency (Eg: Company currency = EUR, New Purchase Pricelist currency=USD).
2. Create PO and select NewPricelist.
3. Pay the created invoice from the PO and see the "Progress bar" for the Invoice rate also the boolean field "Invoiced & Paid" in not checked even if the Invoice is in paid state.

This branch fixes this issue.

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

Thanks,
Somesh Khare

To post a comment you must log in.
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 Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6987. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6988. By Olivier Dony (Odoo)

[FIX] account_analytic_analysis: reminder should report consumed hours using the correct field

As the hours_quantity field is used to flag an account
as `to renew`, it should be used as well when reporting
the consumed quantity.

6989. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6990. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6991. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6992. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6993. By Xavier ALT

[MERGE] OPW 578842: sale_margin: fix call of store parent's '_get_order' function

6994. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6995. By Olivier Dony (Odoo)

[FIX] OPW 576692: Exported timezones were not specified, and CalDAV clients like mozilla lightning recognize timezone as local instead of UTC

6996. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6997. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6998. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

6999. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7000. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7001. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7002. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7003. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7004. By Olivier Dony (Odoo)

[FIX] OPW 574637: account_analytic_plans: remove the strange behavior of instance editing - a thing of the past

7005. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7006. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7007. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7008. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7009. By Xavier ALT

[MERGE] OPW 50562: stock: fix picking type for chained picking

  forward port of v6.0 revid: <email address hidden>

7010. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7011. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7012. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7013. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7014. By Olivier Dony (Odoo)

[MERGE] OPW 579232: mrp: better handle partial consumption of raw products that were split in production lots

- System will no longer consume every line of raw product after a split
- If a raw product line with the exact quantity to consume is present,
  only this one will be consumed
- If no raw product line matches the quantity to consume, the system
  will consume the available lines (starting with smallest quantities first)
  until it attains the required quantity, possibly splitting one line
  further if no combination of the existing lines gives the right
  quantity.
- The production lot column and the split button will now be available
  on both sides of the production order form, allowing fine control
  of the production lots that were consumed, in case the defaults
  do not match what was used in reality.

7015. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7016. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7017. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7018. By Xavier ALT

[MERGE] OPW 577045: translations: collective fix of missing translation terms in reports

7019. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7020. By Xavier ALT

[MERGE] OPW 575716: account: force account.financial.report balance of *zero* to be displayed positively

7021. By Xavier ALT

[MERGE] OPW 579553: account: fix traceback when modifing existing journal entry line

7022. By Xavier ALT

[MERGE] OPW 576019: sale/purchase: when changing SO or PO line product, use product's UoM even if current UoM is of the same category

7023. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7024. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7025. By Stephane Wirtel (OpenERP)

[FIX] point_of_sale: remove unused file

7026. By Xavier ALT

[MERGE] OPW 578622: project: duplicating project must reset analytic account code

7027. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7028. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7029. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7030. By Olivier Dony (Odoo)

[FIX] wiki: remove unused 6.0 web addon components - web API was rewritten from scratch in 6.1

7031. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7032. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7033. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7034. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7035. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7036. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7037. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7038. By Xavier ALT

[MERGE] OPW 577723: purchase: add domain on purchase order partner field for autocomplete to search only for suppliers

7039. By Xavier ALT

[MERGE] OPW 577045: account/hr_holidays: fix untranslated string and 'Filter By' display on account reports

7040. By Xavier ALT

[MERGE] OPW 576804: hr_holidays: fix problem with accentuated chars in 'Leaves by Department' report

7041. By Xavier ALT

[MERGE] OPW 579990: account: changing invoice line account should take product taxes or account taxes, not both

  backport of trunk addons revid: <email address hidden>

7042. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7043. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7044. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7045. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7046. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7047. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7048. By Xavier ALT

[MERGE] OPW 579331: base_vat: button check_vat should not return 'None' uppon success - this will cause error for clients using XML-RPC

7049. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7050. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7051. By Xavier ALT

[MERGE] OPW 578792: project_issue/resource: fix calc. of open/close & working hours to open/close on issue + has to be timezone aware

7052. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7053. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7054. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7055. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7056. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7057. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7058. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7059. By Olivier Dony (Odoo)

[FIX] project_issue: fix access rights error when using portal access

Due to the recent change in the computation of the closing duration
for project issues[1], viewing issues now fails for users who do not
have read access to project.project. This is typically the case for
portal users, who can view their own issues but not the project details.
Doing the computation in superuser mode does not cause any security
problem and avoids the access rights error.

7060. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7061. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7062. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7063. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7064. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7065. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7066. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7067. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7068. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7069. By Xavier ALT

[MERGE] OPW 576829: pos: fix creation of payment line when pos order have multiple payment methods + return

   partial trunk backport revid: <email address hidden>,
     <email address hidden>

7070. By Xavier ALT

[MERGE] OPW 576495: stock: fix missing 'state' field in view - required for button states evaluation

7071. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7072. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7073. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

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

Hello,

This bug was qualified as Not Relevant on Trunk (means that architecture on trunk has changed and so this bug has no meaning anymore). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

7074. By Somesh Khare

[IMP]: purchase :Use of multi-currency in purchase order workflow is inconsistent as compared to a sale order (Case: ref 575216)

Unmerged revisions

7074. By Somesh Khare

[IMP]: purchase :Use of multi-currency in purchase order workflow is inconsistent as compared to a sale order (Case: ref 575216)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'purchase/purchase.py'
--- purchase/purchase.py 2012-10-09 12:16:14 +0000
+++ purchase/purchase.py 2012-11-19 09:33:24 +0000
@@ -88,12 +88,15 @@
88 def _invoiced_rate(self, cursor, user, ids, name, arg, context=None):88 def _invoiced_rate(self, cursor, user, ids, name, arg, context=None):
89 res = {}89 res = {}
90 for purchase in self.browse(cursor, user, ids, context=context):90 for purchase in self.browse(cursor, user, ids, context=context):
91 if purchase.invoiced:
92 res[purchase.id] = 100.0
93 continue
91 tot = 0.094 tot = 0.0
92 for invoice in purchase.invoice_ids:95 for invoice in purchase.invoice_ids:
93 if invoice.state not in ('draft','cancel'):96 if invoice.state not in ('draft','cancel'):
94 tot += invoice.amount_untaxed97 tot += invoice.amount_untaxed
95 if purchase.amount_untaxed:98 if tot:
96 res[purchase.id] = tot * 100.0 / purchase.amount_untaxed99 res[purchase.id] = tot * 100.0 / purchase.amount_untaxed
97 else:100 else:
98 res[purchase.id] = 0.0101 res[purchase.id] = 0.0
99 return res102 return res
@@ -135,10 +138,13 @@
135 def _invoiced(self, cursor, user, ids, name, arg, context=None):138 def _invoiced(self, cursor, user, ids, name, arg, context=None):
136 res = {}139 res = {}
137 for purchase in self.browse(cursor, user, ids, context=context):140 for purchase in self.browse(cursor, user, ids, context=context):
138 invoiced = False141 res[purchase.id] = False
139 if purchase.invoiced_rate == 100.00:142 for invoice in purchase.invoice_ids:
140 invoiced = True143 if invoice.state!='cancel':
141 res[purchase.id] = invoiced144 res[purchase.id] = True
145 if invoice.state != 'paid':
146 res[purchase.id] = False
147 break
142 return res148 return res
143149
144 STATE_SELECTION = [150 STATE_SELECTION = [