lp:~jgrandguillaume-c2c/openobject-addons/trunk-account_constraints-jge2

Created by Joël Grand-Guillaume @ camptocamp and last modified
Get this branch:
bzr branch lp:~jgrandguillaume-c2c/openobject-addons/trunk-account_constraints-jge2
Only Joël Grand-Guillaume @ camptocamp can upload to this branch. If you are Joël Grand-Guillaume @ camptocamp please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

7865. By Joël Grand-Guillaume @ camptocamp

[FIX] Add a check on empty list to avoid a crash if no move lines in the related invoice.
[FIX] YAML test on account voucher : Create a second USD account for testing, avoiding one of the account constraint to raise.

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

[REF] some code/error message refactoring
[REM] account: removed _check_fiscal_year constraint on account.move.line (was made to ensure a journal item's date is included inbetween the date start and stop of the fiscalyear it belongs) over which we have a doubt
[FIX] account: fixed _check_currency_and_amount constraint on account.move.line (having 0 as amount_currency is a legal value since debit and credit can both be 0 (used in case of complex taxes))
[FIX] account_voucher: changed the behavior in order to restrict the update of the journal in a bank statement only when there is a voucher already created/generated for that, because previous check was too restrictive.

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

[MERGE] trunk

7862. By Joël Grand-Guillaume @ camptocamp

[FIX] Re-add the call to super in create_move_from_st_line in the voucher module. I removed it by mistake... Thanks to Stefan

7861. By Joël Grand-Guillaume @ camptocamp

[MRG] From last trunk

7860. By Joël Grand-Guillaume @ camptocamp

[MRG] From last trunk

7859. By Joël Grand-Guillaume @ camptocamp

[IMP] Forbid to remove the reconcile on opening entries, we introduce a new boolean field to identify the reconciliation made by the closing process from others.

7858. By Joël Grand-Guillaume @ camptocamp

[IMP] Add contraint for Payment Order : If a invoice is imported in a payment order, forbid to reset invoice to cancel or draft

7857. By Joël Grand-Guillaume @ camptocamp

[FIX] Do not provide a secondary currency when posting entries from bank statment if the same than the company to respect the new constraints.

7856. By Joël Grand-Guillaume @ camptocamp

[IMP] Forbid to change the journal of a bank statement if you already have a line in it. This is done in the voucher, cause this is the case that break : when voucher is created and you change the journal, it'll result in having entries generated on various journal which is not consistent.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:openobject-addons
This branch contains Public information 
Everyone can see this information.