-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
[9.0][ADD] stock account operating unit #21
[9.0][ADD] stock account operating unit #21
Conversation
cc @jbeficent @darshan-serpent |
ec4c07d
to
f82f9e9
Compare
err = True | ||
if move.location_id.usage != 'internal' \ | ||
and move.location_dest_id.usage == 'internal': | ||
err = True |
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.
The 2 checks above are identical, should one of them be move.location_id.usage == 'internal' and move.location_dest_id.usage != 'internal'
?
fb0339e
to
c3e311c
Compare
@@ -26,7 +26,7 @@ be self-balanced, and then indicate a self-balancing clearing account. | |||
* Go to *Settings / Companies / Configuration* and: | |||
** Set the "Operating Units are self-balanced" checkbox | |||
** Set the "Inter-OU Clearing" account in "Inter-operating unit clearing | |||
account" field. | |||
account" 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.
This was fine before the change. Continuing text must be aligned after the bullet and whitespace.
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.
Yes I think the same, but travis does not agree
3643457
to
2ef5868
Compare
Can you please take a look @lreficent @darshan-serpent ? |
2ef5868
to
bf95004
Compare
bf95004
to
1e3a0d3
Compare
[ADD] : Added Test Cases. [IMP] : Improved code for test cases [IMP] Migrated Valuation method of quants. [IMP] Migrated Valuation method _account_entry_move of quants. [UPT] migrate code and minor fixes [FIX] account move lines were not being correctly linked to the account move
1e3a0d3
to
d67bfeb
Compare
Sorry, not working anymore on this. |
Stock account with operating units
In the context of perpetual inventory (real time inventory valuation) this module creates journal entries when stock moves are posted between internal locations within the same company, but different OU’s.
Configuration
The journal entries will be created only if you have defined the product to be managed under real-time inventory valuation.
Usage
Create an Internal Transfer between two Locations that belong to different Operating Units. A journal entry will then be created, where the operating unit of the source location will be credited for the inventory valuation, at the product's cost, and the operating unit of the destination location will be debited.