Skip to content

Commit

Permalink
No assignar pòlisses cancelades/baixa al servei de generacio
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcCalvoC committed Dec 3, 2024
1 parent 8e667be commit e98761b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions som_auvidi/wizard/wizard_load_servei_gen_records_from_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,6 @@ class WizardLoadServeiGenRecordsFromFile(osv.osv_memory):
_name = 'wizard.load.servei.gen.records.from.file'
_inherit = 'wizard.load.servei.gen.records.from.file'

def get_polissa_from_record_data(self, cursor, uid, cups_name, data, context=None):
if context is None:
context = {}

pol_obj = self.pool.get('giscedata.polissa')

ctx = context.copy()
ctx.update({'active_test': False})
polissa_id = pol_obj.search(cursor, uid, [
('cups.name', '=', cups_name),
], order='id desc', context=ctx)

return polissa_id

def get_aux_dict_from_row(self, cursor, uid, row, tipus='contracte', context=None):
if context is None:
context = {}
Expand Down

0 comments on commit e98761b

Please sign in to comment.