[IMP]CRM Action : now lead_id depends on partner_id

This commit is contained in:
Fabien BOURGEOIS 2017-11-23 07:29:10 +01:00
parent d084de7a4f
commit e007776837
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,7 @@
{
'name': 'CRM Actions',
'summary': 'Action management, instead of new activity, in CRM',
'version': '10.0.1.2.2',
'version': '10.0.1.2.3',
'category': 'Sales',
'author': 'Fabien BOURGEOIS - Yaltik',
'license': 'AGPL-3',

View File

@ -44,8 +44,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
attrs="{'invisible': [('event_id', '=', False)]}" />
<field name="priority" widget="priority" />
<field name="details" width="200" />
<field name="lead_id" />
<field name="partner_id" />
<field name="lead_id" domain="[('partner_id', '=', partner_id)]"
help="Lead for this action, depends on partner" />
<field name="user_id" />
</group>
</sheet>