Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
rockscripts committed May 1, 2020
1 parent 3ec23f8 commit f38bf27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions static/src/css/frontend.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ form.checkout_autoformat input[name="name"], form.checkout_autoformat label[for=
{
margin-top: 5px;
}
.div_zip, .div_city
{
display: none!important;
}
.div_state
{display: block!important;}
5 changes: 4 additions & 1 deletion static/src/js/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ odoo.define('module.DianInvoice', function(require) {
var itv = setInterval(function()
{
if($("form.checkout_autoformat").length>0)
{
{
$(".div_zip").remove()
$('#country_id option[value="Colombia"]');
$('input[name="city"]').val("not_needed")
init_xcity_selection()

$(document).on("blur", "input[name='xidentification']", function()
Expand Down

0 comments on commit f38bf27

Please sign in to comment.