By clicking on it the same way in the invoice lines ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
HI,
You can do the same by adding editable="bottom".
E.g.:
<field name="invoice_line">
<tree string="Invoice lines" editable="bottom">
<field name="sequence" widget="handle" />
<field name="name"/>
</tree>
</field>
Great Nehal, i had been trying to find that answer before. I have tried your suggestion on the "stock.move.tree" for the Delivery Orders product trew view, it works and accomplishes what I wanted somehow, but now I get an error when I try to add a new item to the Delivery Order:
Error: Could not get field with name 'product_id' for onchange 'onchange_quantity(product_id, product_qty, product_uom, product_uos)'
Any idea why I get that?
Also, with the solution you provided the Stock Move Form is not availible anymore for the move lines (same as with Invoice lines)....do you know if it's possible to have a "hybrid" solution, making the lines in tree view editable and at the same time be able to open the move line form?
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
mars 15
|
4893 | ||
|
0
mars 15
|
4039 | ||
|
2
mars 15
|
31054 | ||
|
1
mars 15
|
11019 | ||
|
1
mars 15
|
12116 |