Skip to content
Browse files

fixup [MOV] sale_project_timesheet: extract reinvoicing timesheet fro…

…m pro
  • Loading branch information...
jem-odoo committed Mar 20, 2019
1 parent aa92680 commit 7a390f5b64c4496a675b67313ec446228a3531e2
Showing with 6 additions and 0 deletions.
  1. +6 −0 addons/sale_project_timesheet/models/
@@ -43,6 +43,12 @@ def _compute_project_ids(self):
projects |= order.project_id
order.project_ids = projects

def _onchange_project_id(self):
""" Set the SO analytic account to the selected project's analytic account """
if self.project_id.analytic_account_id:
self.analytic_account_id = self.project_id.analytic_account_id

def _action_confirm(self):
""" On SO confirmation, some lines should generate a task or a project. """

0 comments on commit 7a390f5

Please sign in to comment.
You can’t perform that action at this time.