forked from Yaltik/golem
[FIX]GOLEM Resource Option : should not see other options on own definition list on ressource form
This commit is contained in:
parent
350ff3e52a
commit
f710947771
@ -22,7 +22,7 @@
|
||||
'description': ''' GOLEM resources options management :
|
||||
- create 1:n options per resource ;
|
||||
- choose option on reservations ''',
|
||||
'version': '10.0.0.1.0',
|
||||
'version': '10.0.0.1.1',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Youssef El Ouahby, Fabien Bourgeois',
|
||||
'license': 'AGPL-3',
|
||||
|
@ -27,6 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_tmpl_id" position="after">
|
||||
<field name="option_ids" widget="many2many_tags"
|
||||
domain="[('resource_id', '=', active_id)]"
|
||||
context="{'default_resource_id': active_id}" />
|
||||
</field>
|
||||
</field>
|
||||
|
Loading…
Reference in New Issue
Block a user