Add group in order to mask the fields for "Original Mandate Indentification" for user

s in countries that don't required it.
Add tracking on important fields of the mandate.
Better form view on company.
Update constraint on mandate following my devs on "Original Mandate Identification".
This commit is contained in:
Alexis de Lattre
2013-12-16 00:46:50 +01:00
committed by Enric Tobella
parent 88d38292f3
commit ebce71569d

View File

@@ -38,10 +38,7 @@ class res_company(orm.Model):
self, cr, uid, company_id, context=None):
'''This function is designed to be inherited by localization modules'''
assert isinstance(company_id, int), 'Only one company ID'
# TODO REMOOOOOOOOOOOOOOOOOOOVE BEFORE COMMIT
return self.browse(cr, uid, company_id).partner_id.vat
#return False
return False
def _initiating_party_issuer_default(self, cr, uid, context=None):
'''This function is designed to be inherited by localization modules'''