i have to do it
The document is retrieved from the ir.attachment model, there are 2 logic:
1 / resource model = res.partner
2 / res_id = res_id of record
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
i have to do it
The document is retrieved from the ir.attachment model, there are 2 logic:
1 / resource model = res.partner
2 / res_id = res_id of record
When clicking on the button displays the list of all documents uploaded to that record
- Documents are taken from ir.attachment model, there are 2 logic:
1 / resource model = res.partner
2 / res_id = res_id of record
- Create a compute field for the button to count all uploaded documents.in odoo 11.that's my whole question
and t created :
<xpath expr="//field[@name='category_id']" position="after">
<field name="x_attachment_kh" widget="many2many_tags" context="{'default_res_id': active_id, 'default_res_model': active_id}"/>
</xpath>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Sorry but this is really too little information for anybody to help you. What version? What do you want? Where? What do you get now?
Please add more info.
When clicking on the button displays the list of all documents uploaded to that record
- Documents are taken from ir.attachment model, there are 2 logic:
1 / resource model = res.partner
2 / res_id = res_id of record
- Create a compute field for the button to count all uploaded documents.in odoo 11.that's my whole question
and t created :
<xpath expr="//field[@name='category_id']" position="after">
<field name="x_attachment_kh" widget="many2many_tags" context="{'default_res_id': active_id, 'default_res_model': active_id}"/>
</xpath>