Last active
May 28, 2017 08:19
-
-
Save ilyasProgrammer/abfed79cbb51252fdbd9a101e5474de9 to your computer and use it in GitHub Desktop.
default_get доступные поля
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Что бы какие то поля родителя (рекорда инициирующего создание другого рекорда) были доступны их надо передавать в контексте: | |
<field name="lot_id" attrs="{'invisible': [('has_tracking', '=', 'none')]}" | |
context="{'product_id': product_id, 'lot_id': lot_id}"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment