project_billing_utils: dissociate invoice wizard uses SQL and that breaks triggers in module analytic_hours_block
Bug #1266850 reported by
Leonardo Pistone
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Project Management - Invoicing and Reporting |
Fix Released
|
Undecided
|
Leonardo Pistone |
Bug Description
To reproduce:
in 7.0, install analytic_
- Create an invoice with a analytic account and confirm it.
- create an hour block associated to the invoice.
- create an analytic line on the same analytic account, analytic journal of type General (i.e. Timesheet Journal).
- Use the Associate wizard introduced in project_
- Check that in the hour block the time spent is updated.
- Now use the Dissociate wizard, again from project_
- Check in the block: the line is still counted as worked.
Thanks
Related branches
lp:~camptocamp/project-reporting/7.0-fix-dissociate-lep
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
- Matthieu Dietrich @ camptocamp (community): Approve (code review, test)
- Guewen Baconnier @ Camptocamp: Approve (code review)
-
Diff: 133 lines (+67/-17)3 files modifiedproject_billing_utils/__init__.py (+3/-2)
project_billing_utils/analytic.py (+46/-0)
project_billing_utils/wizard/dissociate_aal.py (+18/-15)
Changed in project-reporting: | |
assignee: | nobody → Leonardo Pistone @ camptocamp (lpistone) |
Changed in project-reporting: | |
status: | New → Fix Committed |
Changed in project-reporting: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.