The source project of this merge request has been removed.
think in the next context:
1.- Multicompany environment 2.- The invoice is created from duplicating other one 3.- The current user and the user who created the other invoice are different and are logged in different companies
Thus OpeneERP will crash with permision problem "You cannot read company_id action read ..."
133 | 133 | |
134 | 134 | _defaults = { |
135 | 135 | 'state': 'draft', |
136 | 'company_id': lambda self, cr, uid, c: | |
Please register or sign in to reply |
Status changed to merged