I have a rental_qty field (float) that exists in my sale.order.line which I use in the sale.order.form and I'd like to have its value shown on my account.invoice.form as well. But the field doesn't exist in the account.invoice.line model so it gives me an error "Field 'rental_qty' does not exist." What can I do to have them linked?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
1739
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
See you have a relation from account.invoice.line to sale.order.line , ie sale_line_ids
Hope the below sample code helps !!