Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Kunto
/
backoffice
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4ba74318
authored
Jul 30, 2019
by
Solo Group
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
pln
1 parent
7db32d78
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/agratek/api/merchant/views/vendor.py
src/agratek/api/merchant/views/vendor.py
View file @
4ba7431
...
@@ -46,8 +46,9 @@ class VendorClass(object):
...
@@ -46,8 +46,9 @@ class VendorClass(object):
self
.
response
=
None
self
.
response
=
None
self
.
vend_inv_no
=
invoice_det
and
invoice_det
.
vend_inv_no
or
None
self
.
vend_inv_no
=
invoice_det
and
invoice_det
.
vend_inv_no
or
None
self
.
status
=
invoice_det
and
invoice_det
.
status
or
0
self
.
status
=
invoice_det
and
invoice_det
.
status
or
0
if
hasattr
(
invoice_det
,
'serial_number'
):
self
.
serial_number
=
invoice_det
and
invoice_det
.
serial_number
or
None
self
.
serial_number
=
invoice_det
and
hasattr
(
invoice_det
,
'serial_number'
)
\
and
invoice_det
.
serial_number
or
None
def
save_log
(
self
,
typ
):
def
save_log
(
self
,
typ
):
# if not self.partner_log:
# if not self.partner_log:
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment