Skip to content

Commit

Permalink
[FIX] Fixed Issue OCA#291
Browse files Browse the repository at this point in the history
  • Loading branch information
nikul-serpentcs authored and BT-aleonard committed May 11, 2023
1 parent ad413f1 commit 6c4bfa7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions purchase_operating_unit/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Contributors
* Aaron Henriquez <[email protected]>
* Sudhir Arya <[email protected]>
* Nicola Studer <[email protected]>
* Nikul Chaudhary <[email protected]>

Maintainers
~~~~~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions purchase_operating_unit/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
* Aaron Henriquez <[email protected]>
* Sudhir Arya <[email protected]>
* Nicola Studer <[email protected]>
* Nikul Chaudhary <[email protected]>
1 change: 1 addition & 0 deletions purchase_operating_unit/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ <h2><a class="toc-backref" href="#id6">Contributors</a></h2>
<li>Aaron Henriquez &lt;<a class="reference external" href="mailto:aheficent&#64;eficent.com">aheficent&#64;eficent.com</a>&gt;</li>
<li>Sudhir Arya &lt;<a class="reference external" href="mailto:sudhir.arya&#64;serpentcs.com">sudhir.arya&#64;serpentcs.com</a>&gt;</li>
<li>Nicola Studer &lt;<a class="reference external" href="mailto:nicola.studer&#64;braintec-group.com">nicola.studer&#64;braintec-group.com</a>&gt;</li>
<li>Nikul Chaudhary &lt;<a class="reference external" href="mailto:nikul.chaudhary.serpentcs&#64;gmail.com">nikul.chaudhary.serpentcs&#64;gmail.com</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def setUp(self):
self.StockPicking = self.env["stock.picking"]
self.PurchaseOrder = self.env["purchase.order"]
self.AccountInvoice = self.env["account.move"]
self.AccountAccount = self.env["account.account"]
# company
self.company1 = self.env.ref("base.main_company")
self.company2 = self.env.ref("stock.res_company_1")
Expand All @@ -32,7 +33,10 @@ def setUp(self):
self.product2 = self.env.ref("product.product_product_9")
self.product3 = self.env.ref("product.product_product_11")
# Account
self.account = self.env.ref("l10n_generic_coa.payable")
payable_acc_type = self.env.ref("account.data_account_type_payable").id
self.account = self.AccountAccount.search(
[("user_type_id", "=", payable_acc_type)], limit=1
)
# Create users
self.user1_id = self._create_user(
"user_1",
Expand Down

0 comments on commit 6c4bfa7

Please sign in to comment.