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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
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.
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
0
jun. 21
|
2157 | ||
|
0
mei 24
|
1706 | ||
|
0
mrt. 15
|
3918 | ||
|
1
mrt. 15
|
5494 | ||
|
3
aug. 25
|
1491 |