I would like to link all my related payments and show them directly on the invoice journal they are related to.
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
2156
Views
1) Create a many2one field of type journal entries (x_studio_XXXX) on the payment model ... have this field pick up the value of the originating invoice (using a context action on the register payment button)
Context action:
{'default_x_studio_field_HDY5N': id}
2) On the invoice model, create a one2many field using the custom field you created in step 1
Video demo:
https://drive.google.com/file/d/17cMoNroiyxuqUKVe20CDSWcFpYGvJ0_g/view
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