Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
repanier
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chris
repanier
Commits
422696fb
Commit
422696fb
authored
Apr 19, 2017
by
Patrick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work in progress
parent
6d8d471e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
repanier/xlsx/xlsx_invoice.py
repanier/xlsx/xlsx_invoice.py
+5
-0
No files found.
repanier/xlsx/xlsx_invoice.py
View file @
422696fb
...
...
@@ -390,6 +390,11 @@ def import_invoice_sheet(worksheet, invoice_reference=None,
reference
=
product_reference
,
)
product
.
long_name
=
row
[
_
(
"Product"
)]
# The producer unit price is the imported customer unit price
# If the group get a reduction, this one must be mentionned into the producer admin screen
# into the "price_list_multiplier" field
product
.
producer_unit_price
=
row
[
_
(
"customer unit price"
)]
product
.
unit_deposit
=
row
[
_
(
"deposit"
)]
product
.
order_unit
=
order_unit
product
.
vat_level
=
vat_level
product
.
save
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment