Hi Community,
See the error.
raise TypeError("Model %r does not exist in registry." % name)
TypeError: Model 'account.invoice.line' does not exist in registry.
Suggest me how to solve it.
Thanks in Advanced.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi Community,
See the error.
raise TypeError("Model %r does not exist in registry." % name)
TypeError: Model 'account.invoice.line' does not exist in registry.
Hi,
Try account.move.line instead of account.invoice.line .
Thanks
thanks @riyas but after replacing the account.move.line another error are occur
field = target._fields[name]
KeyError: 'invoice_id'
Change invoice_id to move_id
now another error occur is KeyError: 'date_invoice'
brother you will have lot of such issues while migration try to fix one by one rather than asking each and every one, see whats the changes, whats replaced by date_invoice in v13 and change code accordingly. It will help to improve your tech skills
Bro how we know that which field are changed in the v13 ?
we need to check all base code ?
You can open v12 and see where this field in corresponding model is placed, check the same place in v13 and see whats replaced.
ok brother thanks for valuable reply. vote+
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Apr 20
|
2620 | ||
|
0
Apr 20
|
9 | ||
|
1
Apr 20
|
2071 | ||
|
7
Dec 23
|
18377 | ||
|
2
Jan 20
|
2015 |