How can inherit CashBoxIn(CashBox)
the CashBox the class TransientModel .
when write this not work :
class CashBoxNew(CashBox):
_inherit = 'cash.box.in'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi Maysa,
Try following code:
from odoo.addons.point_of_sale.wizard.pos_box import PosBox
class PosBoxIn(PosBox):
_inherit = 'cash.box.in'
I did this:
from odoo.addons.account.wizard.pos_box import CashBox
class CashBoxIn(CashBox):
_inherit = 'cash.box.in'
Thank you so much Sudhir!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up