Merge lp:~camptocamp/account-budgeting/7.0-budget-add-allocation-resubmit-mdh into lp:~account-core-editors/account-budgeting/7.0
Proposed by
Matthieu Dietrich @ camptocamp
Status: | Merged |
---|---|
Approved by: | Yannick Vaucher @ Camptocamp |
Approved revision: | 79 |
Merged at revision: | 73 |
Proposed branch: | lp:~camptocamp/account-budgeting/7.0-budget-add-allocation-resubmit-mdh |
Merge into: | lp:~account-core-editors/account-budgeting/7.0 |
Diff against target: |
242 lines (+121/-1) 6 files modified
budget/__openerp__.py (+2/-1) budget/analytic_view.xml (+1/-0) budget/budget_item.py (+12/-0) budget/budget_line.py (+81/-0) budget/budget_view.xml (+24/-0) budget/security/ir.model.access.csv (+1/-0) |
To merge this branch: | bzr merge lp:~camptocamp/account-budgeting/7.0-budget-add-allocation-resubmit-mdh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guewen Baconnier @ Camptocamp | code review | Approve | |
Yannick Vaucher @ Camptocamp | code review, no tests | Approve | |
Review via email: mp+199147@code.launchpad.net |
Commit message
Add allocation type on budget item
Description of the change
Resubmit of lp:~camptocamp/account-budgeting/7.0-budget-migr-add-allocation-nbi , with the latest lp:account-budgeting as base + fixed comments
To post a comment you must log in.
budget_line.py|21 col 1| F401 'datetime' imported but unused
budget_line.py|22 col 1| F401 'attrgetter' imported but unused
_sum_columns could get a better doc string to explain it updates the res dict parameter
l.146 extra space at "col 1" in comment it wouldn't work with split in the next list comprehension
BTW can't orderby accept string as "col1, col2 ASC, col3 DESC, col4" ?
l.150 ? :o)
Plus it will fail with an "out of range" exception with a groupby on which ASC or DESC is not defined
What about?
reverse = len(order[0]) == 2 and order[0][1] == 'DESC'
As if not specified means "ASC"