-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[14.0][ADD] connector_oxigesti: export manufacturing and unbuild orders #301
base: 14.0
Are you sure you want to change the base?
[14.0][ADD] connector_oxigesti: export manufacturing and unbuild orders #301
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 14.0 #301 +/- ##
==========================================
- Coverage 46.37% 46.35% -0.03%
==========================================
Files 778 785 +7
Lines 13628 13824 +196
Branches 2984 3024 +40
==========================================
+ Hits 6320 6408 +88
- Misses 7143 7253 +110
+ Partials 165 163 -2 ☔ View full report in Codecov by Sentry. |
ba942a8
to
865b196
Compare
865b196
to
45be0b4
Compare
cf78fd1
to
f80e2c3
Compare
mssql_type_map = {} | ||
for k, v in self.PYTHON_TYPE_MAP.items(): | ||
for t in v: | ||
mssql_type_map[t] = k |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if "t" is already in mssql_type_map, ValidationError if is
# check if schema exists to avoid injection | ||
schema_exists = self._exec_sql( | ||
"select 1 from sys.schemas where name=%s", (self.schema,) | ||
) | ||
if not schema_exists: | ||
raise pymssql.InternalError("The schema %s does not exist" % self.schema) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove these lines, this is covered by the cursor execution itself.
raise ValidationError( | ||
_("Unexpected type %s for field %s") % (ttype, field) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put this line as a first if
f80e2c3
to
8199e91
Compare
02f0896
to
35eadd1
Compare
0f77b6f
to
8a2795a
Compare
8a2795a
to
50cee39
Compare
50cee39
to
8ebb248
Compare
…rence isn't informed
…hes the column type of the binding
…o_Orden_Produccion
8ebb248
to
1960b75
Compare
No description provided.