Merge lp://staging/~camptocamp/ocb-addons/lp1191036 into lp://staging/ocb-addons
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 9729 | ||||
Proposed branch: | lp://staging/~camptocamp/ocb-addons/lp1191036 | ||||
Merge into: | lp://staging/ocb-addons | ||||
Diff against target: |
34 lines (+4/-4) 2 files modified
account_analytic_analysis/account_analytic_analysis_view.xml (+2/-2) analytic_contract_hr_expense/analytic_contract_hr_expense_view.xml (+2/-2) |
||||
To merge this branch: | bzr merge lp://staging/~camptocamp/ocb-addons/lp1191036 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | code review | Approve | |
Maxime Chambreuil (http://www.savoirfairelinux.com) | code review | Approve | |
Stefan Rijnhart (Opener) | Needs Information | ||
Alexandre Fayolle - camptocamp | code review, no test | Approve | |
Review via email: mp+171050@code.staging.launchpad.net |
Description of the change
Prerequisite : You need to install project management + timesheet + activate invoicing on timesheet
From analytic account form view ->
Make the fields pricelist & invoicing type non-requiered when invisible. Theses fields are invisible for instance if the account type is normal (=analytic account)
My test :
I have create a analytical account with type contrat/project + ticked the checkbox 'on timesheet' (from invoicing table) -> then you can see 2 extra fields : pricelist & invoicing type. Then I select 100% invoicing for ex. and I save
I reopen the account and set to blank the invoicing rate ; change the analytic account type to 'analytic account' -> with this patch I can save it.
LGTM