mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
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:
committed by
Enric Tobella
parent
88d38292f3
commit
ebce71569d
@@ -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'''
|
||||
|
||||
Reference in New Issue
Block a user