Hello to all, 
On Odoo 14 I have developed a module that allows you to link articles to others. For example, in the record of item A, I fill in a field that says that I link item B and C with different quantities.  This means that when I enter an invoice and I select item A, 2 new lines are created with item B and C.
This works, but I am running into a problem. I want that when I change the quantity of item A, the quantities of B and C are updated. The problem is that not all the values of the created rows are accessible in my code, for example I don't have access to a "link code" field that allows me to link my B and C rows to my A row. 
Does anyone have an idea how to retrieve the values of the rows present in the treeview, but not yet in the database?
Thanks in advance ! 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
            
                2698
                
                    Переглядів
                
            
        
    Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|  | 0 квіт. 22  | 2837 | ||
|  | 1 серп. 21  | 3456 | ||
|  | 3 вер. 25  | 3350 | ||
|  | 0 серп. 25  | 865 | ||
|  | 1 серп. 25  | 3116 | 
