Skip to Content
Menu
This question has been flagged

I created a field in the contact card called "nit". I also inserted the "nit" field in the contact address form in the ecommerce module. But I can't get the value that I insert from the ecommerce address to be saved in the contact card. At the most I managed to show me the value that it has saved in the client's file, but not edit it. This is the code I put in the address management of the website_sale.address view:

 <form action="/shop/address" method="post" class="checkout_autoformat">
                                <div class="form-row">

.

.

.

<div t-attf-class="form-group #{error.get('nit_ci') and 'o_has_error' or ''} col-lg-6">
                                        <label class="col-form-label" for="nit_ci">nit_ci</label>
                                        <input type="nit_ci" name="nit_ci" t-attf-class="form-control #{error.get('nit_ci') and 'is-invalid' or ''}" t-att-value="'nit_ci' in checkout and checkout['nit_ci']"/>
                                    </div>





Avatar
Discard
Related Posts Replies Views Activity
5
Oct 23
14115
2
Sep 21
4311
0
Jun 20
1624
5
May 20
3476
1
Jul 19
2036