Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
e84197b4
Commit
e84197b4
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
6866e11d
Changes
1
Show 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 @
e84197b4
...
...
@@ -2,8 +2,11 @@
accounting_transaction
=
context
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
:
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
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