How to to block the account move creation when purchase order receipt is confirmed?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
from odoo import models
class StockMove(models.Model):
_inherit = "stock.move"
def _account_entry_move(self):
""" Accounting Valuation Entries """
self.ensure_one()
if self._is_in():
return
else:
return super(StockMove, self)._account_entry_move()
Thanks
Please elaborate more on your business case. If you don't to manage your books wth Odoo, then do not install Accounting. If you want to use integrated accounting feature, then proper account moves are a basic necessity and in all jurisdictions I know of, the time of physical receipt or delivery or the time of establishing a contractual relationship is the relevant event for an accounting entry.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
cze 21
|
2069 | ||
|
0
maj 24
|
1632 | ||
|
0
mar 15
|
3840 | ||
|
1
mar 15
|
5402 | ||
|
2
maj 25
|
1945 |