Merge lp:~openerp-dev/openobject-addons/6.1-opw-578779-ado into lp:openobject-addons/6.1

Proposed by Amit Dodiya (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 7076
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-578779-ado
Merge into: lp:openobject-addons/6.1
Diff against target: 17 lines (+7/-0)
1 file modified
account/account_move_line.py (+7/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-578779-ado
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Xavier ALT Pending
Review via email: mp+123005@code.launchpad.net

Description of the change

Hello,

[FIX] When opening an account(double click on link of account) from a chart of account the move lines are not filtered based on selected periods of chart of account wizard

Stpes:
1. Create a new DB with demo data and install the "account_accountant" module
2. Select the chart of account "France" (this bug is not specific to the French chart of account... but it's easier for to to describe the bug with it)
3. Activate extended view
4. Create a new customer invoice for Agrolait with 1 HDD1 product and validate it. It creates an account move in period 09/2012 with 3 account move lines with accounts 411100, 445711, 707100
5. Go to Accounting > Charts > Chart of Accounts
   Open a chart of accounts with :
   Fiscal year = 2012 (default)
   Target moves = All Posted entries (default)
   Start period = 10/2012
   End period = 12/2012
6. Open the hierarchy of accounts until you reach the account 707100. You see : Debit = 0, Credit = 0, Balance = 0 -> It's ok, because the only account move that we have is in the period 09/2012.
7. Double click on the account 707100 : you see the account move line corresponding to the product HDD1, which belongs to the period 09/2012
-> that's the bug : this view should only display the account move lines that belong to the period selected for the chart of accounts.

Regards,
Amit Dodiya

To post a comment you must log in.
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.

7074. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

7075. By Antony Lesuisse (OpenERP)

[FIX] crm.lead add missing group_by country

7076. By Amit Dodiya<email address hidden>

[FIX] When opening an account(double click on link of account) from a chart of account the move lines are not filtered based on selected periods of chart of account wizard

Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
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-578779-port-mma/+merge/135115 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.

Thanks,
Naresh Soni

Unmerged revisions

7076. By Amit Dodiya<email address hidden>

[FIX] When opening an account(double click on link of account) from a chart of account the move lines are not filtered based on selected periods of chart of account wizard

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account/account_move_line.py'
--- account/account_move_line.py 2012-09-06 14:35:17 +0000
+++ account/account_move_line.py 2012-11-20 12:19:26 +0000
@@ -694,6 +694,13 @@
694 # writeoff; entry generated for the difference between the lines694 # writeoff; entry generated for the difference between the lines
695 #695 #
696 def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False):696 def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False):
697 if context is None:
698 context = {}
699 if context and context.get('periods', False):
700 args.append(('period_id', 'in', context['periods']))
701 elif context and context.get('fiscalyear', False):
702 periods = self.pool.get('account.fiscalyear').browse(cr, uid, context['fiscalyear'], context=context).period_ids
703 args.append(('period_id', 'in', [period.id for period in periods]))
697 partner_domain = self._partner_domain(cr, uid, offset, context=context)704 partner_domain = self._partner_domain(cr, uid, offset, context=context)
698 if partner_domain is None:705 if partner_domain is None:
699 return []706 return []