Set a name_get method for wh_docs (IVA & ISLR)
Registered by
Juan Márquez
Add this code to upgrade wh_doc (IVA & ISLR)
models: account_wh_iva & islr_wh_doc
def name_get(self,cr, uid, ids, context):
if not len(ids):
return []
res = []
for item in self.browse(cr, uid, ids, context):
if item.number and item.state=='done':
else:
return res
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Low
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Juan Márquez
- Definition:
- New
- Series goal:
- None
- Implementation:
- Needs Code Review
- Milestone target:
- None
- Started by
- Juan Márquez
- Completed by
Related bugs
Sprints
Whiteboard
(?)