2016-05-04 39 views
-1

私はメインのXMLは、これは1メンバーにフィールドを保存するにはどうすればいいですか?

https://jsfiddle.net/NadirB21/ubtvkfc4/ 

[スペース] http://img15.hostingpics.net/pics/966482shop.png [/ IMG]

私が追加され

ショップ形式でフィールド誕生日を追加したいお店のフォームの改善

<div t-attf-class="form-group #{error.get('birthdate') and 'has-error' or ''} col-lg-6"> 
    <label class="control-label" for="birthdate">Birthdate</label> 
    <input type="text" name="birthdate" class="form-control" t-att-value="checkout.get('birthdate')"/> 
</div> 

と私は

を追加モジュール部材で

<div t-attf-class="form-group #{error.get('shipping_birthdate') and 'has-error' or ''} col-lg-6"> 
    <label class="control-label" for="shipping_birthdate" style="font-weight: normal"> Date De Naissance</label> 
    <input type="text" name="shipping_birthdate" class="form-control" t-att-value="checkout.get('shipping_birthdate', '')" t-att-readonly=" 'readonly' if shipping_id &gt;= 0 else ''"/> 
</div> 

Iはまた、アクティブこのフィールド

[IMG] http://img15.hostingpics.net/pics/455128modulenotsave.png [/ IMG]

iが店を確認すると、フィールドは、で表示されていません確認フォームとそれはモジュールのメンバーで作成されていません。 モジュールメンバーにこのフィールドを保存する目的で追加する必要があるのは何ですか?

答えて

0

問題を説明するために画像を追加します。 モジュールメンバーとショップフォームの間に相互作用の問題があります。

関連する問題