Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
dee0106a
Commit
dee0106a
authored
May 12, 2018
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_real_time_inventory_accounting: Set AT reference to PL.getReference().
parent
91d4b705
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
bt5/erp5_real_time_inventory_accounting/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting/AccountingTransaction_postInventoryAssetPriceGeneration.py
...ccountingTransaction_postInventoryAssetPriceGeneration.py
+5
-2
No files found.
bt5/erp5_real_time_inventory_accounting/SkinTemplateItem/portal_skins/erp5_real_time_inventory_accounting/AccountingTransaction_postInventoryAssetPriceGeneration.py
View file @
dee0106a
...
@@ -2,8 +2,11 @@
...
@@ -2,8 +2,11 @@
accounting_transaction
=
context
accounting_transaction
=
context
related_packing_list
=
accounting_transaction
.
getDefaultCausalityValue
()
related_packing_list
=
accounting_transaction
.
getDefaultCausalityValue
()
if
not
accounting_transaction
.
hasTitle
()
and
related_packing_list
is
not
None
and
related_packing_list
.
hasTitle
():
if
related_packing_list
is
not
None
:
accounting_transaction
.
setTitle
(
related_packing_list
.
getTitle
())
if
not
accounting_transaction
.
hasTitle
()
and
related_packing_list
.
hasTitle
():
accounting_transaction
.
setTitle
(
related_packing_list
.
getTitle
())
if
not
accounting_transaction
.
hasReference
()
and
related_packing_list
.
hasReference
():
accounting_transaction
.
setReference
(
related_packing_list
.
getReference
())
resource
=
None
resource
=
None
ledger
=
None
ledger
=
None
...
...
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